Skip to content

Conversation

@thunze
Copy link
Member

@thunze thunze commented Aug 31, 2025

Fix the build, enable more tests by updating nativeCheckInputs to match upstream, and add pythonImportsCheck.

Update to 1.6.1 is currently blocked by pybind11>=3 not being in nixpkgs yet. See #438171, #419220 for tracking.

Hydra: https://hydra.nixos.org/build/305903614

Things done

  • Built on platform:
    • x86_64-linux
    • aarch64-linux
    • x86_64-darwin
    • aarch64-darwin
  • Tested, as applicable:
  • Ran nixpkgs-review on this PR. See nixpkgs-review usage.
  • Tested basic functionality of all binary files, usually in ./result/bin/.
  • Nixpkgs Release Notes
    • Package update: when the change is major or breaking.
  • NixOS Release Notes
    • Module addition: when adding a new NixOS module.
    • Module update: when the change is significant.
  • Fits CONTRIBUTING.md, pkgs/README.md, maintainers/README.md and other READMEs.

Add a 👍 reaction to pull requests you find important.

@nixpkgs-ci nixpkgs-ci bot added 10.rebuild-linux: 11-100 This PR causes between 11 and 100 packages to rebuild on Linux. 10.rebuild-darwin: 11-100 This PR causes between 11 and 100 packages to rebuild on Darwin. 6.topic: python Python is a high-level, general-purpose programming language. labels Aug 31, 2025
@nix-owners nix-owners bot requested a review from veprbl August 31, 2025 09:21
@thunze
Copy link
Member Author

thunze commented Aug 31, 2025

Build failures are unrelated as far as I can tell.

nixpkgs-review result

Generated using nixpkgs-review-gha

Command: nixpkgs-review pr 438836
Commit: fff3dacf2dc25bd91817550aef82a85aeb634ea0 (subsequent changes)
Merge: 742f72d619edcfbfbec9b732e2f64997b338a20b

Logs: https://github.com/thunze/nixpkgs-review-gha/actions/runs/17355154909


x86_64-linux

❌ 24 packages failed to build:
  • python312Packages.coffea
  • python312Packages.coffea.dist
  • python312Packages.dask-awkward
  • python312Packages.dask-awkward.dist
  • python312Packages.dask-histogram
  • python312Packages.dask-histogram.dist
  • python312Packages.fastjet
  • python312Packages.fastjet.dist
  • python312Packages.mplhep
  • python312Packages.mplhep.dist
  • python312Packages.vector
  • python312Packages.vector.dist
  • python313Packages.coffea
  • python313Packages.coffea.dist
  • python313Packages.dask-awkward
  • python313Packages.dask-awkward.dist
  • python313Packages.dask-histogram
  • python313Packages.dask-histogram.dist
  • python313Packages.fastjet
  • python313Packages.fastjet.dist
  • python313Packages.mplhep
  • python313Packages.mplhep.dist
  • python313Packages.vector
  • python313Packages.vector.dist
✅ 8 packages built:
  • python312Packages.boost-histogram
  • python312Packages.boost-histogram.dist
  • python312Packages.hist
  • python312Packages.hist.dist
  • python313Packages.boost-histogram
  • python313Packages.boost-histogram.dist
  • python313Packages.hist
  • python313Packages.hist.dist

Error logs: `x86_64-linux`
python312Packages.dask-awkward
Running phase: configurePhase
@nix { "action": "setPhase", "phase": "configurePhase" }
no configure script, doing nothing
Running phase: buildPhase
@nix { "action": "setPhase", "phase": "buildPhase" }
Executing pypaBuildPhase
Setting SETUPTOOLS_SCM_PRETEND_VERSION to 2025.5.0
Including all tracked files automatically
Creating a wheel...
pypa build flags: --no-isolation --outdir dist/ --wheel
* Getting build dependencies for wheel...
* Building wheel...
Successfully built dask_awkward-2025.5.0-py3-none-any.whl
Finished creating a wheel...
Finished executing pypaBuildPhase
Running phase: pythonRuntimeDepsCheckHook
@nix { "action": "setPhase", "phase": "pythonRuntimeDepsCheckHook" }
Executing pythonRuntimeDepsCheck
Checking runtime dependencies for dask_awkward-2025.5.0-py3-none-any.whl
  - dask<2025.4.0,>=2023.04.0 not satisfied by version 2025.7.0
