diff --git a/pkgs/development/python-modules/pyzmq/default.nix b/pkgs/development/python-modules/pyzmq/default.nix index a0495c9b0674..e47570dd9b06 100644 --- a/pkgs/development/python-modules/pyzmq/default.nix +++ b/pkgs/development/python-modules/pyzmq/default.nix @@ -15,7 +15,6 @@ # checks pytestCheckHook, - python, pythonOlder, tornado, libsodium, @@ -25,14 +24,14 @@ buildPythonPackage rec { pname = "pyzmq"; - version = "26.0.3"; + version = "26.2.0"; pyproject = true; disabled = pythonOlder "3.6"; src = fetchPypi { inherit pname version; - hash = "sha256-26fZ8uBH36K8o7AfT4SqUkZyUgPWKE43kPLKFfumtAo="; + hash = "sha256-BwZywlhYHI5PZAtRWSl1gKmXSwJgQ71KsEcL6e0yTx8="; }; build-system = [ @@ -60,13 +59,9 @@ buildPythonPackage rec { pythonImportsCheck = [ "zmq" ]; - pytestFlagsArray = [ - "$out/${python.sitePackages}/zmq/tests/" # Folder with tests - # pytest.ini is missing in pypi's sdist - # https://github.com/zeromq/pyzmq/issues/1853#issuecomment-1592731986 - "--asyncio-mode auto" - "--ignore=$out/lib/python3.12/site-packages/zmq/tests/test_mypy.py" - ]; + preCheck = '' + rm -r zmq + ''; disabledTests = [ # Tests hang