python312Packages.rx: update disable test reason (#336219)

This commit is contained in:
Emily 2024-09-22 15:44:56 +01:00 committed by GitHub
commit 478157df7d
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -3,13 +3,14 @@
fetchPypi,
buildPythonPackage,
pythonOlder,
nose,
setuptools,
}:
buildPythonPackage rec {
pname = "rx";
version = "3.2.0";
format = "setuptools";
pyproject = true;
disabled = pythonOlder "3.6";
# Use fetchPypi to avoid the updater script to migrate it to `reactivex` which
@ -20,12 +21,9 @@ buildPythonPackage rec {
sha256 = "b657ca2b45aa485da2f7dcfd09fac2e554f7ac51ff3c2f8f2ff962ecd963d91c";
};
nativeCheckInputs = [ nose ];
build-system = [ setuptools ];
# Some tests are nondeterministic. (`grep sleep -r tests`)
# test_timeout_schedule_action_cancel: https://hydra.nixos.org/build/74954646
# test_new_thread_scheduler_timeout: https://hydra.nixos.org/build/74949851
doCheck = false;
doCheck = false; # PyPI tarball does not provides tests
pythonImportsCheck = [ "rx" ];