python312Packages.mplhep
configfile: pyproject.toml
plugins: mock-3.14.1, mpl-0.17.0
collecting ... 
collected 159 items / 1 error                                                  

==================================== ERRORS ====================================
____________________ ERROR collecting tests/test_inputs.py _____________________
ImportError while importing test module '/build/source/tests/test_inputs.py'.
Hint: make sure your test modules/packages have valid Python names.
Traceback:
/nix/store/18l19gnl8dq75v6knghbcgkrikmpc0yv-python3-3.12.11/lib/python3.12/importlib/init.py:90: in import_module
return _bootstrap._gcd_import(name[level:], package, level)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
tests/test_inputs.py:14: in <module>
import uproot4
E ModuleNotFoundError: No module named 'uproot4'
=========================== short test summary info ============================
ERROR tests/test_inputs.py
!!!!!!!!!!!!!!!!!!!! Interrupted: 1 error during collection !!!!!!!!!!!!!!!!!!!!
=============================== 1 error in 0.55s ===============================

python313Packages.mplhep
configfile: pyproject.toml
plugins: mock-3.14.1, mpl-0.17.0
collecting ... 
collected 159 items / 1 error                                                  

==================================== ERRORS ====================================
____________________ ERROR collecting tests/test_inputs.py _____________________
ImportError while importing test module '/build/source/tests/test_inputs.py'.
Hint: make sure your test modules/packages have valid Python names.
Traceback:
/nix/store/iyff8129iampdw13nlfqalzhxy8y1hi9-python3-3.13.6/lib/python3.13/importlib/init.py:88: in import_module
return _bootstrap._gcd_import(name[level:], package, level)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
tests/test_inputs.py:14: in <module>
import uproot4
E ModuleNotFoundError: No module named 'uproot4'
=========================== short test summary info ============================
ERROR tests/test_inputs.py
!!!!!!!!!!!!!!!!!!!! Interrupted: 1 error during collection !!!!!!!!!!!!!!!!!!!!
=============================== 1 error in 0.51s ===============================


aarch64-linux

❌ 24 packages failed to build:
  • python312Packages.coffea
  • python312Packages.coffea.dist
  • python312Packages.dask-awkward
  • python312Packages.dask-awkward.dist
  • python312Packages.dask-histogram
  • python312Packages.dask-histogram.dist
  • python312Packages.fastjet
  • python312Packages.fastjet.dist
  • python312Packages.mplhep
  • python312Packages.mplhep.dist
  • python312Packages.vector
  • python312Packages.vector.dist
  • python313Packages.coffea
  • python313Packages.coffea.dist
  • python313Packages.dask-awkward
  • python313Packages.dask-awkward.dist
  • python313Packages.dask-histogram
  • python313Packages.dask-histogram.dist
  • python313Packages.fastjet
  • python313Packages.fastjet.dist
  • python313Packages.mplhep
  • python313Packages.mplhep.dist
  • python313Packages.vector
  • python313Packages.vector.dist
✅ 8 packages built:
  • python312Packages.boost-histogram
  • python312Packages.boost-histogram.dist
  • python312Packages.hist
  • python312Packages.hist.dist
  • python313Packages.boost-histogram
  • python313Packages.boost-histogram.dist
  • python313Packages.hist
  • python313Packages.hist.dist

Error logs: `aarch64-linux`
python312Packages.dask-awkward
Running phase: configurePhase
@nix { "action": "setPhase", "phase": "configurePhase" }
no configure script, doing nothing
Running phase: buildPhase
@nix { "action": "setPhase", "phase": "buildPhase" }
Executing pypaBuildPhase
Setting SETUPTOOLS_SCM_PRETEND_VERSION to 2025.5.0
Including all tracked files automatically
Creating a wheel...
pypa build flags: --no-isolation --outdir dist/ --wheel
* Getting build dependencies for wheel...
* Building wheel...
Successfully built dask_awkward-2025.5.0-py3-none-any.whl
Finished creating a wheel...
Finished executing pypaBuildPhase
Running phase: pythonRuntimeDepsCheckHook
@nix { "action": "setPhase", "phase": "pythonRuntimeDepsCheckHook" }
Executing pythonRuntimeDepsCheck
Checking runtime dependencies for dask_awkward-2025.5.0-py3-none-any.whl
  - dask<2025.4.0,>=2023.04.0 not satisfied by version 2025.7.0
python312Packages.mplhep
configfile: pyproject.toml
plugins: mock-3.14.1, mpl-0.17.0
collecting ... 
collected 159 items / 1 error                                                  

==================================== ERRORS ====================================
____________________ ERROR collecting tests/test_inputs.py _____________________
ImportError while importing test module '/build/source/tests/test_inputs.py'.
Hint: make sure your test modules/packages have valid Python names.
Traceback:
/nix/store/hz4bs0j928y9f2fpdgy86ms050sn43k7-python3-3.12.11/lib/python3.12/importlib/init.py:90: in import_module
return _bootstrap._gcd_import(name[level:], package, level)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
tests/test_inputs.py:14: in <module>
import uproot4
E ModuleNotFoundError: No module named 'uproot4'
=========================== short test summary info ============================
ERROR tests/test_inputs.py
!!!!!!!!!!!!!!!!!!!! Interrupted: 1 error during collection !!!!!!!!!!!!!!!!!!!!
=============================== 1 error in 0.48s ===============================

python313Packages.mplhep
configfile: pyproject.toml
plugins: mock-3.14.1, mpl-0.17.0
collecting ... 
collected 159 items / 1 error                                                  

==================================== ERRORS ====================================
____________________ ERROR collecting tests/test_inputs.py _____________________
ImportError while importing test module '/build/source/tests/test_inputs.py'.
Hint: make sure your test modules/packages have valid Python names.
Traceback:
/nix/store/bv3hgziq4mv07whsa3df1d5zh72lxrbk-python3-3.13.6/lib/python3.13/importlib/init.py:88: in import_module
return _bootstrap._gcd_import(name[level:], package, level)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
tests/test_inputs.py:14: in <module>
import uproot4
E ModuleNotFoundError: No module named 'uproot4'
=========================== short test summary info ============================
ERROR tests/test_inputs.py
!!!!!!!!!!!!!!!!!!!! Interrupted: 1 error during collection !!!!!!!!!!!!!!!!!!!!
=============================== 1 error in 0.42s ===============================


x86_64-darwin (sandbox = true)

❌ 24 packages failed to build:
  • python312Packages.coffea
  • python312Packages.coffea.dist
  • python312Packages.dask-awkward
  • python312Packages.dask-awkward.dist
  • python312Packages.dask-histogram
  • python312Packages.dask-histogram.dist
  • python312Packages.fastjet
  • python312Packages.fastjet.dist
  • python312Packages.mplhep
  • python312Packages.mplhep.dist
  • python312Packages.vector
  • python312Packages.vector.dist
  • python313Packages.coffea
  • python313Packages.coffea.dist
  • python313Packages.dask-awkward
  • python313Packages.dask-awkward.dist
  • python313Packages.dask-histogram
  • python313Packages.dask-histogram.dist
  • python313Packages.fastjet
  • python313Packages.fastjet.dist
  • python313Packages.mplhep
  • python313Packages.mplhep.dist
  • python313Packages.vector
  • python313Packages.vector.dist
✅ 8 packages built:
  • python312Packages.boost-histogram
  • python312Packages.boost-histogram.dist
  • python312Packages.hist
  • python312Packages.hist.dist
  • python313Packages.boost-histogram
  • python313Packages.boost-histogram.dist
  • python313Packages.hist
  • python313Packages.hist.dist

