Skip to content

python3.pkgs.astropy: 5.2.1 -> 5.3.3 & more#255124

Merged
doronbehar merged 9 commits intoNixOS:masterfrom
doronbehar:pkg/astropy
Sep 23, 2023
Merged

python3.pkgs.astropy: 5.2.1 -> 5.3.3 & more#255124
doronbehar merged 9 commits intoNixOS:masterfrom
doronbehar:pkg/astropy

Conversation

@doronbehar
Copy link
Contributor

@doronbehar doronbehar commented Sep 14, 2023

Description of changes

Things done

  • Built on platform(s)
    • x86_64-linux
    • aarch64-linux
    • x86_64-darwin
    • aarch64-darwin
  • For non-Linux: Is sandbox = true set in nix.conf? (See Nix manual)
  • Tested, as applicable:
  • Tested compilation of all packages that depend on this change using nix-shell -p nixpkgs-review --run "nixpkgs-review rev HEAD". Note: all changes have to be committed, also see nixpkgs-review usage
  • Tested basic functionality of all binary files (usually in ./result/bin/)
  • 23.11 Release Notes (or backporting 23.05 Release notes)
    • (Package updates) Added a release notes entry if the change is major or breaking
    • (Module updates) Added a release notes entry if the change is significant
    • (Module addition) Added a release notes entry if adding a new NixOS module
  • Fits CONTRIBUTING.md.

@github-actions github-actions bot added the 6.topic: python Python is a high-level, general-purpose programming language. label Sep 14, 2023
@ofborg ofborg bot requested review from KentJames and smaret September 14, 2023 15:04
@ofborg ofborg bot added 10.rebuild-darwin: 11-100 This PR causes between 11 and 100 packages to rebuild on Darwin. 10.rebuild-linux: 11-100 This PR causes between 11 and 100 packages to rebuild on Linux. labels Sep 14, 2023
@doronbehar
Copy link
Contributor Author

This is not ready yet, I've had good progress with upstream at astropy/astropy#15316 . Marking as draft, will revisit this tomorrow.

@doronbehar doronbehar marked this pull request as draft September 15, 2023 13:07
Upstream a better version of the premissions.patch file, and explain it
better in a comment.
Use NIX_CFLAGS_COMPILE = "-O2", due to upstream issue. cd "$out" to
avoid circular import issue (discuessed downstream at at
NixOS#255262).
Add some informatory comments, add doronbehar as maintainers, use `rec`
instead of `let ... in`, add `pythonImportsCheck` and `pytestCheckHook`,
use `cd $out` to handle issue
NixOS#255262
@doronbehar doronbehar changed the title python3.pkgs.astropy: 5.2.1 -> 5.3.3 python3.pkgs.astropy: 5.2.1 -> 5.3.3 & more Sep 16, 2023
@doronbehar doronbehar marked this pull request as ready for review September 16, 2023 14:44
@ofborg ofborg bot requested a review from rmcgibbo September 16, 2023 15:53
@smaret
Copy link
Member

smaret commented Sep 23, 2023

Result of nixpkgs-review pr 255124 run on x86_64-darwin 1

8 packages marked as broken and skipped:
  • python310Packages.astroquery
  • python310Packages.astroquery.dist
  • python310Packages.sunpy
  • python310Packages.sunpy.dist
  • python311Packages.astroquery
  • python311Packages.astroquery.dist
  • python311Packages.sunpy
  • python311Packages.sunpy.dist
10 packages failed to build:
  • python310Packages.asdf
  • python310Packages.asdf.dist
  • python310Packages.spectral-cube
  • python310Packages.spectral-cube.dist
  • python311Packages.asdf
  • python311Packages.asdf.dist
  • python311Packages.qcodes-loop
  • python311Packages.qcodes-loop.dist
  • python311Packages.spectral-cube
  • python311Packages.spectral-cube.dist
54 packages built:
  • python310Packages.aplpy
  • python310Packages.aplpy.dist
  • python310Packages.astropy
  • python310Packages.astropy-extension-helpers
  • python310Packages.astropy-extension-helpers.dist
  • python310Packages.astropy-healpix
  • python310Packages.astropy-healpix.dist
  • python310Packages.astropy.dist
  • python310Packages.casa-formats-io
  • python310Packages.casa-formats-io.dist
  • python310Packages.drms
  • python310Packages.drms.dist
  • python310Packages.hickle
  • python310Packages.hickle.dist
  • python310Packages.pyavm
  • python310Packages.pyavm.dist
  • python310Packages.pyerfa
  • python310Packages.pyerfa.dist
  • python310Packages.pyregion
  • python310Packages.pyregion.dist
  • python310Packages.pyvo
  • python310Packages.pyvo.dist
  • python310Packages.qcodes-loop
  • python310Packages.qcodes-loop.dist
  • python310Packages.radio_beam
  • python310Packages.radio_beam.dist
  • python310Packages.reproject
  • python310Packages.reproject.dist
  • python311Packages.aplpy
  • python311Packages.aplpy.dist
  • python311Packages.astropy
  • python311Packages.astropy-extension-helpers
  • python311Packages.astropy-extension-helpers.dist
  • python311Packages.astropy-healpix
  • python311Packages.astropy-healpix.dist
  • python311Packages.astropy.dist
  • python311Packages.casa-formats-io
  • python311Packages.casa-formats-io.dist
  • python311Packages.drms
  • python311Packages.drms.dist
  • python311Packages.hickle
  • python311Packages.hickle.dist
  • python311Packages.pyavm
  • python311Packages.pyavm.dist
  • python311Packages.pyerfa
  • python311Packages.pyerfa.dist
  • python311Packages.pyregion
  • python311Packages.pyregion.dist
  • python311Packages.pyvo
  • python311Packages.pyvo.dist
  • python311Packages.radio_beam
  • python311Packages.radio_beam.dist
  • python311Packages.reproject
  • python311Packages.reproject.dist

@doronbehar
Copy link
Contributor Author

Thanks for the review! I marked all of these packages as broken. Will merge when CI is green.

@doronbehar
Copy link
Contributor Author

For the record, these packages were broken on hydra much before this PR.

@doronbehar doronbehar merged commit 870e727 into NixOS:master Sep 23, 2023
@doronbehar doronbehar deleted the pkg/astropy branch September 23, 2023 10:52
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

6.topic: python Python is a high-level, general-purpose programming language. 10.rebuild-darwin: 11-100 This PR causes between 11 and 100 packages to rebuild on Darwin. 10.rebuild-linux: 11-100 This PR causes between 11 and 100 packages to rebuild on Linux.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants