Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

python3.pkgs.wheel is out of date, and updating it requires bootstraping packaging? #105974

Closed
2 tasks done
doronbehar opened this issue Dec 5, 2020 · 2 comments
Closed
2 tasks done

Comments

@doronbehar
Copy link
Contributor

Checklist

Maybe #105714 is relevant?

Project name

nix search name: python wheel

current version: 3.34.2
desired version: 3.35.0

Notify maintainers

@siriobalmelli

Note for maintainers

The new version requires packaging which makes the update fail due to infinite recursion. Here's my attempt:

diff --git i/pkgs/development/python-modules/wheel/default.nix w/pkgs/development/python-modules/wheel/default.nix
index fd93cbdcea3..b262de79490 100644
--- i/pkgs/development/python-modules/wheel/default.nix
+++ w/pkgs/development/python-modules/wheel/default.nix
@@ -3,24 +3,26 @@
 , fetchFromGitHub
 , bootstrapped-pip
 , setuptools
+, packaging
 }:
 
 buildPythonPackage rec {
   pname = "wheel";
-  version = "0.34.2";
+  version = "0.35.0";
   format = "other";
 
   src = fetchFromGitHub {
     owner = "pypa";
     repo = pname;
     rev = version;
-    sha256 = "1mwh35ycv07ajnpcjc4rjdmndh6nyg03gdgag5m8c2af7z1xlcmj";
+    sha256 = "+l5qqrtGLERxLKu7h5rFC0Tn33KwUTOogKBCLfwFsPw=";
     name = "${pname}-${version}-source";
   };
 
   nativeBuildInputs = [
     bootstrapped-pip
     setuptools
+    packaging
   ];
 
   # No tests in archive
@jonringer
Copy link
Contributor

this is in staging next:

$ nix eval -f default.nix python3Packages.wheel.version
"0.35.1"

#105584

@doronbehar
Copy link
Contributor Author

Thanks @jonringer .

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants