Skip to content

Conversation

@bastimeyer
Copy link
Member

The Python 3.14 Linux runner was temporarily removed in #6561 because pytest hang for over an hour and then the runner got killed, as it expired. Let's see if it's working again.

Also let's add the Windows runner, with matching temp wheels of Streamlink's binary dependencies.

@bastimeyer
Copy link
Member Author

Both are failing... great...

https://github.com/streamlink/streamlink/actions/runs/15934327543/job/44950603303?pr=6589#step:7:55
https://github.com/streamlink/streamlink/actions/runs/15934327543/job/44950603286?pr=6589#step:7:54

tests/test_plugin.py ..............................FFFFFFEEEEEFFFFFFFFFF [ 12%]
FFFFFFFF                                                                 [ 12%]
tests/test_plugin_userinput.py EEEE                                      [ 12%]
tests/test_streamlink_api.py FFFFF                                       [ 12%]
tests/test_validate.py FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF [ 13%]

@bastimeyer
Copy link
Member Author

The Windows runner printed an error log after it got cancelled...

Looks like the issue is the monkeypatching of builtins.repr that breaks and which doesn't get reset, breaking all following tests:

def test_decorator_typeerror(self):
with patch("builtins.repr", Mock(side_effect=lambda obj: obj.__name__)):
with pytest.raises(TypeError) as cm:
# noinspection PyUnusedLocal
@pluginargument("foo")
class Foo:
pass
assert str(cm.value) == "Foo is not a Plugin"

@bastimeyer bastimeyer merged commit ba6959c into streamlink:master Jun 27, 2025
25 checks passed
@bastimeyer bastimeyer deleted the ci/github/cp314 branch June 27, 2025 19:51
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant