From 057e7b7c24c4f73a3ee668a068733997ae36ebad Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Robert=20Sch=C3=BCtz?= Date: Sun, 19 Feb 2023 19:15:14 -0800 Subject: [PATCH] python310Packages.async-lru: 1.0.3 -> 2.0.0 Diff: https://github.com/aio-libs/async-lru/compare/v1.0.3...v2.0.0 --- .../python-modules/async-lru/default.nix | 17 ++++++++++------- 1 file changed, 10 insertions(+), 7 deletions(-) diff --git a/pkgs/development/python-modules/async-lru/default.nix b/pkgs/development/python-modules/async-lru/default.nix index 73ccaa62c3d3..49e75fc118ba 100644 --- a/pkgs/development/python-modules/async-lru/default.nix +++ b/pkgs/development/python-modules/async-lru/default.nix @@ -2,23 +2,30 @@ , buildPythonPackage , pythonOlder , fetchFromGitHub +, typing-extensions , pytestCheckHook , pytest-asyncio }: buildPythonPackage rec { pname = "async-lru"; - version = "1.0.3"; + version = "2.0.0"; - disabled = pythonOlder "3.6"; + disabled = pythonOlder "3.8"; + + format = "setuptools"; src = fetchFromGitHub { owner = "aio-libs"; repo = "async-lru"; rev = "v${version}"; - hash = "sha256-98ZPFSOFRnymTCfCG9OuajfxXAWyCrByyJEHhpPVPbM="; + hash = "sha256-mCmEMN9D6kEkHb3GoYuVk4XxvhaSX5eOHqpKawrcoxs="; }; + propagatedBuildInputs = [ + typing-extensions + ]; + postPatch = '' sed -i -e '/^addopts/d' -e '/^filterwarnings/,+2d' setup.cfg ''; @@ -28,10 +35,6 @@ buildPythonPackage rec { pytest-asyncio ]; - pytestFlagsArray = [ - "--asyncio-mode=strict" - ]; - pythonImportsCheck = [ "async_lru" ]; meta = with lib; {