diff --git a/pkgs/development/python-modules/reactivex/default.nix b/pkgs/development/python-modules/reactivex/default.nix index af91ed442274..84cb4db4283a 100644 --- a/pkgs/development/python-modules/reactivex/default.nix +++ b/pkgs/development/python-modules/reactivex/default.nix @@ -2,10 +2,10 @@ lib, buildPythonPackage, fetchFromGitHub, + fetchpatch, poetry-core, pytest-asyncio, pytestCheckHook, - pythonAtLeast, typing-extensions, }: @@ -14,9 +14,6 @@ buildPythonPackage rec { version = "4.1.0"; pyproject = true; - # https://github.com/ReactiveX/RxPY/issues/737 - disabled = pythonAtLeast "3.14"; - src = fetchFromGitHub { owner = "ReactiveX"; repo = "RxPY"; @@ -24,6 +21,15 @@ buildPythonPackage rec { hash = "sha256-napPfp72gqy43UmkPu1/erhjmJbZypHZQikmjIFVBqA="; }; + patches = [ + # Upstream PR: https://github.com/ReactiveX/RxPY/pull/728 + (fetchpatch { + name = "python-3.14.patch"; + url = "https://github.com/ReactiveX/RxPY/commit/78f4a594ca2b0e27ad93ec0e1b1c0d56d5d6540d.patch"; + hash = "sha256-1GQm/4BTd5ZnIqfEUSb0Ja3w0y1R9EoFpzwua7gpIzo="; + }) + ]; + build-system = [ poetry-core ]; dependencies = [ typing-extensions ]; diff --git a/pkgs/servers/home-assistant/tests.nix b/pkgs/servers/home-assistant/tests.nix index db2118b87ef1..aad0d44fd0d6 100644 --- a/pkgs/servers/home-assistant/tests.nix +++ b/pkgs/servers/home-assistant/tests.nix @@ -172,6 +172,13 @@ let # outdated snapshot "tests/components/hypontech/test_sensor.py::test_sensors" ]; + influxdb = [ + # These tests fail because they check for the number of warnings in the + # logs and there is an extra warning in the logs: + # `WARNING:aiohttp_fast_zlib:zlib_ng and isal are not available, falling back to zlib, performance will be degraded.` + "tests/components/influxdb/test_sensor.py::test_state_for_no_results" + "tests/components/influxdb/test_sensor.py::test_state_matches_first_query_result_for_multiple_return" + ]; jellyfin = [ # AssertionError: assert 'audio/x-flac' == 'audio/flac' "tests/components/jellyfin/test_media_source.py::test_resolve"