From 47f877d41e92d1d3418a0250aad08a5988157025 Mon Sep 17 00:00:00 2001 From: Martin Weinelt Date: Thu, 28 Mar 2024 17:17:10 +0100 Subject: [PATCH 1/3] Revert "python311Packages.pathlib-abc: 0.1.1 -> 0.2.0" --- pkgs/development/python-modules/pathlib-abc/default.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkgs/development/python-modules/pathlib-abc/default.nix b/pkgs/development/python-modules/pathlib-abc/default.nix index b048fc3748c1a..891b6d348561e 100644 --- a/pkgs/development/python-modules/pathlib-abc/default.nix +++ b/pkgs/development/python-modules/pathlib-abc/default.nix @@ -8,7 +8,7 @@ buildPythonPackage rec { pname = "pathlib-abc"; - version = "0.2.0"; + version = "0.1.1"; pyproject = true; disabled = pythonOlder "3.8"; @@ -16,7 +16,7 @@ buildPythonPackage rec { src = fetchPypi { pname = "pathlib_abc"; inherit version; - hash = "sha256-ua9rOf1RMhSFZ47DgD0KEeAqIuhp6AUsrLbo9l3nuGI="; + hash = "sha256-CE573ZGbD3d0kUqeZM2GobOYYPgfeB3XJCWGMfKRWr4="; }; build-system = [ From 03a76c271eb522369bc6b364797914c72902655e Mon Sep 17 00:00:00 2001 From: Martin Weinelt Date: Thu, 28 Mar 2024 17:45:55 +0100 Subject: [PATCH 2/3] python311Packages.spacy: relax smart-open constraint --- pkgs/development/python-modules/spacy/default.nix | 1 + 1 file changed, 1 insertion(+) diff --git a/pkgs/development/python-modules/spacy/default.nix b/pkgs/development/python-modules/spacy/default.nix index 1055f45f55b71..fa1c101ecb386 100644 --- a/pkgs/development/python-modules/spacy/default.nix +++ b/pkgs/development/python-modules/spacy/default.nix @@ -51,6 +51,7 @@ buildPythonPackage rec { }; pythonRelaxDeps = [ + "smart-open" "typer" ]; From c7faa543a3d2a54d8c8436e64413d4958e7e8594 Mon Sep 17 00:00:00 2001 From: Martin Weinelt Date: Thu, 28 Mar 2024 03:10:00 +0100 Subject: [PATCH 3/3] python312Packages.pathtools: disable --- pkgs/development/python-modules/pathtools/default.nix | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/pkgs/development/python-modules/pathtools/default.nix b/pkgs/development/python-modules/pathtools/default.nix index 754669eb42fe8..453dc9df36ef8 100644 --- a/pkgs/development/python-modules/pathtools/default.nix +++ b/pkgs/development/python-modules/pathtools/default.nix @@ -1,6 +1,7 @@ { lib , buildPythonPackage , fetchPypi +, pythonAtLeast }: buildPythonPackage rec { @@ -8,6 +9,9 @@ buildPythonPackage rec { version = "0.1.2"; format = "setuptools"; + # imp and distuils usage, last commit in 2016 + disabled = pythonAtLeast "3.12"; + src = fetchPypi { inherit pname version; sha256 = "1h7iam33vwxk8bvslfj4qlsdprdnwf8bvzhqh3jq5frr391cadbw";