From c654b6c70c5c4627fe6b472aa77ff34da416ab40 Mon Sep 17 00:00:00 2001 From: Alyssa Ross Date: Mon, 13 Feb 2023 14:18:21 +0000 Subject: [PATCH] python311.pkgs.asynctest: disable Not compatible with Python 3.11[1]. Upstream is dead. [1]: https://github.com/Martiusweb/asynctest/issues/161 --- pkgs/development/python-modules/asynctest/default.nix | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/pkgs/development/python-modules/asynctest/default.nix b/pkgs/development/python-modules/asynctest/default.nix index dda3d35f6add..512721284b50 100644 --- a/pkgs/development/python-modules/asynctest/default.nix +++ b/pkgs/development/python-modules/asynctest/default.nix @@ -1,10 +1,11 @@ -{ lib, buildPythonPackage, fetchPypi, pythonOlder, python }: +{ lib, buildPythonPackage, fetchPypi, pythonOlder, pythonAtLeast, python }: buildPythonPackage rec { pname = "asynctest"; version = "0.13.0"; - disabled = pythonOlder "3.5"; + # https://github.com/Martiusweb/asynctest/issues/161 + disabled = pythonOlder "3.5" || pythonAtLeast "3.11"; src = fetchPypi { inherit pname version;