python-exceptiongroup needs to be removed from depends
Only required when python_version<"3.11"
Git Clone URL: | https://aur.archlinux.org/streamlink-git.git (read-only, click to copy) |
---|---|
Package Base: | streamlink-git |
Description: | CLI program that launches streams from various streaming services in a custom video player (livestreamer fork) |
Upstream URL: | https://streamlink.github.io/ |
Keywords: | fork livestreamer streamlink |
Licenses: | BSD |
Conflicts: | streamlink |
Provides: | streamlink |
Submitter: | metak |
Maintainer: | metak |
Last Packager: | metak |
Votes: | 15 |
Popularity: | 0.000003 |
First Submitted: | 2016-10-01 08:18 (UTC) |
Last Updated: | 2024-06-29 19:50 (UTC) |
python-exceptiongroup needs to be removed from depends
Only required when python_version<"3.11"
python-exceptiongroup no longer exists
The PKGBUILD requires an update with python-exceptiongroup
being added to depends
.
The PKGBUILD's check()
hook will fail though until python-pytest
has been bumped to >=8.0.0
in the "Extra" repo. This is currently blocked because of python-pytest-asyncio
whose current version is incompatible with pytest 8. Even though newer versions of pytest-asyncio are available, its package in Arch's "Extra" repo hasn't been bumped yet because of a build error. I've submitted a merge request on Arch's GitLab with a bugfix and bump, so that the latest python-pytest-asyncio
package can be built and published, and then python-pytest
be bumped to 8.x
afterwards.
Until the pytest packaging issue has been resolved, --nocheck
needs to be set when building the streamlink-git
PKGBUILD.
edit:
The pytest packaging issues have been resolved and python-pytest 1:8.1.1-1
is now available
Getting this test failure, even on a fresh Arch install
================================================== FAILURES ==================================================
___________________________________ TestUtilsParse.test_parse_html_xhtml5 ____________________________________
self = <tests.utils.test_parse.TestUtilsParse object at 0x7f741bc1f190>
def test_parse_html_xhtml5(self):
tree = parse_html("""<?xml version="1.0" encoding="UTF-8"?><!DOCTYPE html><html><body>ä?></body></html>""")
assert tree.xpath(".//body/text()") == ["ä?>"]
tree = parse_html(b"""<?xml version="1.0" encoding="UTF-8"?><!DOCTYPE html><html><body>\xC3\xA4?></body></html>""")
> assert tree.xpath(".//body/text()") == ["ä?>"]
E AssertionError: assert ['ä?>'] == ['ä?>']
E At index 0 diff: 'ä?>' != 'ä?>'
E Use -v to get more diff
tests/utils/test_parse.py:101: AssertionError
========================================== short test summary info ===========================================
FAILED tests/utils/test_parse.py::TestUtilsParse::test_parse_html_xhtml5 - AssertionError: assert ['ä?>'] == ['ä?>']
================================ 1 failed, 6275 passed, 31 skipped in 19.47s =================================
==> ERROR: A failure occurred in check().
Aborting...
error: failed to build 'streamlink-git-6.3.1.r10.g256800be-1':
error: packages failed to build: streamlink-git-6.3.1.r10.g256800be-1
I had to install python-trio
, python-pytest-trio
, and python-trio-websocket
to get this to build correctly.
FYI in case this is relevant to anyone here: had issues this morning updating my system due to a dependency problem with python-sphinx_design. I manually edited the PKGBUILD and changed the depends for python-sphinx to <7
depends=('python-sphinx<7')
I struggled to find out why the twitch stream with vlc was broken. Turned out that this package needs to be installed: aribb24
It is this bug which somehow is not yet fixed: https://bugs.archlinux.org/task/60024
Confirmed installing python-sphinx_design resolved that error for me.
Now I get this error:
Could not import extension sphinx_design (exception: No module named 'sphinx_design')
Maybe python-sphinx_design is needed.
Btw i found the issue it was a package in the directories of the user .. aka pip --user screwed it up Thanks for the helping hand.
Pinned Comments