public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
* [rpms/python-streamlink] f43: Update to 8.6.2
@ 2026-10-24 5:54 Mohamed El Morabity
0 siblings, 0 replies; only message in thread
From: Mohamed El Morabity @ 2026-10-24 5:54 UTC (permalink / raw)
To: git-commits
A new commit has been pushed.
Repo : rpms/python-streamlink
Branch : f43
Commit : e3d9fae04ee1e8ec06bb22edc823ae847a1a2795
Author : Mohamed El Morabity <melmorabity@fedoraproject.org>
Date : 2026-10-24T07:54:12+02:00
Stats : +23/-80 in 6 file(s)
URL : https://src.fedoraproject.org/rpms/python-streamlink/c/e3d9fae04ee1e8ec06bb22edc823ae847a1a2795?branch=f43
Log:
Update to 8.6.2
---
diff --git a/.gitignore b/.gitignore
index d06f34a..b1c971c 100644
--- a/.gitignore
+++ b/.gitignore
@@ -58,3 +58,4 @@
/streamlink-8.1.0.tar.gz
/streamlink-8.2.1.tar.gz
/streamlink-8.4.0.tar.gz
+/streamlink-8.6.2.tar.gz
diff --git a/python-streamlink-8.1.0-documentation.patch b/python-streamlink-8.1.0-documentation.patch
deleted file mode 100644
index e3e3ec9..0000000
--- a/python-streamlink-8.1.0-documentation.patch
+++ /dev/null
@@ -1,29 +0,0 @@
-diff -up ./docs/conf.py.orig ./docs/conf.py
---- ./docs/conf.py.orig 2025-12-14 19:07:02.000000000 +0100
-+++ ./docs/conf.py 2026-01-03 15:03:59.621995745 +0100
-@@ -155,3 +155,5 @@ man_pages = [
- ]
-
- man_make_section_directory = False
-+
-+intersphinx_mapping.clear()
-diff -up ./script/build-shell-completions.sh.orig ./script/build-shell-completions.sh
---- ./script/build-shell-completions.sh.orig 2025-12-14 19:07:02.000000000 +0100
-+++ ./script/build-shell-completions.sh 2026-01-03 15:04:32.270782978 +0100
-@@ -13,14 +13,14 @@ declare -A COMPLETIONS=(
- )
-
- for dep in "${PYTHON_DEPS[@]}"; do
-- python -c "import ${dep}" 2>&1 >/dev/null \
-+ python3 -c "import ${dep}" 2>&1 >/dev/null \
- || { echo >&2 "${dep} could not be found in your python environment"; exit 1; }
- done
-
- for shell in "${!COMPLETIONS[@]}"; do
- mkdir -p "${DIST}/${shell}"
- dist="${DIST}/${shell}/${COMPLETIONS[${shell}]}"
-- python -m shtab \
-+ python3 -m shtab \
- "--shell=${shell}" \
- --error-unimportable \
- streamlink_cli._parser.get_parser \
diff --git a/python-streamlink-8.4.0-python3.15_tests.patch b/python-streamlink-8.4.0-python3.15_tests.patch
deleted file mode 100644
index bdc9a51..0000000
--- a/python-streamlink-8.4.0-python3.15_tests.patch
+++ /dev/null
@@ -1,12 +0,0 @@
-diff -up ./tests/cli/main/test_logging.py.python315 ./tests/cli/main/test_logging.py
---- ./tests/cli/main/test_logging.py.python315 2026-06-25 23:00:10.856593364 +0200
-+++ ./tests/cli/main/test_logging.py 2026-06-25 23:00:10.958338825 +0200
-@@ -665,7 +665,7 @@ class TestPrint:
- @pytest.fixture()
- def _color(self, request: pytest.FixtureRequest, monkeypatch: pytest.MonkeyPatch):
- can_colorize = getattr(request, "param", False)
-- monkeypatch.setattr("_colorize.can_colorize", lambda: can_colorize)
-+ monkeypatch.setattr("_colorize.can_colorize", lambda *args, **kwargs: can_colorize)
-
- @pytest.fixture()
- def stdout(self, monkeypatch: pytest.MonkeyPatch, capsys: pytest.CaptureFixture, session: Streamlink):
diff --git a/python-streamlink-8.4.0-urllib3-2.8.0.patch b/python-streamlink-8.4.0-urllib3-2.8.0.patch
deleted file mode 100644
index 4774369..0000000
--- a/python-streamlink-8.4.0-urllib3-2.8.0.patch
+++ /dev/null
@@ -1,25 +0,0 @@
---- src/streamlink/session/http.py.orig 2026-05-06 19:13:45.000000000 +0100
-+++ src/streamlink/session/http.py 2026-09-18 21:24:24.151241959 +0100
-@@ -55,14 +55,17 @@ class Urllib3UtilUrlPercentReOverride:
- # noinspection PyProtectedMember
- _re_percent_encoding: re.Pattern = urllib3.util.url._PERCENT_RE # type: ignore[attr-defined, ty:unresolved-attribute]
-
-+ def __getattr__(self, item):
-+ return getattr(self._re_percent_encoding, item)
-+
-+ # via `_encode_invalid_chars()`:
-+ # https://github.com/urllib3/urllib3/blob/2.8.0/src/urllib3/util/url.py#L303-L305
- # noinspection PyUnusedLocal
-- # https://github.com/urllib3/urllib3/blob/2.0.0/src/urllib3/util/url.py#L241-L243
-- @classmethod
-- def subn(cls, repl: Any, string: str, count: Any = None) -> tuple[str, int]:
-- return string, len(cls._re_percent_encoding.findall(string))
-+ def subn(self, repl: Any, string: str, count: Any = None) -> tuple[str, int]:
-+ return string, len(self._re_percent_encoding.findall(string))
-
-
--urllib3.util.url._PERCENT_RE = Urllib3UtilUrlPercentReOverride # type: ignore[attr-defined, ty:unresolved-attribute]
-+urllib3.util.url._PERCENT_RE = Urllib3UtilUrlPercentReOverride() # type: ignore[attr-defined, ty:unresolved-attribute]
-
-
- # Monkey-patch urllib3's set_socket_options,
diff --git a/python-streamlink.spec b/python-streamlink.spec
index ad685d7..8eb914a 100644
--- a/python-streamlink.spec
+++ b/python-streamlink.spec
@@ -7,23 +7,16 @@ who want access to the video stream data. This project was forked from
Livestreamer, which is no longer maintained.}
Name: python-%{srcname}
-Version: 8.4.0
-Release: 2%{?dist}
+Version: 8.6.2
+Release: 1%{?dist}
Summary: Python library for extracting streams from various websites
# src/streamlink/packages/requests_file.py is Apache-2.0
License: BSD-2-Clause AND Apache-2.0
URL: https://streamlink.github.io
Source0: %{pypi_source %{srcname}}
-# Fix documentation build
-Patch0: %{name}-8.1.0-documentation.patch
# Fix tests with pytest < 8.4.0 (F43)
-Patch1: %{name}-8.1.0-pytest_8.3.patch
-# Fix tests with Python 3.15 argparse colorization API
-Patch2: %{name}-8.4.0-python3.15_tests.patch
-# session.http: fix urllib3 2.8.0 compatibility
-# https://github.com/streamlink/streamlink/commit/8f276a3362a2b9fbe3b3d822673524bbd0e95a32
-Patch3: python-streamlink-8.4.0-urllib3-2.8.0.patch
+Patch0: %{name}-8.1.0-pytest_8.3.patch
BuildRequires: make
BuildRequires: python3-devel
# For easy patching of pyproject.toml
@@ -80,19 +73,31 @@ tomcli set pyproject.toml arrays replace "project.dependencies" "(pycryptodome)(
# Drop useless dependencies (only needed for building the HTML documentation)
tomcli set pyproject.toml arrays delitem "dependency-groups.docs" "furo\s*[><=]+.*"
+# Allow shtab < 1.9.0, as shtab >= 1.9.0 (required for fish completion) is not
+# available in Fedora yet, and drop the pre-built fish completion file
+tomcli set pyproject.toml arrays replace "dependency-groups.script" "(shtab)\s*[><=]+.*" "\1"
+rm -r completions/fish/
+
+# Allow Sphinx 9 (sphinx-doc/sphinx#14332 only affects the HTML documentation)
+%if 0%{?fedora} > 44
+tomcli set pyproject.toml arrays replace "dependency-groups.docs" "(sphinx\s*>=[^,]+),\s*<9" "\1"
+%endif
+
%generate_buildrequires
-%pyproject_buildrequires -g test -g build -g docs
+%pyproject_buildrequires -g test,docs,script
%build
%pyproject_wheel
# Generate man pages
-PYTHONPATH=$PWD/src %make_build -C docs/ man SPHINXOPTS=-j%{?_smp_build_ncpus}
+PYTHONPATH=$PWD/src %make_build -C docs/ man SPHINXOPTS=-j%{?_smp_build_ncpus} SPHINXTAGS="-t no_intersphinx"
# Generate shell completion files
-PYTHONPATH=$PWD/src ./script/build-shell-completions.sh
+# TODO: drop the shell list (and the shtab/fish workarounds in %%prep) once
+# shtab >= 1.9.0 is available in Fedora
+PYTHONPATH=$PWD/src %{python3} script/build-shell-completions.py bash zsh
%install
@@ -127,6 +132,9 @@ install -Dpm 0644 -t $RPM_BUILD_ROOT%{zsh_completions_dir} completions/zsh/_%{sr
%changelog
+* Sat Oct 24 2026 Mohamed El Morabity <melmorabity@fedoraproject.org> - 8.6.2-1
+- Update to 8.6.2
+
* Fri Sep 18 2026 Benjamin A. Beasley <code@musicinmybrain.net> - 8.4.0-2
- Backport fix for urllib 2.8.0 compatibility
diff --git a/sources b/sources
index 67f835a..92638f3 100644
--- a/sources
+++ b/sources
@@ -1 +1 @@
-SHA512 (streamlink-8.4.0.tar.gz) = 12061b16b80efec7de1d92fb83b556fa14aac34c6dccab077f133656576ee9b20c8c497b8f03cc4aeae51b8c90a610c26694e56256d88ac8925b157f1f717115
+SHA512 (streamlink-8.6.2.tar.gz) = 30914b84713c1a2ed1e34188fdc313583b27013e0c208920d6dcc8f6bdea07f7c8be86f20acd84a08da8094f69d12db6cfcb79bbd2c4239df5c36eb1b92271a0
^ permalink raw reply related [flat|nested] only message in thread
only message in thread, other threads:[~2026-10-24 5:54 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-10-24 5:54 [rpms/python-streamlink] f43: Update to 8.6.2 Mohamed El Morabity
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox