python3Packages.reactivex: support python 3.14 (#508007)

This commit is contained in:
Michael Daniels
2026-04-26 00:56:46 +00:00
committed by GitHub
2 changed files with 17 additions and 4 deletions
@@ -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 ];
+7
View File
@@ -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"