From 92f92fab5dba8b69ca634a5130ad4e8ad377822d Mon Sep 17 00:00:00 2001 From: Fabian Affolter Date: Mon, 29 Apr 2024 16:35:08 +0200 Subject: [PATCH] python312Packages.twill: 3.2.3 -> 3.2.4 Changelog: https://github.com/twill-tools/twill/releases/tag/v3.2.4 --- .../python-modules/twill/default.nix | 20 +++++++++++++++++-- 1 file changed, 18 insertions(+), 2 deletions(-) diff --git a/pkgs/development/python-modules/twill/default.nix b/pkgs/development/python-modules/twill/default.nix index 0a1738ccb8c9..aa8f2babd137 100644 --- a/pkgs/development/python-modules/twill/default.nix +++ b/pkgs/development/python-modules/twill/default.nix @@ -6,25 +6,35 @@ , pyparsing , pytestCheckHook , pythonOlder +, pythonRelaxDepsHook +, quixote , setuptools }: buildPythonPackage rec { pname = "twill"; - version = "3.2.3"; + version = "3.2.4"; pyproject = true; disabled = pythonOlder "3.8"; src = fetchPypi { inherit pname version; - hash = "sha256-m4jrxx7udWkRXzYS0Yfd14tKVHt8kGYPn2eTa4unOdc="; + hash = "sha256-YlZKvOGxLWwGh+MqCXf8tfruxLK60H73k1VQhGOSTc8="; }; + pythonRelaxDeps = [ + "lxml" + ]; + build-system = [ setuptools ]; + nativeBuildInputs = [ + pythonRelaxDepsHook + ]; + dependencies = [ httpx lxml @@ -33,6 +43,12 @@ buildPythonPackage rec { nativeCheckInputs = [ pytestCheckHook + quixote + ]; + + disabledTestPaths = [ + # pytidylib is abandoned + "tests/test_tidy.py" ]; pythonImportsCheck = [