From 38694ab5659efa3f4887f5f8a336802d74b8e953 Mon Sep 17 00:00:00 2001 From: Gaetan Lepage Date: Tue, 30 Dec 2025 21:45:05 +0000 Subject: [PATCH 1/4] python3Packages.chalice: cleanup --- .../python-modules/chalice/default.nix | 26 +++++++++---------- 1 file changed, 13 insertions(+), 13 deletions(-) diff --git a/pkgs/development/python-modules/chalice/default.nix b/pkgs/development/python-modules/chalice/default.nix index bf543b4d6eac..9ce790fb95b4 100644 --- a/pkgs/development/python-modules/chalice/default.nix +++ b/pkgs/development/python-modules/chalice/default.nix @@ -1,24 +1,25 @@ { lib, - attrs, - botocore, buildPythonPackage, - click, fetchFromGitHub, - hypothesis, + + # build-system + setuptools, + + # dependencies + botocore, + click, inquirer, jmespath, - mypy-extensions, pip, - pytestCheckHook, pyyaml, - requests, - setuptools, six, - typing-extensions, - watchdog, + + # tests + hypothesis, + pytestCheckHook, + requests, websocket-client, - wheel, }: buildPythonPackage rec { @@ -42,9 +43,8 @@ buildPythonPackage rec { jmespath pip pyyaml - setuptools + # setuptools six - wheel ]; nativeCheckInputs = [ From fd00c9242d7b8c1058904c619f6599c86d9a6ec2 Mon Sep 17 00:00:00 2001 From: Gaetan Lepage Date: Tue, 30 Dec 2025 21:45:11 +0000 Subject: [PATCH 2/4] python3Packages.chalice: skip failing test --- pkgs/development/python-modules/chalice/default.nix | 2 ++ 1 file changed, 2 insertions(+) diff --git a/pkgs/development/python-modules/chalice/default.nix b/pkgs/development/python-modules/chalice/default.nix index 9ce790fb95b4..a8775fe1048e 100644 --- a/pkgs/development/python-modules/chalice/default.nix +++ b/pkgs/development/python-modules/chalice/default.nix @@ -79,6 +79,8 @@ buildPythonPackage rec { "test_setup_tar_gz_hyphens_in_name" "test_both_tar_gz" "test_both_tar_bz2" + # AssertionError + "test_no_error_message_printed_on_empty_reqs_file" ]; pythonImportsCheck = [ "chalice" ]; From 32754d23c1a483ed135746c5982f3a8dfe95c168 Mon Sep 17 00:00:00 2001 From: Gaetan Lepage Date: Tue, 30 Dec 2025 22:09:35 +0000 Subject: [PATCH 3/4] python3Packages.chalice: disable on python 3.14 --- pkgs/development/python-modules/chalice/default.nix | 3 +++ 1 file changed, 3 insertions(+) diff --git a/pkgs/development/python-modules/chalice/default.nix b/pkgs/development/python-modules/chalice/default.nix index a8775fe1048e..e949afd1320a 100644 --- a/pkgs/development/python-modules/chalice/default.nix +++ b/pkgs/development/python-modules/chalice/default.nix @@ -2,6 +2,7 @@ lib, buildPythonPackage, fetchFromGitHub, + pythonAtLeast, # build-system setuptools, @@ -27,6 +28,8 @@ buildPythonPackage rec { version = "1.32.0"; pyproject = true; + disabled = pythonAtLeast "3.14"; + src = fetchFromGitHub { owner = "aws"; repo = "chalice"; From 83e69397be1d13c5f5580e3ef8972efcd204aa6d Mon Sep 17 00:00:00 2001 From: Gaetan Lepage Date: Tue, 30 Dec 2025 23:41:28 +0000 Subject: [PATCH 4/4] python3Packages.blessed: disable test_sixel on darwin --- pkgs/development/python-modules/blessed/default.nix | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/pkgs/development/python-modules/blessed/default.nix b/pkgs/development/python-modules/blessed/default.nix index 659f3523d5b3..82c357dfdb8a 100644 --- a/pkgs/development/python-modules/blessed/default.nix +++ b/pkgs/development/python-modules/blessed/default.nix @@ -1,5 +1,6 @@ { lib, + stdenv, buildPythonPackage, fetchFromGitHub, flit-core, @@ -41,6 +42,11 @@ buildPythonPackage { rm tox.ini ''; + disabledTestPaths = lib.optionals stdenv.hostPlatform.isDarwin [ + # Fail with several AssertionError + "tests/test_sixel.py" + ]; + meta = { homepage = "https://github.com/jquast/blessed"; description = "Thin, practical wrapper around terminal capabilities in Python";