-
-
Notifications
You must be signed in to change notification settings - Fork 15.3k
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
pythonPackages.pyproj1: Added support for version 1.9.6 #78092
Conversation
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 cannot have different versions of the same package within the same package set, if it needs to be overriden, then please override it for the application. Look at aws-sam-cli for an example
OK, @jonringer |
@jonringer There are other packages where "v1s" were left over due to incompatibility with lots of other packages. |
In the python-modules package set, this creates an issue. Because if you're in an environment where packageA needs pyproj1 ,and packageB needs pyproj2, then PYTHONPATH will have both packages on it. However, when it goes to do |
If there are such packages, this was an oversight. |
Hi @jonringer |
Ah, that is much more acceptable, as it won't create an in-coherent package set |
#68628 is merged, so closing this. |
Motivation for this change
Structure for pyproj is very different from pyproj version 2 onwards, Some applications (e. g. Mapproxy) are still using old structure from pyrpoj (1.9.6). So with latest nixpkgs they doesn't work.
Things done
sandbox
innix.conf
on non-NixOS linux)nix-shell -p nixpkgs-review --run "nixpkgs-review wip"
./result/bin/
)nix path-info -S
before and after)@CMCDragonkai @jonringer