Error logs: `x86_64-darwin`
python312Packages.dask-awkward
Running phase: configurePhase
@nix { "action": "setPhase", "phase": "configurePhase" }
no configure script, doing nothing
Running phase: buildPhase
@nix { "action": "setPhase", "phase": "buildPhase" }
Executing pypaBuildPhase
Setting SETUPTOOLS_SCM_PRETEND_VERSION to 2025.5.0
Including all tracked files automatically
Creating a wheel...
pypa build flags: --no-isolation --outdir dist/ --wheel
* Getting build dependencies for wheel...
* Building wheel...
Successfully built dask_awkward-2025.5.0-py3-none-any.whl
Finished creating a wheel...
Finished executing pypaBuildPhase
Running phase: pythonRuntimeDepsCheckHook
@nix { "action": "setPhase", "phase": "pythonRuntimeDepsCheckHook" }
Executing pythonRuntimeDepsCheck
Checking runtime dependencies for dask_awkward-2025.5.0-py3-none-any.whl
  - dask<2025.4.0,>=2023.04.0 not satisfied by version 2025.7.0
python312Packages.mplhep
collecting ... 
collecting 66 items                                                            
collecting 113 items / 1 error                                                 
collected 159 items / 1 error                                                  

==================================== ERRORS ====================================
____________________ ERROR collecting tests/test_inputs.py _____________________
ImportError while importing test module '/nix/build/nix-build-python3.12-mplhep-0.4.0.drv-6552-3348345709/source/tests/test_inputs.py'.
Hint: make sure your test modules/packages have valid Python names.
Traceback:
/nix/store/xb3siyaqnb0icxdjrh6frh9r8xa0wr7g-python3-3.12.11/lib/python3.12/importlib/init.py:90: in import_module
return _bootstrap._gcd_import(name[level:], package, level)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
tests/test_inputs.py:14: in <module>
import uproot4
E ModuleNotFoundError: No module named 'uproot4'
=========================== short test summary info ============================
ERROR tests/test_inputs.py
!!!!!!!!!!!!!!!!!!!! Interrupted: 1 error during collection !!!!!!!!!!!!!!!!!!!!
=============================== 1 error in 2.74s ===============================

python313Packages.mplhep
collecting ... 
collecting 66 items                                                            
collecting 113 items / 1 error                                                 
collected 159 items / 1 error                                                  

==================================== ERRORS ====================================
____________________ ERROR collecting tests/test_inputs.py _____________________
ImportError while importing test module '/nix/build/nix-build-python3.13-mplhep-0.4.0.drv-6552-3348345713/source/tests/test_inputs.py'.
Hint: make sure your test modules/packages have valid Python names.
Traceback:
/nix/store/gkspnzkgarw4qvbl4670p3jcbgg6psrg-python3-3.13.6/lib/python3.13/importlib/init.py:88: in import_module
return _bootstrap._gcd_import(name[level:], package, level)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
tests/test_inputs.py:14: in <module>
import uproot4
E ModuleNotFoundError: No module named 'uproot4'
=========================== short test summary info ============================
ERROR tests/test_inputs.py
!!!!!!!!!!!!!!!!!!!! Interrupted: 1 error during collection !!!!!!!!!!!!!!!!!!!!
=============================== 1 error in 3.14s ===============================


aarch64-darwin (sandbox = true)

❌ 24 packages failed to build:
  • python312Packages.coffea
  • python312Packages.coffea.dist
  • python312Packages.dask-awkward
  • python312Packages.dask-awkward.dist
  • python312Packages.dask-histogram
  • python312Packages.dask-histogram.dist
  • python312Packages.fastjet
  • python312Packages.fastjet.dist
  • python312Packages.mplhep
  • python312Packages.mplhep.dist
  • python312Packages.vector
  • python312Packages.vector.dist
  • python313Packages.coffea
  • python313Packages.coffea.dist
  • python313Packages.dask-awkward
  • python313Packages.dask-awkward.dist
  • python313Packages.dask-histogram
  • python313Packages.dask-histogram.dist
  • python313Packages.fastjet
  • python313Packages.fastjet.dist
  • python313Packages.mplhep
  • python313Packages.mplhep.dist
  • python313Packages.vector
  • python313Packages.vector.dist
