-
-
Notifications
You must be signed in to change notification settings - Fork 14.1k
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
python3Packages.astropy: unbreak multiple modules #120874
Conversation
This comment has been minimized.
This comment has been minimized.
The spectral-cube error looks to be caused by the radio-beam update (radio-astro-tools/spectral-cube#708) from 5446c0c / #117452 Build report after a86a447a87f3c93cf187e8432da5f32226a3d784: Result of 26 packages built:
|
68ae1a5
to
a86a447
Compare
Built and tested on macOS. It looks go to me. |
Result of 4 packages failed to build:
22 packages built:
builder for '/nix/store/j2m7r8zkzbbzw4m9dsajmsmbkx5czwn9-python3.8-glymur-0.9.3.drv' failed with exit code 1; last 10 log lines:
tests/test_jp2k.py: 59 warnings
tests/test_printing.py: 1 warning
/build/source/glymur/jp2k.py:1084: DeprecationWarning: `np.int` is a deprecated alias for the builtin `int`. To silence this warning, use `int` by itself. Doing this will not modify any behavior and is safe. When replacing `np.int`, you may wish to use e.g. `np.int64` or `np.int32` to specify the precision. If you wish to review your current use, check the release note link for additional information.
Deprecated in NumPy 1.20; for more details and guidance: https://numpy.org/devdocs/release/1.20.0-notes.html#deprecations
rlevel = np.int(np.round(np.log2(step)))
-- Docs: https://docs.pytest.org/en/stable/warnings.html
=========================== short test summary info ============================
FAILED tests/test_jp2k.py::TestJp2k::test_thread_support - AssertionError: Fa...
======= 1 failed, 450 passed, 1 skipped, 61 warnings in 86.65s (0:01:26) ======= |
@fabaff: Unfortunately I cannot reproduce the glymur failure. It builds fine for me from this PR. It might be flaky? |
Could be. Local build of glymur is fine for me. |
Result of 26 packages built:
|
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.
Changes look good to me.
Motivation for this change
I noticed that a few astropy packages were broken since a recent mass update: https://rmcgibbo.github.io/mydra/post/nixpkgs-fdce3b59/
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)