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
buildPython*: store dist (wheel/sdist) in dist output #190487
Conversation
Note this will roughly double the amount of data in the cache. |
There is often an error log in the output like for py:
and the build fails because two of the ofborg evaluators run out of inodes:
@ofbrog eval |
Store the intermediate artifacts. In time, we should build, install and test in separate derivations as that reduces circular dependencies, avoids rebuilds when fixing tests, and makes it possible to use the wheels for creating say virtualenv's.
Yes something expects the output to be built before our phase is executed. Moved to preFixupPhases. |
This pull request has been mentioned on NixOS Discourse. There might be relevant details there: https://discourse.nixos.org/t/how-to-build-python-package-for-use-in-non-nix-environments/21587/2 |
I'm late, but I think this is a good first step in getting a |
Bisect claims that adbc59c
|
yeah we should pushd to another folder in that package |
Fix in #191327 |
I still see the same
Not sure if I'm looking at the wrong branch or the failure is expected. |
cvise needs fixing, probably needs format="other"; and all these dont* removed |
Thank you! Proposed possible fix as #191461 |
|
This pull request has been mentioned on NixOS Discourse. There might be relevant details there: https://discourse.nixos.org/t/why-is-buildpythonpackage-passthru-not-in-my-result-folder/21852/4 |
Fall out from NixOS/nixpkgs#190487
Fall out from NixOS/nixpkgs#190487
Store the intermediate artifacts. In time, we should build, install and test in separate derivations as that reduces circular dependencies, avoids rebuilds when fixing tests, and makes it possible to use the wheels for creating say virtualenv's.
Description of changes
Things done
sandbox = true
set innix.conf
? (See Nix manual)nix-shell -p nixpkgs-review --run "nixpkgs-review rev HEAD"
. Note: all changes have to be committed, also see nixpkgs-review usage./result/bin/
)nixos/doc/manual/md-to-db.sh
to update generated release notes