✅ 8 packages built:
  • python312Packages.boost-histogram
  • python312Packages.boost-histogram.dist
  • python312Packages.hist
  • python312Packages.hist.dist
  • python313Packages.boost-histogram
  • python313Packages.boost-histogram.dist
  • python313Packages.hist
  • python313Packages.hist.dist

Error logs: `aarch64-darwin`
python312Packages.dask-awkward
Running phase: configurePhase
@nix { "action": "setPhase", "phase": "configurePhase" }
no configure script, doing nothing
Running phase: buildPhase
@nix { "action": "setPhase", "phase": "buildPhase" }
Executing pypaBuildPhase
Setting SETUPTOOLS_SCM_PRETEND_VERSION to 2025.5.0
Including all tracked files automatically
Creating a wheel...
pypa build flags: --no-isolation --outdir dist/ --wheel
* Getting build dependencies for wheel...
* Building wheel...
Successfully built dask_awkward-2025.5.0-py3-none-any.whl
Finished creating a wheel...
Finished executing pypaBuildPhase
Running phase: pythonRuntimeDepsCheckHook
@nix { "action": "setPhase", "phase": "pythonRuntimeDepsCheckHook" }
Executing pythonRuntimeDepsCheck
Checking runtime dependencies for dask_awkward-2025.5.0-py3-none-any.whl
  - dask<2025.4.0,>=2023.04.0 not satisfied by version 2025.7.0
python312Packages.mplhep
collecting ... 
collecting 66 items                                                            
collecting 113 items / 1 error                                                 
collected 159 items / 1 error                                                  

==================================== ERRORS ====================================
____________________ ERROR collecting tests/test_inputs.py _____________________
ImportError while importing test module '/nix/build/nix-build-python3.12-mplhep-0.4.0.drv-5458-866644934/source/tests/test_inputs.py'.
Hint: make sure your test modules/packages have valid Python names.
Traceback:
/nix/store/msrmjs47wva2hk6bvqzh4b40rd5n0sqx-python3-3.12.11/lib/python3.12/importlib/init.py:90: in import_module
return _bootstrap._gcd_import(name[level:], package, level)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
tests/test_inputs.py:14: in <module>
import uproot4
E ModuleNotFoundError: No module named 'uproot4'
=========================== short test summary info ============================
ERROR tests/test_inputs.py
!!!!!!!!!!!!!!!!!!!! Interrupted: 1 error during collection !!!!!!!!!!!!!!!!!!!!
=============================== 1 error in 1.92s ===============================

python313Packages.mplhep
collecting ... 
collecting 66 items                                                            
collecting 113 items / 1 error                                                 
collected 159 items / 1 error                                                  

==================================== ERRORS ====================================
____________________ ERROR collecting tests/test_inputs.py _____________________
ImportError while importing test module '/nix/build/nix-build-python3.13-mplhep-0.4.0.drv-5458-866644936/source/tests/test_inputs.py'.
Hint: make sure your test modules/packages have valid Python names.
Traceback:
/nix/store/9px7zzsfnlmj61yy2fpl6z14w93j05is-python3-3.13.6/lib/python3.13/importlib/init.py:88: in import_module
return _bootstrap._gcd_import(name[level:], package, level)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
tests/test_inputs.py:14: in <module>
import uproot4
E ModuleNotFoundError: No module named 'uproot4'
=========================== short test summary info ============================
ERROR tests/test_inputs.py
!!!!!!!!!!!!!!!!!!!! Interrupted: 1 error during collection !!!!!!!!!!!!!!!!!!!!
=============================== 1 error in 1.39s ===============================

@nixpkgs-ci nixpkgs-ci bot added 12.approvals: 1 This PR was reviewed and approved by one person. 12.approved-by: package-maintainer This PR was reviewed and approved by a maintainer listed in any of the changed packages. labels Sep 2, 2025
@veprbl veprbl merged commit ab97ee6 into NixOS:master Sep 2, 2025
40 of 42 checks passed
@thunze thunze deleted the fix-boost-histogram branch September 2, 2025 17:59
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. 12.approvals: 1 This PR was reviewed and approved by one person. 12.approved-by: package-maintainer This PR was reviewed and approved by a maintainer listed in any of the changed packages.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants