-
-
Notifications
You must be signed in to change notification settings - Fork 14.7k
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
python.pkgs.pplpy: init at 0.8.4 #56911
Conversation
This didn't cause issues earlier since all packages that depend on cysignals have a pari dependency anyways.
This is a new dependency for the upcoming sage version.
@@ -1877,6 +1879,18 @@ in { | |||
|
|||
gmpy2 = callPackage ../development/python-modules/gmpy2 { }; | |||
|
|||
# alpha release, big refactor, adds cython support | |||
# see https://github.com/aleaxit/gmpy/issues/146, https://github.com/aleaxit/gmpy/issues/199 | |||
gmpy2_2_1 = (callPackage ../development/python-modules/gmpy2 {}).overridePythonAttrs (oldAttrs: rec { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
We can't do that for Python packages because having different versions of the same package in $PYTHONPATH
is not supported. You could upgrade the default gmpy2 instead.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
However, I don't see a specific version requirement for gmpy2 in pplpy's setup.py.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Their readme specifies
gmpy2: version 2.1.0a4 from sources
There is a beta release coming probably soonish (aleaxit/gmpy#199), so maybe upgrading after that makes sense.
(I meant to ping you in the PR, not domenkozar. Damn autocomplete)
I'll include this in #54690. |
Motivation for this change
This package depends on a newer version (alpha) of
gmpy2
, which has significant changes (including a cython interface).I've copied the way
shpinx
adds multiple versions inpython-packages.nix
. I'm not sure if that is the right way to do it. @FRidh @domenkozar?Things done
sandbox
innix.conf
on non-NixOS)nix-shell -p nox --run "nox-review wip"
./result/bin/
)nix path-info -S
before and after)