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.sasmodels: fix build #40381
Conversation
currently running |
If the hash changed for the same version it might be better to pin it to a git revision. |
And |
* The revision checksum changed, so it's safer to pin the package against an explicit `git` tag (NixOS#40381 (comment)) * Repaired `checkPhase` to run `py.test` properly on Python {2,3} * Bumped to latest revision (unstable-2018-04-27) as it supports the entire test suite properly.
@dotlambda @xeji thanks a lot for your feedback! I applied it and performed a bump to the latest revision (for now) as it provides proper configuration for the |
@GrahamcOfBorg build python36Packages.sasmodels python27Packages.sasmodels sasview |
No attempt on x86_64-darwin (full log) The following builds were skipped because they don't evaluate on x86_64-darwin: python36Packages.sasmodels, python27Packages.sasmodels, sasview Partial log (click to expand)
|
Failure on x86_64-linux (full log) Attempted: python36Packages.sasmodels, python27Packages.sasmodels, sasview Partial log (click to expand)
|
@Ma27 can you have a look at the sasview failure? |
Seems as all of their hashes changed, will fix |
interesting... I just pinned I'm currently working on a fix, however I'm not sure what to think of that. At least in case of any further breakage we should perform some deeper investigation to see what happens in their release process. Pinging @rprospero as he packaged the software two months ago - do you know anything about the recent issues? |
If you like we could merge this anyway since |
@xeji you're absolutely right, let's merge this PR for now, fixing |
just wanna see sasmodels builds from ofborg first @GrahamcOfBorg build python36Packages.sasmodels python27Packages.sasmodels |
Success on aarch64-linux (full log) Attempted: python36Packages.sasmodels, python27Packages.sasmodels Partial log (click to expand)
|
No attempt on x86_64-darwin (full log) The following builds were skipped because they don't evaluate on x86_64-darwin: python36Packages.sasmodels, python27Packages.sasmodels Partial log (click to expand)
|
Success on x86_64-linux (full log) Attempted: python36Packages.sasmodels, python27Packages.sasmodels Partial log (click to expand)
|
Failure on aarch64-linux (full log) Attempted: python36Packages.sasmodels, python27Packages.sasmodels, sasview Partial log (click to expand)
|
I'll try and figure out what's going on with sasview this week. |
The package breaks currently breaks with the following message: ``` fixed-output derivation produced path '/nix/store/5dh1mdj027ad8sprk12fqa5h5bpdxs5n-sasview' with sha256 hash '12k1w4yq1mzjxcp2cqb562c7cbwzhi54rsbmgi0fax0i1660q167' instead of the expected hash '05la54wwzzlkhmj8vkr0bvzagyib6z6mgwqbddzjs5y1wd48vpcx' ``` To fix the build the following changes were applied: * Switched to latest master for now as the older releases have a broken `py.test` configuration and altering hashes. * Added `checkPhase` which invokes `py.test` directly and drops duplicated files from `dist/tmpbuild`. * Rebased the patches `pyparsing-fix.patch` and `local_config.patch` for the latest master revision. Additionally refer to the discussion in NixOS#40381 for further reference.
The package breaks currently breaks with the following message: ``` fixed-output derivation produced path '/nix/store/5dh1mdj027ad8sprk12fqa5h5bpdxs5n-sasview' with sha256 hash '12k1w4yq1mzjxcp2cqb562c7cbwzhi54rsbmgi0fax0i1660q167' instead of the expected hash '05la54wwzzlkhmj8vkr0bvzagyib6z6mgwqbddzjs5y1wd48vpcx' ``` To fix the build the following changes were applied: * Switched to latest master for now as the older releases have a broken `py.test` configuration and altering hashes. * Added `checkPhase` which invokes `py.test` directly and drops duplicated files from `dist/tmpbuild`. * Rebased the patches `pyparsing-fix.patch` and `local_config.patch` for the latest master revision. Additionally refer to the discussion in #40381 for further reference.
Motivation for this change
Things done
build-use-sandbox
innix.conf
on non-NixOS)nix-shell -p nox --run "nox-review wip"
./result/bin/
)