Skip to content
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 #107770

Merged
merged 12 commits into from Dec 30, 2020
Merged

python3Packages.astropy: unbreak #107770

merged 12 commits into from Dec 30, 2020

Conversation

rmcgibbo
Copy link
Contributor

@rmcgibbo rmcgibbo commented Dec 28, 2020

Motivation for this change

Unbreak package. It appears to have been broken since it was upgraded from 4.0.3 -> 4.2 in 656348a https://hydra.nixos.org/build/133689349

I ran into a bit of difficulty.
(a) a separate helper library (https://github.com/astropy/extension-helpers) is necessary for installation, which appears to be totally different than the other astropy helper library we already have (https://github.com/astropy/astropy-helpers). I'm not sure if astropy-helpers is necessary anymore?
(b) I kept getting an inscrutable permission error with astropy-extension-helpers, which I've worked around with a patch.
(c) A number of packages appear to not build because they require older versions of astropy or their tests fail against this version of astropy, I'm not sure.

Things done
  • Tested using sandboxing (nix.useSandbox on NixOS, or option sandbox in nix.conf on non-NixOS linux)
  • Built on platform(s)
    • NixOS
    • macOS
    • other Linux distributions
  • Tested via one or more NixOS test(s) if existing and applicable for the change (look inside nixos/tests)
  • Tested compilation of all pkgs that depend on this change using nix-shell -p nixpkgs-review --run "nixpkgs-review wip"
  • Tested execution of all binary files (usually in ./result/bin/)
  • Determined the impact on package closure size (by running nix path-info -S before and after)
  • Ensured that relevant documentation is up to date
  • Fits CONTRIBUTING.md.

On NixOS 86_64:

[mcgibbon@pn50:~/projects/nixpkgs]$ nixpkgs-review rev aaf580220588d8a83ef1aee7fe04c1e4bb43c46c
$ git -c fetch.prune=false fetch --force https://github.com/NixOS/nixpkgs master:refs/nixpkgs-review/0
remote: Enumerating objects: 150, done.
remote: Counting objects: 100% (101/101), done.
remote: Compressing objects: 100% (24/24), done.
remote: Total 50 (delta 39), reused 32 (delta 24), pack-reused 0
Unpacking objects: 100% (50/50), 7.73 KiB | 304.00 KiB/s, done.
From https://github.com/NixOS/nixpkgs
   69a194eafe0..15b4f7e06c5  master     -> refs/nixpkgs-review/0
$ git worktree add /home/mcgibbon/.cache/nixpkgs-review/rev-aaf580220588d8a83ef1aee7fe04c1e4bb43c46c/nixpkgs 15b4f7e06c501bf849bc38ebd31348d617c44cd6
Preparing worktree (detached HEAD 15b4f7e06c5)
HEAD is now at 15b4f7e06c5 Merge pull request #107711 from r-ryantm/auto-update/iosevka-bin
$ nix-env -f /home/mcgibbon/.cache/nixpkgs-review/rev-aaf580220588d8a83ef1aee7fe04c1e4bb43c46c/nixpkgs -qaP --xml --out-path --show-trace
$ git merge --no-commit aaf580220588d8a83ef1aee7fe04c1e4bb43c46c
Auto-merging pkgs/top-level/python-packages.nix
Automatic merge went well; stopped before committing as requested
$ nix-env -f /home/mcgibbon/.cache/nixpkgs-review/rev-aaf580220588d8a83ef1aee7fe04c1e4bb43c46c/nixpkgs -qaP --xml --out-path --show-trace --meta
6 packages added:
python37Packages.astropy-extension-helpers (init at 0.1) python37Packages.pyerfa (init at 1.7.1.1) python38Packages.astropy-extension-helpers (init at 0.1) python38Packages.pyerfa (init at 1.7.1.1) python39Packages.astropy-extension-helpers (init at 0.1) python39Packages.pyerfa (init at 1.7.1.1)

35 packages updated:
python3.7-aplpy python3.7-asdf python3.7-astropy python3.7-astropy-healpix python3.7-astroquery python3.7-pyavm python3.7-pyregion python3.7-pytest-astropy python3.7-pytest-astropy-header python3.7-radio_beam python3.7-reproject python3.7-spectral-cube python3.7-sunpy python3.8-aplpy python3.8-asdf python3.8-astropy python3.8-astropy-healpix python3.8-astroquery python3.8-pyavm python3.8-pyregion python3.8-pytest-astropy python3.8-pytest-astropy-header python3.8-radio_beam python3.8-reproject python3.8-spectral-cube python3.8-sunpy python3.9-asdf python3.9-astropy python3.9-astropy-healpix python3.9-pyavm python3.9-pyregion python3.9-pytest-astropy python3.9-pytest-astropy-header python3.9-radio_beam python3.9-reproject

$ nix --experimental-features nix-command build --no-link --keep-going --option build-use-sandbox relaxed -f /home/mcgibbon/.cache/nixpkgs-review/rev-aaf580220588d8a83ef1aee7fe04c1e4bb43c46c/build.nix
builder for '/nix/store/6wvg0hnlvfp7ix58c4264xalddrkmi71-python3.7-drms-0.6.0.drv' failed with exit code 1; last 10 log lines:
  strip:/nix/store/3330pw7r2mgdgk7cf8rphps1l2gbfxai-python3.7-drms-0.6.0/lib/python3.7/site-packages/drms-0.6.0.dist-info/top_level.txt: file format not recognized
  strip:/nix/store/3330pw7r2mgdgk7cf8rphps1l2gbfxai-python3.7-drms-0.6.0/bin/drms: file format not recognized
  patching script interpreter paths in /nix/store/3330pw7r2mgdgk7cf8rphps1l2gbfxai-python3.7-drms-0.6.0
  checking for references to /build/ in /nix/store/3330pw7r2mgdgk7cf8rphps1l2gbfxai-python3.7-drms-0.6.0...
  Rewriting #!/nix/store/401hv5vy6jm6wyppmlaalakdlsrzchc6-python3-3.7.9/bin/python3.7 to #!/nix/store/401hv5vy6jm6wyppmlaalakdlsrzchc6-python3-3.7.9
  wrapping `/nix/store/3330pw7r2mgdgk7cf8rphps1l2gbfxai-python3.7-drms-0.6.0/bin/drms'...
  Executing pythonRemoveTestsDir
  Finished executing pythonRemoveTestsDir
  running install tests
  /nix/store/401hv5vy6jm6wyppmlaalakdlsrzchc6-python3-3.7.9/bin/python3.7: No module named drms.tests.__main__; 'drms.tests' is a package and cannot be directly executed
builder for '/nix/store/m97q1k1w14mp473y22ifz4jxq0d6wxf9-python3.8-drms-0.6.0.drv' failed with exit code 1; last 10 log lines:
  strip:/nix/store/il5ik2rijkgf05899xdv5m7429195k2q-python3.8-drms-0.6.0/lib/python3.8/site-packages/drms-0.6.0.dist-info/top_level.txt: file format not recognized
  strip:/nix/store/il5ik2rijkgf05899xdv5m7429195k2q-python3.8-drms-0.6.0/bin/drms: file format not recognized
  patching script interpreter paths in /nix/store/il5ik2rijkgf05899xdv5m7429195k2q-python3.8-drms-0.6.0
  checking for references to /build/ in /nix/store/il5ik2rijkgf05899xdv5m7429195k2q-python3.8-drms-0.6.0...
  Rewriting #!/nix/store/m7080pw0ryjk0jhljp55rq1hd2qy8gki-python3-3.8.6/bin/python3.8 to #!/nix/store/m7080pw0ryjk0jhljp55rq1hd2qy8gki-python3-3.8.6
  wrapping `/nix/store/il5ik2rijkgf05899xdv5m7429195k2q-python3.8-drms-0.6.0/bin/drms'...
  Executing pythonRemoveTestsDir
  Finished executing pythonRemoveTestsDir
  running install tests
  /nix/store/m7080pw0ryjk0jhljp55rq1hd2qy8gki-python3-3.8.6/bin/python3.8: No module named drms.tests.__main__; 'drms.tests' is a package and cannot be directly executed
builder for '/nix/store/w5llnbgbf0d1v43m69drqwi6nj08rv7z-python3.9-pytest-astropy-header-0.1.2.drv' failed with exit code 1; last 10 log lines:
  FAILED tests/test_display.py::test_override_package_multiple[cli] - Assertion...
  FAILED tests/test_display.py::test_override_package_multiple[ini] - Assertion...
  FAILED tests/test_display.py::test_override_package_multiple[ini_list] - Asse...
  FAILED tests/test_display.py::test_override_package_multiple[conftest] - Asse...
  FAILED tests/test_display.py::test_nonexistent[cli] - AssertionError: assert ...
  FAILED tests/test_display.py::test_nonexistent[ini] - AssertionError: assert ...
  FAILED tests/test_display.py::test_nonexistent[ini_list] - AssertionError: as...
  FAILED tests/test_display.py::test_nonexistent[conftest] - AssertionError: as...
  FAILED tests/test_display.py::test_modify_in_conftest - AssertionError: asser...
  ========================= 16 failed, 3 passed in 1.18s =========================
cannot build derivation '/nix/store/7qf7g5kcancyc0ykr0z1q2xli4ypf4i5-python3.9-pytest-astropy-0.8.0.drv': 1 dependencies couldn't be built
cannot build derivation '/nix/store/i4kjsjirhp78l0np3xm2d7vh3idz7kss-python3.9-asdf-2.7.1.drv': 1 dependencies couldn't be built
cannot build derivation '/nix/store/blpqqxzsymcl1vjcvshn216ddsn86a5z-python3.9-pyregion-2.0.drv': 1 dependencies couldn't be built
cannot build derivation '/nix/store/ldxc8fs4wspvb83a8k926n7imq02xz28-python3.9-radio_beam-0.3.2.drv': 1 dependencies couldn't be built
cannot build derivation '/nix/store/mmhrcpqydfd45qhrasbxyyp9cybmfdwj-python3.9-reproject-0.7.1.drv': 1 dependencies couldn't be built
builder for '/nix/store/gsmj7z0bkijd7m9qlzs0460zb50qk2mp-python3.7-astroquery-0.4.1.drv' failed with exit code 1; last 10 log lines:
  /build/astroquery-0.4.1/dist /build/astroquery-0.4.1
  Processing ./astroquery-0.4.1-py3-none-any.whl
  Requirement already satisfied: beautifulsoup4>=4.3.2 in /nix/store/g4sas5amlaywrdhm42pygmb8i3j0sajd-python3.7-beautifulsoup4-4.9.3/lib/python3.7/site-packages (from astroquery==0.4.1) (4.9.3)
  Requirement already satisfied: html5lib>=0.999 in /nix/store/y9vkjin95kx24hvdfmvsyzp9kb0wlpwf-python3.7-html5lib-1.1/lib/python3.7/site-packages (from astroquery==0.4.1) (1.1)
  Requirement already satisfied: requests>=2.4.3 in /nix/store/2fjhycxmvz8mzzf58hhdscx9fhrwfbz1-python3.7-requests-2.25.0/lib/python3.7/site-packages (from astroquery==0.4.1) (2.25.0)
  Requirement already satisfied: keyring>=4.0 in /nix/store/rgc33d7i0qsyvxjh2bbm1scrxb6fkrbs-python3.7-keyring-21.5.0/lib/python3.7/site-packages (from astroquery==0.4.1) (21.5.0)
  Requirement already satisfied: six in /nix/store/5zprj4zn0wykp3h8rxx6cji9gp9klmhi-python3.7-six-1.15.0/lib/python3.7/site-packages (from astroquery==0.4.1) (1.15.0)
  Requirement already satisfied: numpy in /nix/store/d11xr07j2vvw5kyi54kvj7rsj86lasdy-python3.7-numpy-1.19.4/lib/python3.7/site-packages (from astroquery==0.4.1) (1.19.4)
  ERROR: Could not find a version that satisfies the requirement astropy>=3.1 (from astroquery)
  ERROR: No matching distribution found for astropy>=3.1
builder for '/nix/store/m56fdydyqs1589nipvns7ms8b2vzbzzj-python3.8-astroquery-0.4.1.drv' failed with exit code 1; last 10 log lines:
  /build/astroquery-0.4.1/dist /build/astroquery-0.4.1
  Processing ./astroquery-0.4.1-py3-none-any.whl
  Requirement already satisfied: html5lib>=0.999 in /nix/store/1iidnp3izpwx09qf903r6h7mxn4yl0sj-python3.8-html5lib-1.1/lib/python3.8/site-packages (from astroquery==0.4.1) (1.1)
  Requirement already satisfied: keyring>=4.0 in /nix/store/a4vz22d4iyzqf8mqdl3srqmipifcfdyv-python3.8-keyring-21.5.0/lib/python3.8/site-packages (from astroquery==0.4.1) (21.5.0)
  Requirement already satisfied: requests>=2.4.3 in /nix/store/xqms8zgg4zmp00mdglbncncpaynmp3xb-python3.8-requests-2.25.0/lib/python3.8/site-packages (from astroquery==0.4.1) (2.25.0)
  Requirement already satisfied: beautifulsoup4>=4.3.2 in /nix/store/fdw37x9q275172g7ag2gkp9yfzr6f2ym-python3.8-beautifulsoup4-4.9.3/lib/python3.8/site-packages (from astroquery==0.4.1) (4.9.3)
  Requirement already satisfied: six in /nix/store/dyipdczm6dvg6m0jchcypv2x7nqzgcrm-python3.8-six-1.15.0/lib/python3.8/site-packages (from astroquery==0.4.1) (1.15.0)
  Requirement already satisfied: numpy in /nix/store/vzx1j0846qda14bzrvc2rdff2gd1fs5w-python3.8-numpy-1.19.4/lib/python3.8/site-packages (from astroquery==0.4.1) (1.19.4)
  ERROR: Could not find a version that satisfies the requirement astropy>=3.1 (from astroquery)
  ERROR: No matching distribution found for astropy>=3.1
builder for '/nix/store/vni6s9fh502rlsk4lwgg7s0a1ibwllyl-python3.7-pytest-astropy-header-0.1.2.drv' failed with exit code 1; last 10 log lines:
  FAILED tests/test_display.py::test_override_package_multiple[cli] - Assertion...
  FAILED tests/test_display.py::test_override_package_multiple[ini] - Assertion...
  FAILED tests/test_display.py::test_override_package_multiple[ini_list] - Asse...
  FAILED tests/test_display.py::test_override_package_multiple[conftest] - Asse...
  FAILED tests/test_display.py::test_nonexistent[cli] - AssertionError: assert ...
  FAILED tests/test_display.py::test_nonexistent[ini] - AssertionError: assert ...
  FAILED tests/test_display.py::test_nonexistent[ini_list] - AssertionError: as...
  FAILED tests/test_display.py::test_nonexistent[conftest] - AssertionError: as...
  FAILED tests/test_display.py::test_modify_in_conftest - AssertionError: asser...
  ========================= 16 failed, 3 passed in 1.34s =========================
cannot build derivation '/nix/store/54md5nshx1x9zkvjx9r5gg62rndy710b-python3.7-pytest-astropy-0.8.0.drv': 1 dependencies couldn't be built
cannot build derivation '/nix/store/v988m5am4i1q9dq0ih3nw76yj28az5q9-python3.7-asdf-2.7.1.drv': 1 dependencies couldn't be built
cannot build derivation '/nix/store/4azldr31f5h2l4rii7p016wqkcx685r7-python3.7-pyregion-2.0.drv': 1 dependencies couldn't be built
cannot build derivation '/nix/store/9bp1zqksny329s39xj5kswrr69yby748-python3.7-radio_beam-0.3.2.drv': 1 dependencies couldn't be built
cannot build derivation '/nix/store/3m23appm45b38g9p9hzbnhzwhbymrcln-python3.7-sunpy-1.0.6.drv': 3 dependencies couldn't be built
cannot build derivation '/nix/store/fqh63yvd21rw75gbkm9g3ymjf9i6crh8-python3.7-reproject-0.7.1.drv': 1 dependencies couldn't be built
builder for '/nix/store/w99ggid30v72qgfj42g040474ilwi1aw-python3.8-pytest-astropy-header-0.1.2.drv' failed with exit code 1; last 10 log lines:
  FAILED tests/test_display.py::test_override_package_multiple[cli] - Assertion...
  FAILED tests/test_display.py::test_override_package_multiple[ini] - Assertion...
  FAILED tests/test_display.py::test_override_package_multiple[ini_list] - Asse...
  FAILED tests/test_display.py::test_override_package_multiple[conftest] - Asse...
  FAILED tests/test_display.py::test_nonexistent[cli] - AssertionError: assert ...
  FAILED tests/test_display.py::test_nonexistent[ini] - AssertionError: assert ...
  FAILED tests/test_display.py::test_nonexistent[ini_list] - AssertionError: as...
  FAILED tests/test_display.py::test_nonexistent[conftest] - AssertionError: as...
  FAILED tests/test_display.py::test_modify_in_conftest - AssertionError: asser...
  ========================= 16 failed, 3 passed in 1.25s =========================
cannot build derivation '/nix/store/xa1x7abdg8vixmn3gb7xd4v71fycy3h2-python3.8-pytest-astropy-0.8.0.drv': 1 dependencies couldn't be built
cannot build derivation '/nix/store/nnvzdl6r5lrrdj9hn6sm6bp7p5s7dabs-python3.8-asdf-2.7.1.drv': 1 dependencies couldn't be built
cannot build derivation '/nix/store/ivzzc8gmpdgx639wygrna2j5yq4bi1h5-python3.8-pyregion-2.0.drv': 1 dependencies couldn't be built
cannot build derivation '/nix/store/0rca4lpvmiklhll5xwv77q53w7v85w2m-python3.8-radio_beam-0.3.2.drv': 1 dependencies couldn't be built
cannot build derivation '/nix/store/szh1ywi3lz5fhp8iypv039qx43krrz4l-python3.8-sunpy-1.0.6.drv': 3 dependencies couldn't be built
cannot build derivation '/nix/store/xl1cqjmdh10s9dprvnxdm7br48v24k71-python3.8-reproject-0.7.1.drv': 1 dependencies couldn't be built
cannot build derivation '/nix/store/7dvid9pzbk9681nhdcwabnx9l181aa70-python3.7-aplpy-2.0.3.drv': 3 dependencies couldn't be built
cannot build derivation '/nix/store/3vb920kdfp1p1lx42bnzxiw0al3biyd6-python3.7-spectral-cube-0.4.5.drv': 3 dependencies couldn't be built
cannot build derivation '/nix/store/8ssh4vq0jqgcjv11qjk0akg20i3x6vif-python3.8-aplpy-2.0.3.drv': 3 dependencies couldn't be built
cannot build derivation '/nix/store/w3ns3z70qydpfwg7bb721qlri6212xz9-python3.8-spectral-cube-0.4.5.drv': 3 dependencies couldn't be built
cannot build derivation '/nix/store/mr4rv24a0ivjjxn9gjiq11flpmsygcnm-env.drv': 26 dependencies couldn't be built
error: --- Error ----------------------------------------------------------------------------------------------------------------------------- nix
build of '/nix/store/mr4rv24a0ivjjxn9gjiq11flpmsygcnm-env.drv' failed
26 packages failed to build:
python37Packages.aplpy python37Packages.asdf python37Packages.astroquery python37Packages.pyregion python37Packages.pytest-astropy python37Packages.pytest-astropy-header python37Packages.radio_beam python37Packages.reproject python37Packages.spectral-cube python37Packages.sunpy python38Packages.aplpy python38Packages.asdf python38Packages.astroquery python38Packages.pyregion python38Packages.pytest-astropy python38Packages.pytest-astropy-header python38Packages.radio_beam python38Packages.reproject python38Packages.spectral-cube python38Packages.sunpy python39Packages.asdf python39Packages.pyregion python39Packages.pytest-astropy python39Packages.pytest-astropy-header python39Packages.radio_beam python39Packages.reproject

15 packages built:
python37Packages.astropy python37Packages.astropy-extension-helpers python37Packages.astropy-healpix python37Packages.pyavm python37Packages.pyerfa python38Packages.astropy python38Packages.astropy-extension-helpers python38Packages.astropy-healpix python38Packages.pyavm python38Packages.pyerfa python39Packages.astropy python39Packages.astropy-extension-helpers python39Packages.astropy-healpix python39Packages.pyavm python39Packages.pyerfa

error: --- Error ----------------------------------------------------------------------------------------------------------------------------- nix
build log of '/nix/store/7dvid9pzbk9681nhdcwabnx9l181aa70-python3.7-aplpy-2.0.3.drv' is not available
error: --- Error ----------------------------------------------------------------------------------------------------------------------------- nix
build log of '/nix/store/v988m5am4i1q9dq0ih3nw76yj28az5q9-python3.7-asdf-2.7.1.drv' is not available
error: --- Error ----------------------------------------------------------------------------------------------------------------------------- nix
build log of '/nix/store/4azldr31f5h2l4rii7p016wqkcx685r7-python3.7-pyregion-2.0.drv' is not available
error: --- Error ----------------------------------------------------------------------------------------------------------------------------- nix
build log of '/nix/store/54md5nshx1x9zkvjx9r5gg62rndy710b-python3.7-pytest-astropy-0.8.0.drv' is not available
error: --- Error ----------------------------------------------------------------------------------------------------------------------------- nix
build log of '/nix/store/9bp1zqksny329s39xj5kswrr69yby748-python3.7-radio_beam-0.3.2.drv' is not available
error: --- Error ----------------------------------------------------------------------------------------------------------------------------- nix
build log of '/nix/store/fqh63yvd21rw75gbkm9g3ymjf9i6crh8-python3.7-reproject-0.7.1.drv' is not available
error: --- Error ----------------------------------------------------------------------------------------------------------------------------- nix
build log of '/nix/store/3vb920kdfp1p1lx42bnzxiw0al3biyd6-python3.7-spectral-cube-0.4.5.drv' is not available
error: --- Error ----------------------------------------------------------------------------------------------------------------------------- nix
build log of '/nix/store/3m23appm45b38g9p9hzbnhzwhbymrcln-python3.7-sunpy-1.0.6.drv' is not available
error: --- Error ----------------------------------------------------------------------------------------------------------------------------- nix
build log of '/nix/store/8ssh4vq0jqgcjv11qjk0akg20i3x6vif-python3.8-aplpy-2.0.3.drv' is not available
error: --- Error ----------------------------------------------------------------------------------------------------------------------------- nix
build log of '/nix/store/nnvzdl6r5lrrdj9hn6sm6bp7p5s7dabs-python3.8-asdf-2.7.1.drv' is not available
error: --- Error ----------------------------------------------------------------------------------------------------------------------------- nix
build log of '/nix/store/ivzzc8gmpdgx639wygrna2j5yq4bi1h5-python3.8-pyregion-2.0.drv' is not available
error: --- Error ----------------------------------------------------------------------------------------------------------------------------- nix
build log of '/nix/store/xa1x7abdg8vixmn3gb7xd4v71fycy3h2-python3.8-pytest-astropy-0.8.0.drv' is not available
error: --- Error ----------------------------------------------------------------------------------------------------------------------------- nix
build log of '/nix/store/0rca4lpvmiklhll5xwv77q53w7v85w2m-python3.8-radio_beam-0.3.2.drv' is not available
error: --- Error ----------------------------------------------------------------------------------------------------------------------------- nix
build log of '/nix/store/xl1cqjmdh10s9dprvnxdm7br48v24k71-python3.8-reproject-0.7.1.drv' is not available
error: --- Error ----------------------------------------------------------------------------------------------------------------------------- nix
build log of '/nix/store/w3ns3z70qydpfwg7bb721qlri6212xz9-python3.8-spectral-cube-0.4.5.drv' is not available
error: --- Error ----------------------------------------------------------------------------------------------------------------------------- nix
build log of '/nix/store/szh1ywi3lz5fhp8iypv039qx43krrz4l-python3.8-sunpy-1.0.6.drv' is not available
error: --- Error ----------------------------------------------------------------------------------------------------------------------------- nix
build log of '/nix/store/i4kjsjirhp78l0np3xm2d7vh3idz7kss-python3.9-asdf-2.7.1.drv' is not available
error: --- Error ----------------------------------------------------------------------------------------------------------------------------- nix
build log of '/nix/store/blpqqxzsymcl1vjcvshn216ddsn86a5z-python3.9-pyregion-2.0.drv' is not available
error: --- Error ----------------------------------------------------------------------------------------------------------------------------- nix
build log of '/nix/store/7qf7g5kcancyc0ykr0z1q2xli4ypf4i5-python3.9-pytest-astropy-0.8.0.drv' is not available
error: --- Error ----------------------------------------------------------------------------------------------------------------------------- nix
build log of '/nix/store/ldxc8fs4wspvb83a8k926n7imq02xz28-python3.9-radio_beam-0.3.2.drv' is not available
error: --- Error ----------------------------------------------------------------------------------------------------------------------------- nix
build log of '/nix/store/mmhrcpqydfd45qhrasbxyyp9cybmfdwj-python3.9-reproject-0.7.1.drv' is not available
$ nix-shell /home/mcgibbon/.cache/nixpkgs-review/rev-aaf580220588d8a83ef1aee7fe04c1e4bb43c46c/shell.nix

@rmcgibbo
Copy link
Contributor Author

Result of nixpkgs-review on x86_64 darwin:

$ nixpkgs-review rev aaf580220588d8a83ef1aee7fe04c1e4bb43c46c
$ git -c fetch.prune=false fetch --force https://github.com/NixOS/nixpkgs master:refs/nixpkgs-review/0
remote: Enumerating objects: 408, done.
remote: Counting objects: 100% (408/408), done.
remote: Compressing objects: 100% (53/53), done.
remote: Total 539 (delta 374), reused 374 (delta 355), pack-reused 131
Receiving objects: 100% (539/539), 551.50 KiB | 9.85 MiB/s, done.
Resolving deltas: 100% (382/382), completed with 183 local objects.
From https://github.com/NixOS/nixpkgs
 * [new branch]              master     -> refs/nixpkgs-review/0
$ git worktree add /Users/mcgibbon/.cache/nixpkgs-review/rev-aaf580220588d8a83ef1aee7fe04c1e4bb43c46c/nixpkgs 15b4f7e06c501bf849bc38ebd31348d617c44cd6
Preparing worktree (detached HEAD 15b4f7e06c5)
Updating files: 100% (23586/23586), done.
HEAD is now at 15b4f7e06c5 Merge pull request #107711 from r-ryantm/auto-update/iosevka-bin
$ nix-env -f /Users/mcgibbon/.cache/nixpkgs-review/rev-aaf580220588d8a83ef1aee7fe04c1e4bb43c46c/nixpkgs -qaP --xml --out-path --show-trace
$ git merge --no-commit aaf580220588d8a83ef1aee7fe04c1e4bb43c46c
Auto-merging pkgs/top-level/python-packages.nix
Automatic merge went well; stopped before committing as requested
$ nix-env -f /Users/mcgibbon/.cache/nixpkgs-review/rev-aaf580220588d8a83ef1aee7fe04c1e4bb43c46c/nixpkgs -qaP --xml --out-path --show-trace --meta
6 packages added:
python37Packages.astropy-extension-helpers (init at 0.1) python37Packages.pyerfa (init at 1.7.1.1) python38Packages.astropy-extension-helpers (init at 0.1) python38Packages.pyerfa (init at 1.7.1.1) python39Packages.astropy-extension-helpers (init at 0.1) python39Packages.pyerfa (init at 1.7.1.1)

36 packages updated:
python3.7-aplpy python3.7-asdf python3.7-astropy python3.7-astropy-healpix python3.7-astroquery python3.7-pyavm python3.7-pyregion python3.7-pytest-astropy python3.7-pytest-astropy-header python3.7-radio_beam python3.7-reproject python3.7-spectral-cube python3.7-sunpy python3.8-aplpy python3.8-asdf python3.8-astropy python3.8-astropy-healpix python3.8-astroquery python3.8-pyavm python3.8-pyregion python3.8-pytest-astropy python3.8-pytest-astropy-header python3.8-radio_beam python3.8-reproject python3.8-spectral-cube python3.8-sunpy python3.9-asdf python3.9-astropy python3.9-astropy-healpix python3.9-astroquery python3.9-pyavm python3.9-pyregion python3.9-pytest-astropy python3.9-pytest-astropy-header python3.9-radio_beam python3.9-reproject

$ nix --experimental-features nix-command build --no-link --keep-going --option build-use-sandbox relaxed -f /Users/mcgibbon/.cache/nixpkgs-review/rev-aaf580220588d8a83ef1aee7fe04c1e4bb43c46c/build.nix
error: --- Error ---------------------------------------------------------------------------------------------------------------------------------------------------------------- nix
builder for '/nix/store/hzxypnwgjbsz0k0a657ypm68cvyaxaj7-python3.7-Shapely-1.7.1.drv' failed with exit code 4; last 10 log lines:
  Finished executing pythonRemoveTestsDir
  running install tests
  ImportError while loading conftest '/private/tmp/nix-build-python3.7-Shapely-1.7.1.drv-0/Shapely-1.7.1/tests/conftest.py'.
  tests/__init__.py:4: in <module>
      from shapely.geos import geos_version_string, lgeos, WKTWriter
  /nix/store/xx19g23qsfv0b446x3d49lfbdkj8c7w2-python3.7-Shapely-1.7.1/lib/python3.7/site-packages/shapely/geos.py:65: in <module>
      free = CDLL('/nix/store/r913a0b23i21r8y4x8kgx024gms9lvx9-Libsystem-osx-10.12.6/lib/libc.dylib').free
  /nix/store/3sasd2yg0np2wpbkxz84sp7bhw02grvh-python3-3.7.9/lib/python3.7/ctypes/__init__.py:364: in __init__
      self._handle = _dlopen(self._name, mode)
  E   OSError: dlopen(/nix/store/r913a0b23i21r8y4x8kgx024gms9lvx9-Libsystem-osx-10.12.6/lib/libc.dylib, 6): image not found
error: --- Error ---------------------------------------------------------------------------------------------------------------------------------------------------------------- nix
builder for '/nix/store/f3rgvqlh3mbs5a2rrk9vi0i744m07hh5-python3.7-drms-0.6.0.drv' failed with exit code 1; last 10 log lines:
  strip: can't process non-object and non-archive file: /nix/store/sh50sjj6fijqyz3gk5763d56xprvgxhx-python3.7-drms-0.6.0/lib/python3.7/site-packages/drms-0.6.0.dist-info/top_level.txt
  strip: can't process non-object and non-archive file: /nix/store/sh50sjj6fijqyz3gk5763d56xprvgxhx-python3.7-drms-0.6.0/lib/python3.7/site-packages/drms-0.6.0.dist-info/WHEEL
  strip: can't process non-object and non-archive file: /nix/store/sh50sjj6fijqyz3gk5763d56xprvgxhx-python3.7-drms-0.6.0/bin/drms
  patching script interpreter paths in /nix/store/sh50sjj6fijqyz3gk5763d56xprvgxhx-python3.7-drms-0.6.0
  Rewriting #!/nix/store/3sasd2yg0np2wpbkxz84sp7bhw02grvh-python3-3.7.9/bin/python3.7 to #!/nix/store/3sasd2yg0np2wpbkxz84sp7bhw02grvh-python3-3.7.9
  wrapping `/nix/store/sh50sjj6fijqyz3gk5763d56xprvgxhx-python3.7-drms-0.6.0/bin/drms'...
  Executing pythonRemoveTestsDir
  Finished executing pythonRemoveTestsDir
  running install tests
  /nix/store/3sasd2yg0np2wpbkxz84sp7bhw02grvh-python3-3.7.9/bin/python3.7: No module named drms.tests.__main__; 'drms.tests' is a package and cannot be directly executed
error: --- Error ---------------------------------------------------------------------------------------------------------------------------------------------------------------- nix
builder for '/nix/store/p01r23zxph6pw5hghmikj8vsflsz7l6a-python3.8-Shapely-1.7.1.drv' failed with exit code 4; last 10 log lines:
  Finished executing pythonRemoveTestsDir
  running install tests
  ImportError while loading conftest '/private/tmp/nix-build-python3.8-Shapely-1.7.1.drv-0/Shapely-1.7.1/tests/conftest.py'.
  tests/__init__.py:4: in <module>
      from shapely.geos import geos_version_string, lgeos, WKTWriter
  /nix/store/5bmxxxidjq5fg1azq0drc87rdswprw8d-python3.8-Shapely-1.7.1/lib/python3.8/site-packages/shapely/geos.py:65: in <module>
      free = CDLL('/nix/store/r913a0b23i21r8y4x8kgx024gms9lvx9-Libsystem-osx-10.12.6/lib/libc.dylib').free
  /nix/store/v3qi2n1cb9bj8h3076p3rz5fg0kpzz53-python3-3.8.6/lib/python3.8/ctypes/__init__.py:373: in __init__
      self._handle = _dlopen(self._name, mode)
  E   OSError: dlopen(/nix/store/r913a0b23i21r8y4x8kgx024gms9lvx9-Libsystem-osx-10.12.6/lib/libc.dylib, 6): image not found
error: --- Error ---------------------------------------------------------------------------------------------------------------------------------------------------------------- nix
builder for '/nix/store/pycfa2a3dzwf1z95z6vdx3f8faqrvfpf-python3.8-drms-0.6.0.drv' failed with exit code 1; last 10 log lines:
  strip: can't process non-object and non-archive file: /nix/store/fbrwk1nrbz2ydfrk1zvlf9a768bmar94-python3.8-drms-0.6.0/lib/python3.8/site-packages/drms-0.6.0.dist-info/top_level.txt
  strip: can't process non-object and non-archive file: /nix/store/fbrwk1nrbz2ydfrk1zvlf9a768bmar94-python3.8-drms-0.6.0/lib/python3.8/site-packages/drms-0.6.0.dist-info/WHEEL
  strip: can't process non-object and non-archive file: /nix/store/fbrwk1nrbz2ydfrk1zvlf9a768bmar94-python3.8-drms-0.6.0/bin/drms
  patching script interpreter paths in /nix/store/fbrwk1nrbz2ydfrk1zvlf9a768bmar94-python3.8-drms-0.6.0
  Rewriting #!/nix/store/v3qi2n1cb9bj8h3076p3rz5fg0kpzz53-python3-3.8.6/bin/python3.8 to #!/nix/store/v3qi2n1cb9bj8h3076p3rz5fg0kpzz53-python3-3.8.6
  wrapping `/nix/store/fbrwk1nrbz2ydfrk1zvlf9a768bmar94-python3.8-drms-0.6.0/bin/drms'...
  Executing pythonRemoveTestsDir
  Finished executing pythonRemoveTestsDir
  running install tests
  /nix/store/v3qi2n1cb9bj8h3076p3rz5fg0kpzz53-python3-3.8.6/bin/python3.8: No module named drms.tests.__main__; 'drms.tests' is a package and cannot be directly executed
error: --- Error ---------------------------------------------------------------------------------------------------------------------------------------------------------------- nix
builder for '/nix/store/ybyskbpzpqvgqykdwj4fx2nkih99ksb5-python3.7-astroquery-0.4.1.drv' failed with exit code 1; last 10 log lines:
  /private/tmp/nix-build-python3.7-astroquery-0.4.1.drv-0/astroquery-0.4.1/dist /private/tmp/nix-build-python3.7-astroquery-0.4.1.drv-0/astroquery-0.4.1
  Processing ./astroquery-0.4.1-py3-none-any.whl
  Requirement already satisfied: beautifulsoup4>=4.3.2 in /nix/store/09p41py3kbbcsvn34cx1w3psxig2diw0-python3.7-beautifulsoup4-4.9.3/lib/python3.7/site-packages (from astroquery==0.4.1) (4.9.3)
  Requirement already satisfied: numpy in /nix/store/xqqics42949sjq985zwkqc66hipl0652-python3.7-numpy-1.19.4/lib/python3.7/site-packages (from astroquery==0.4.1) (1.19.4)
  Requirement already satisfied: six in /nix/store/zps19xlw9bzr2kb7x9h26y72bz3xq146-python3.7-six-1.15.0/lib/python3.7/site-packages (from astroquery==0.4.1) (1.15.0)
  Requirement already satisfied: keyring>=4.0 in /nix/store/7aga2ln5y6lmm5gcmfpfkz7crf5cpzc5-python3.7-keyring-21.5.0/lib/python3.7/site-packages (from astroquery==0.4.1) (21.5.0)
  Requirement already satisfied: requests>=2.4.3 in /nix/store/9ks0ngbjxcm3cw12iswashcb162ifxi5-python3.7-requests-2.25.0/lib/python3.7/site-packages (from astroquery==0.4.1) (2.25.0)
  Requirement already satisfied: html5lib>=0.999 in /nix/store/nbzgjgjbbgy08i7ml2iwx0caww8z5id2-python3.7-html5lib-1.1/lib/python3.7/site-packages (from astroquery==0.4.1) (1.1)
  ERROR: Could not find a version that satisfies the requirement astropy>=3.1 (from astroquery)
  ERROR: No matching distribution found for astropy>=3.1
error: --- Error ---------------------------------------------------------------------------------------------------------------------------------------------------------------- nix
builder for '/nix/store/x4n73z4c4pqxkfriiyi7jqpw1vr0chf2-python3.7-pytest-astropy-header-0.1.2.drv' failed with exit code 1; last 10 log lines:
  FAILED tests/test_display.py::test_override_package_multiple[cli] - Assertion...
  FAILED tests/test_display.py::test_override_package_multiple[ini] - Assertion...
  FAILED tests/test_display.py::test_override_package_multiple[ini_list] - Asse...
  FAILED tests/test_display.py::test_override_package_multiple[conftest] - Asse...
  FAILED tests/test_display.py::test_nonexistent[cli] - AssertionError: assert ...
  FAILED tests/test_display.py::test_nonexistent[ini] - AssertionError: assert ...
  FAILED tests/test_display.py::test_nonexistent[ini_list] - AssertionError: as...
  FAILED tests/test_display.py::test_nonexistent[conftest] - AssertionError: as...
  FAILED tests/test_display.py::test_modify_in_conftest - AssertionError: asser...
  ========================= 16 failed, 3 passed in 2.07s =========================
error: --- Error ---------------------------------------------------------------------------------------------------------------------------------------------------------------- nix
1 dependencies of derivation '/nix/store/b431kwjyhbm8xhx0a8r8r715m135r9g5-python3.7-pytest-astropy-0.8.0.drv' failed to build
error: --- Error ---------------------------------------------------------------------------------------------------------------------------------------------------------------- nix
1 dependencies of derivation '/nix/store/mq2icysq7yyqlsy9bbn3ariwz04wa7hr-python3.7-asdf-2.7.1.drv' failed to build
error: --- Error ---------------------------------------------------------------------------------------------------------------------------------------------------------------- nix
1 dependencies of derivation '/nix/store/wqsaw5dag00kvhqn0h9zraww9xl6dvbq-python3.7-pyregion-2.0.drv' failed to build
error: --- Error ---------------------------------------------------------------------------------------------------------------------------------------------------------------- nix
1 dependencies of derivation '/nix/store/7inqpsxxdccjg53lig6d2p7sapah8ngd-python3.7-radio_beam-0.3.2.drv' failed to build
error: --- Error ---------------------------------------------------------------------------------------------------------------------------------------------------------------- nix
1 dependencies of derivation '/nix/store/wy00s8aajpbrjjkj77lkjqfvjmj3h74n-python3.7-reproject-0.7.1.drv' failed to build
error: --- Error ---------------------------------------------------------------------------------------------------------------------------------------------------------------- nix
4 dependencies of derivation '/nix/store/pmr65j11wsnxhcr65vh0d32hmyks5pws-python3.7-aplpy-2.0.3.drv' failed to build
error: --- Error ---------------------------------------------------------------------------------------------------------------------------------------------------------------- nix
2 dependencies of derivation '/nix/store/rliyj37jz2nfxiz0jzi860lnd793qcpx-python3.7-sunpy-1.0.6.drv' failed to build
error: --- Error ---------------------------------------------------------------------------------------------------------------------------------------------------------------- nix
3 dependencies of derivation '/nix/store/33xzq88wi7pkdadqm3p4hqdyfrpgr68m-python3.7-spectral-cube-0.4.5.drv' failed to build
error: --- Error ---------------------------------------------------------------------------------------------------------------------------------------------------------------- nix
builder for '/nix/store/pqgbsjjqg98sg232ri0srcpw418iin4j-python3.8-astroquery-0.4.1.drv' failed with exit code 1; last 10 log lines:
  Executing pipInstallPhase
  /private/tmp/nix-build-python3.8-astroquery-0.4.1.drv-0/astroquery-0.4.1/dist /private/tmp/nix-build-python3.8-astroquery-0.4.1.drv-0/astroquery-0.4.1
  Processing ./astroquery-0.4.1-py3-none-any.whl
  Requirement already satisfied: six in /nix/store/rpmwa5c6jf8zjmqh46fcxc4l1zrjff0v-python3.8-six-1.15.0/lib/python3.8/site-packages (from astroquery==0.4.1) (1.15.0)
  Requirement already satisfied: html5lib>=0.999 in /nix/store/jzi6j09wnz2icck08hrfsi6wx9l33yn5-python3.8-html5lib-1.1/lib/python3.8/site-packages (from astroquery==0.4.1) (1.1)
  Requirement already satisfied: keyring>=4.0 in /nix/store/fiiah9lrmg2cxiamklmg05x527abidyr-python3.8-keyring-21.5.0/lib/python3.8/site-packages (from astroquery==0.4.1) (21.5.0)
  Requirement already satisfied: numpy in /nix/store/6rkgcj0i8rj4ym8bi309kq021aqmqk5m-python3.8-numpy-1.19.4/lib/python3.8/site-packages (from astroquery==0.4.1) (1.19.4)
  Requirement already satisfied: beautifulsoup4>=4.3.2 in /nix/store/pk3aam069d766akxxs5wfdralilyx0az-python3.8-beautifulsoup4-4.9.3/lib/python3.8/site-packages (from astroquery==0.4.1) (4.9.3)
  ERROR: Could not find a version that satisfies the requirement astropy>=3.1 (from astroquery)
  ERROR: No matching distribution found for astropy>=3.1
error: --- Error ---------------------------------------------------------------------------------------------------------------------------------------------------------------- nix
builder for '/nix/store/k596zs2addg03rar4qs4kipfmmkwzvi6-python3.8-pytest-astropy-header-0.1.2.drv' failed with exit code 1; last 10 log lines:
  FAILED tests/test_display.py::test_override_package_multiple[cli] - Assertion...
  FAILED tests/test_display.py::test_override_package_multiple[ini] - Assertion...
  FAILED tests/test_display.py::test_override_package_multiple[ini_list] - Asse...
  FAILED tests/test_display.py::test_override_package_multiple[conftest] - Asse...
  FAILED tests/test_display.py::test_nonexistent[cli] - AssertionError: assert ...
  FAILED tests/test_display.py::test_nonexistent[ini] - AssertionError: assert ...
  FAILED tests/test_display.py::test_nonexistent[ini_list] - AssertionError: as...
  FAILED tests/test_display.py::test_nonexistent[conftest] - AssertionError: as...
  FAILED tests/test_display.py::test_modify_in_conftest - AssertionError: asser...
  ========================= 16 failed, 3 passed in 2.04s =========================
error: --- Error ---------------------------------------------------------------------------------------------------------------------------------------------------------------- nix
1 dependencies of derivation '/nix/store/rbjn96q67ly4k0qx1n9vhmzjsb4dcf9x-python3.8-pytest-astropy-0.8.0.drv' failed to build
error: --- Error ---------------------------------------------------------------------------------------------------------------------------------------------------------------- nix
1 dependencies of derivation '/nix/store/wpns5jcs5171v3l5mlrajyvf7rybjy24-python3.8-asdf-2.7.1.drv' failed to build
error: --- Error ---------------------------------------------------------------------------------------------------------------------------------------------------------------- nix
1 dependencies of derivation '/nix/store/n30rslas6v19ipiv1r8dizbyjp22irgw-python3.8-pyregion-2.0.drv' failed to build
error: --- Error ---------------------------------------------------------------------------------------------------------------------------------------------------------------- nix
1 dependencies of derivation '/nix/store/5pw8s9dq68pccfmlln5361liyh840khv-python3.8-radio_beam-0.3.2.drv' failed to build
error: --- Error ---------------------------------------------------------------------------------------------------------------------------------------------------------------- nix
1 dependencies of derivation '/nix/store/hl7wkp9dzmz9dk0ln3nkkxsl15s5vp7l-python3.8-reproject-0.7.1.drv' failed to build
error: --- Error ---------------------------------------------------------------------------------------------------------------------------------------------------------------- nix
4 dependencies of derivation '/nix/store/jins4wxi59x8wapp0h6j6vyg3bgaycx8-python3.8-aplpy-2.0.3.drv' failed to build
error: --- Error ---------------------------------------------------------------------------------------------------------------------------------------------------------------- nix
2 dependencies of derivation '/nix/store/7p2aa224fddq0y2wpsr3py8alrhz52lh-python3.8-sunpy-1.0.6.drv' failed to build
error: --- Error ---------------------------------------------------------------------------------------------------------------------------------------------------------------- nix
3 dependencies of derivation '/nix/store/q8inbwl22grvvx130v506fhn4hhlwpl1-python3.8-spectral-cube-0.4.5.drv' failed to build
error: --- Error ---------------------------------------------------------------------------------------------------------------------------------------------------------------- nix
builder for '/nix/store/c8q0yadpha0aaldr4l32mqbm3nx0wak5-python3.9-astroquery-0.4.1.drv' failed with exit code 1; last 10 log lines:
  Executing pipInstallPhase
  /private/tmp/nix-build-python3.9-astroquery-0.4.1.drv-0/astroquery-0.4.1/dist /private/tmp/nix-build-python3.9-astroquery-0.4.1.drv-0/astroquery-0.4.1
  Processing ./astroquery-0.4.1-py3-none-any.whl
  Requirement already satisfied: keyring>=4.0 in /nix/store/rfppnjb1z277b9x18gykn0yr0lb686m1-python3.9-keyring-21.5.0/lib/python3.9/site-packages (from astroquery==0.4.1) (21.5.0)
  Requirement already satisfied: beautifulsoup4>=4.3.2 in /nix/store/mhczipdkgdb3mn0bg80y4pdfdk94brbj-python3.9-beautifulsoup4-4.9.3/lib/python3.9/site-packages (from astroquery==0.4.1) (4.9.3)
  Requirement already satisfied: html5lib>=0.999 in /nix/store/pv8249hl9gva0nng264p313ab4vxggd1-python3.9-html5lib-1.1/lib/python3.9/site-packages (from astroquery==0.4.1) (1.1)
  Requirement already satisfied: six in /nix/store/aa9mwhdqlywm144iwf0n2zs8laimn4kp-python3.9-six-1.15.0/lib/python3.9/site-packages (from astroquery==0.4.1) (1.15.0)
  Requirement already satisfied: numpy in /nix/store/7dh0935x2x0kv1mkr313fba14pyb8ywl-python3.9-numpy-1.19.4/lib/python3.9/site-packages (from astroquery==0.4.1) (1.19.4)
  ERROR: Could not find a version that satisfies the requirement astropy>=3.1 (from astroquery)
  ERROR: No matching distribution found for astropy>=3.1
error: --- Error ---------------------------------------------------------------------------------------------------------------------------------------------------------------- nix
builder for '/nix/store/mbk2pz01y03csl8jxjjw5wlazkazsizw-python3.9-pytest-astropy-header-0.1.2.drv' failed with exit code 1; last 10 log lines:
  FAILED tests/test_display.py::test_override_package_multiple[cli] - Assertion...
  FAILED tests/test_display.py::test_override_package_multiple[ini] - Assertion...
  FAILED tests/test_display.py::test_override_package_multiple[ini_list] - Asse...
  FAILED tests/test_display.py::test_override_package_multiple[conftest] - Asse...
  FAILED tests/test_display.py::test_nonexistent[cli] - AssertionError: assert ...
  FAILED tests/test_display.py::test_nonexistent[ini] - AssertionError: assert ...
  FAILED tests/test_display.py::test_nonexistent[ini_list] - AssertionError: as...
  FAILED tests/test_display.py::test_nonexistent[conftest] - AssertionError: as...
  FAILED tests/test_display.py::test_modify_in_conftest - AssertionError: asser...
  ========================= 16 failed, 3 passed in 2.14s =========================
error: --- Error ---------------------------------------------------------------------------------------------------------------------------------------------------------------- nix
1 dependencies of derivation '/nix/store/dxrxx7qw75mrp4blhdxawqq661d3j14f-python3.9-pytest-astropy-0.8.0.drv' failed to build
error: --- Error ---------------------------------------------------------------------------------------------------------------------------------------------------------------- nix
1 dependencies of derivation '/nix/store/5qr54xsh3f54crbwbikbm7wx9kwjvfk7-python3.9-asdf-2.7.1.drv' failed to build
error: --- Error ---------------------------------------------------------------------------------------------------------------------------------------------------------------- nix
1 dependencies of derivation '/nix/store/d2f0r9d0l6w11bhj1nla95vnp4csba4s-python3.9-pyregion-2.0.drv' failed to build
error: --- Error ---------------------------------------------------------------------------------------------------------------------------------------------------------------- nix
1 dependencies of derivation '/nix/store/iz6s2dm7vp8jncbcggjyflswq1jvs0hc-python3.9-radio_beam-0.3.2.drv' failed to build
error: --- Error ---------------------------------------------------------------------------------------------------------------------------------------------------------------- nix
1 dependencies of derivation '/nix/store/w2l8nvvxcsqvjayyaaxn1xv7fhs01683-python3.9-reproject-0.7.1.drv' failed to build
error: --- Error ---------------------------------------------------------------------------------------------------------------------------------------------------------------- nix
27 dependencies of derivation '/nix/store/x1k7bi69yyvgf75vn7n2vld2pzc2iajy-env.drv' failed to build
27 packages failed to build:
python37Packages.aplpy python37Packages.asdf python37Packages.astroquery python37Packages.pyregion python37Packages.pytest-astropy python37Packages.pytest-astropy-header python37Packages.radio_beam python37Packages.reproject python37Packages.spectral-cube python37Packages.sunpy python38Packages.aplpy python38Packages.asdf python38Packages.astroquery python38Packages.pyregion python38Packages.pytest-astropy python38Packages.pytest-astropy-header python38Packages.radio_beam python38Packages.reproject python38Packages.spectral-cube python38Packages.sunpy python39Packages.asdf python39Packages.astroquery python39Packages.pyregion python39Packages.pytest-astropy python39Packages.pytest-astropy-header python39Packages.radio_beam python39Packages.reproject

15 packages built:
python37Packages.astropy python37Packages.astropy-extension-helpers python37Packages.astropy-healpix python37Packages.pyavm python37Packages.pyerfa python38Packages.astropy python38Packages.astropy-extension-helpers python38Packages.astropy-healpix python38Packages.pyavm python38Packages.pyerfa python39Packages.astropy python39Packages.astropy-extension-helpers python39Packages.astropy-healpix python39Packages.pyavm python39Packages.pyerfa

error: --- Error ---------------------------------------------------------------------------------------------------------------------------------------------------------------- nix
build log of '/nix/store/pmr65j11wsnxhcr65vh0d32hmyks5pws-python3.7-aplpy-2.0.3.drv' is not available
error: --- Error ---------------------------------------------------------------------------------------------------------------------------------------------------------------- nix
build log of '/nix/store/mq2icysq7yyqlsy9bbn3ariwz04wa7hr-python3.7-asdf-2.7.1.drv' is not available
error: --- Error ---------------------------------------------------------------------------------------------------------------------------------------------------------------- nix
build log of '/nix/store/wqsaw5dag00kvhqn0h9zraww9xl6dvbq-python3.7-pyregion-2.0.drv' is not available
error: --- Error ---------------------------------------------------------------------------------------------------------------------------------------------------------------- nix
build log of '/nix/store/b431kwjyhbm8xhx0a8r8r715m135r9g5-python3.7-pytest-astropy-0.8.0.drv' is not available
error: --- Error ---------------------------------------------------------------------------------------------------------------------------------------------------------------- nix
build log of '/nix/store/7inqpsxxdccjg53lig6d2p7sapah8ngd-python3.7-radio_beam-0.3.2.drv' is not available
error: --- Error ---------------------------------------------------------------------------------------------------------------------------------------------------------------- nix
build log of '/nix/store/wy00s8aajpbrjjkj77lkjqfvjmj3h74n-python3.7-reproject-0.7.1.drv' is not available
error: --- Error ---------------------------------------------------------------------------------------------------------------------------------------------------------------- nix
build log of '/nix/store/33xzq88wi7pkdadqm3p4hqdyfrpgr68m-python3.7-spectral-cube-0.4.5.drv' is not available
error: --- Error ---------------------------------------------------------------------------------------------------------------------------------------------------------------- nix
build log of '/nix/store/rliyj37jz2nfxiz0jzi860lnd793qcpx-python3.7-sunpy-1.0.6.drv' is not available
error: --- Error ---------------------------------------------------------------------------------------------------------------------------------------------------------------- nix
build log of '/nix/store/jins4wxi59x8wapp0h6j6vyg3bgaycx8-python3.8-aplpy-2.0.3.drv' is not available
error: --- Error ---------------------------------------------------------------------------------------------------------------------------------------------------------------- nix
build log of '/nix/store/wpns5jcs5171v3l5mlrajyvf7rybjy24-python3.8-asdf-2.7.1.drv' is not available
error: --- Error ---------------------------------------------------------------------------------------------------------------------------------------------------------------- nix
build log of '/nix/store/n30rslas6v19ipiv1r8dizbyjp22irgw-python3.8-pyregion-2.0.drv' is not available
error: --- Error ---------------------------------------------------------------------------------------------------------------------------------------------------------------- nix
build log of '/nix/store/rbjn96q67ly4k0qx1n9vhmzjsb4dcf9x-python3.8-pytest-astropy-0.8.0.drv' is not available
error: --- Error ---------------------------------------------------------------------------------------------------------------------------------------------------------------- nix
build log of '/nix/store/5pw8s9dq68pccfmlln5361liyh840khv-python3.8-radio_beam-0.3.2.drv' is not available
error: --- Error ---------------------------------------------------------------------------------------------------------------------------------------------------------------- nix
build log of '/nix/store/hl7wkp9dzmz9dk0ln3nkkxsl15s5vp7l-python3.8-reproject-0.7.1.drv' is not available
error: --- Error ---------------------------------------------------------------------------------------------------------------------------------------------------------------- nix
build log of '/nix/store/q8inbwl22grvvx130v506fhn4hhlwpl1-python3.8-spectral-cube-0.4.5.drv' is not available
error: --- Error ---------------------------------------------------------------------------------------------------------------------------------------------------------------- nix
build log of '/nix/store/7p2aa224fddq0y2wpsr3py8alrhz52lh-python3.8-sunpy-1.0.6.drv' is not available
error: --- Error ---------------------------------------------------------------------------------------------------------------------------------------------------------------- nix
build log of '/nix/store/5qr54xsh3f54crbwbikbm7wx9kwjvfk7-python3.9-asdf-2.7.1.drv' is not available
error: --- Error ---------------------------------------------------------------------------------------------------------------------------------------------------------------- nix
build log of '/nix/store/d2f0r9d0l6w11bhj1nla95vnp4csba4s-python3.9-pyregion-2.0.drv' is not available
error: --- Error ---------------------------------------------------------------------------------------------------------------------------------------------------------------- nix
build log of '/nix/store/dxrxx7qw75mrp4blhdxawqq661d3j14f-python3.9-pytest-astropy-0.8.0.drv' is not available
error: --- Error ---------------------------------------------------------------------------------------------------------------------------------------------------------------- nix
build log of '/nix/store/iz6s2dm7vp8jncbcggjyflswq1jvs0hc-python3.9-radio_beam-0.3.2.drv' is not available
error: --- Error ---------------------------------------------------------------------------------------------------------------------------------------------------------------- nix
build log of '/nix/store/w2l8nvvxcsqvjayyaaxn1xv7fhs01683-python3.9-reproject-0.7.1.drv' is not available
$ nix-shell /Users/mcgibbon/.cache/nixpkgs-review/rev-aaf580220588d8a83ef1aee7fe04c1e4bb43c46c/shell.nix

@rmcgibbo
Copy link
Contributor Author

@jonringer: Comments addressed in force push.

It appears that the package isn't advertising its version number correctly, which is causing at least one of the downstream packages to fail (astroquery).

[nix-shell:~/nixcfg/debug]$ python -c 'from importlib import metadata; print(metadata.version("astropy"))'
0.0.0

@Mic92
Copy link
Member

Mic92 commented Dec 28, 2020

@jonringer: Comments addressed in force push.

It appears that the package isn't advertising its version number correctly, which is causing at least one of the downstream packages to fail (astroquery).

[nix-shell:~/nixcfg/debug]$ python -c 'from importlib import metadata; print(metadata.version("astropy"))'
0.0.0

I think it uses setuptools-scm to get the version from git tags.
You need to export it as an environment variable during the build. You can achieve this by adding

SETUPTOOLS_SCM_PRETEND_VERSION = version;

to the expression: https://pypi.org/project/setuptools-scm/

@rmcgibbo
Copy link
Contributor Author

Thanks for the tip, @Mic92. A bunch of commits later, I think I've fixed most of the astropy ecosystem now. 🤕

@ofborg ofborg bot requested review from costrouc and smaret December 28, 2020 20:43
@rmcgibbo
Copy link
Contributor Author

Result of nixpkgs-review pr 107770 run on x86_64-linux 1

37 packages built:
  • python37Packages.aplpy
  • python37Packages.asdf
  • python37Packages.astropy
  • python37Packages.astropy-extension-helpers
  • python37Packages.astropy-healpix
  • python37Packages.astroquery
  • python37Packages.drms
  • python37Packages.pyavm
  • python37Packages.pyerfa
  • python37Packages.pyregion
  • python37Packages.pytest-astropy
  • python37Packages.pytest-astropy-header
  • python37Packages.radio_beam
  • python37Packages.reproject
  • python37Packages.spectral-cube
  • python37Packages.sunpy
  • python38Packages.aplpy
  • python38Packages.asdf
  • python38Packages.astropy
  • python38Packages.astropy-extension-helpers
  • python38Packages.astropy-healpix
  • python38Packages.astroquery
  • python38Packages.drms
  • python38Packages.pyavm
  • python38Packages.pyerfa
  • python38Packages.pyregion
  • python38Packages.pytest-astropy
  • python38Packages.pytest-astropy-header
  • python38Packages.radio_beam
  • python38Packages.reproject
  • python38Packages.spectral-cube
  • python38Packages.sunpy
  • python39Packages.astropy
  • python39Packages.astropy-extension-helpers
  • python39Packages.astropy-healpix
  • python39Packages.pyavm
  • python39Packages.pyerfa

1 similar comment
@Mic92
Copy link
Member

Mic92 commented Dec 30, 2020

Result of nixpkgs-review pr 107770 run on x86_64-linux 1

37 packages built:
  • python37Packages.aplpy
  • python37Packages.asdf
  • python37Packages.astropy
  • python37Packages.astropy-extension-helpers
  • python37Packages.astropy-healpix
  • python37Packages.astroquery
  • python37Packages.drms
  • python37Packages.pyavm
  • python37Packages.pyerfa
  • python37Packages.pyregion
  • python37Packages.pytest-astropy
  • python37Packages.pytest-astropy-header
  • python37Packages.radio_beam
  • python37Packages.reproject
  • python37Packages.spectral-cube
  • python37Packages.sunpy
  • python38Packages.aplpy
  • python38Packages.asdf
  • python38Packages.astropy
  • python38Packages.astropy-extension-helpers
  • python38Packages.astropy-healpix
  • python38Packages.astroquery
  • python38Packages.drms
  • python38Packages.pyavm
  • python38Packages.pyerfa
  • python38Packages.pyregion
  • python38Packages.pytest-astropy
  • python38Packages.pytest-astropy-header
  • python38Packages.radio_beam
  • python38Packages.reproject
  • python38Packages.spectral-cube
  • python38Packages.sunpy
  • python39Packages.astropy
  • python39Packages.astropy-extension-helpers
  • python39Packages.astropy-healpix
  • python39Packages.pyavm
  • python39Packages.pyerfa

@Mic92 Mic92 merged commit c461a5d into NixOS:master Dec 30, 2020
@rmcgibbo rmcgibbo deleted the astropy branch December 31, 2020 04:58
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants