python3Packages.pyzmq: 26.0.3 -> 26.2.0

This commit is contained in:
Martin Weinelt 2024-09-29 17:06:46 +02:00
parent e3f595762c
commit 935e008a0c

View File

@ -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