-
-
Notifications
You must be signed in to change notification settings - Fork 18.1k
treewide: use overlays to pass a custom stdenv to buildPythonPackage / bulidPythonApplication #476401
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
Merged
Merged
treewide: use overlays to pass a custom stdenv to buildPythonPackage / bulidPythonApplication #476401
Changes from all commits
Commits
Show all changes
15 commits
Select commit
Hold shift + click to select a range
4abb280
webmacs: pass custom stdenv to buildPythonApplication with an override
leona-ya 8d063fd
xpra: pass custom stdenv to buildPythonApplication with an override
leona-ya 1127e9d
python3Packages.cupy: pass custom stdenv to buildPythonApplication wi…
leona-ya 00a680d
python3Packages.openusd: remove superfluous stdenv parameter to build…
leona-ya 2bd654f
python3Packages.psutil: remove superfluous stdenv parameter to buildP…
leona-ya abb6ad9
python3Packages.python-mapnik: remove superfluous stdenv parameter to…
leona-ya 6a673c9
python3Packages.torchaudio: pass custom stdenv to buildPythonApplicat…
leona-ya 8c40583
python3Packages.torchvision: pass custom stdenv to buildPythonApplica…
leona-ya c34997d
python3Packages.verilogae: pass custom stdenv to buildPythonApplicati…
leona-ya f8158a6
python3Packages.vllm: pass custom stdenv to buildPythonApplication wi…
leona-ya 70efa53
python3Packages.dlib: pass custom stdenv to buildPythonApplication wi…
leona-ya 5e028cc
python3Packages.llama-cpp-python: pass custom stdenv to buildPythonAp…
leona-ya 5f4c3b6
python3Packages.warp-lang: pass custom stdenv to buildPythonApplicati…
leona-ya ee013f1
python3Packages.xformers: pass custom stdenv to buildPythonApplicatio…
leona-ya 9667e93
test/overriding: remove python deprecated stdenv override tests
leona-ya File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Some comments aren't visible on the classic Files Changed page.
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.
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.
Ideally, I'd like to have a test that asserts the override still works and asserts the warning is printed. I don't think that's possible with the current
overriding.nix.I think we'd need to come up with something that evaluates test cases within a test derivation (similar to CI's
evalor lib'slib/tests/test-with-nix.nixand ), that way we can capture the eval's stderr and make assertions on its content.This is too complex to be in scope for this PR, and maybe too complex to be worth it for these two test cases. But maybe it'd be useful to have a way to implement more complex
pkgstests, like we already have forlibtests?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.
I also don't really know a way how this would be done easily. Also yes, probably out of scope here.
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.
Agreed. If #477208 or another PR has a solution, it can revert this commit or introduce a new equivalent test. I don't want to block this PR by waiting for a solution.