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.fastjet: re-init at 3.4.2.1 #370858

Merged
merged 3 commits into from
Jan 9, 2025

Conversation

veprbl
Copy link
Member

@veprbl veprbl commented Jan 4, 2025

The fastjet package in pypi namespace is an "official" python package that vendors FastJet with its SWIG bindings. That vendoring is broken wrt macOS install_name, so this package implements unvendoring. The package is replaces the SWIG bindings, as it should provide a compatible API.

Things done

  • Built on platform(s)
    • x86_64-linux
    • aarch64-linux
    • x86_64-darwin
    • aarch64-darwin
  • For non-Linux: Is sandboxing enabled in nix.conf? (See Nix manual)
    • sandbox = relaxed
    • sandbox = true
  • 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/)
  • 25.05 Release Notes (or backporting 24.11 and 25.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.

Add a 👍 reaction to pull requests you find important.

@lucasew
Copy link
Contributor

lucasew commented Jan 4, 2025

nixpkgs-review result

Generated using nixpkgs-review.

Command: nixpkgs-review pr 370858


x86_64-linux

❌ 2 packages failed to build:
  • python312Packages.fastjet
  • python312Packages.fastjet.dist

@lucasew
Copy link
Contributor

lucasew commented Jan 4, 2025

Logs

error: builder for '/nix/store/5wkc1x20w39h2fgas5b714di9xxsmq92-python3.12-awkward-2.7.2.drv' failed with exit code 1;
       last 25 log lines:
       > SKIPPED [1] tests/test_3292_to_tensorflow_from_tensorflow.py:13: could not import 'tensorflow': No module named 'tensorflow'
       > SKIPPED [1] tests/test_0652_tests_of_complex_numbers.py:220: Remember to implement sorting for complex numbers.
       > SKIPPED [1] tests/test_0115_generic_reducer_operation.py:1211: I can't think of a canonical UnionArray (non-mergeable contents) that can be used in a reducer
       > SKIPPED [1] tests/test_1072_sort.py:716: I can't think of a canonical UnionArray (non-mergeable contents) that can be used in sorting
       > SKIPPED [1] tests/test_1072_sort.py:741: I can't think of a canonical UnionArray (non-mergeable contents) that can be used in sorting
       > SKIPPED [1] tests/test_1672_broadcast_parameters.py:11: string broadcasting is broken
       > SKIPPED [1] tests/test_1672_broadcast_parameters.py:25: string broadcasting is broken
       > SKIPPED [1] tests/test_1672_broadcast_parameters.py:39: string broadcasting is broken
       > SKIPPED [1] tests/test_1672_broadcast_parameters.py:57: string broadcasting is broken
       > SKIPPED [4] tests/test_1440_start_v2_to_parquet.py:224: Categorical arrays can't roundtrip through Parquet due to ARROW-14525
       > SKIPPED [1] tests/test_2297_common_backend.py:58: could not import 'ROOT': No module named 'ROOT'
       > SKIPPED [1] tests/test_1764_jax_jacobian.py:16: Jacobian support not implemented
       > SKIPPED [2] tests/test_2793_nep_50_gradual_support.py:44: NumPy >= 1.24.0 has NEP-50 support
       > SKIPPED [1] tests/test_2799_numba_ufunc_resolution.py:39: Numba has NEP-50 support
       > FAILED tests/test_1447_jax_autodiff_slices_ufuncs.py::test_regular_array_4 - jax.errors.UnexpectedTracerError: Encountered an unexpected tracer. A funct...
       > FAILED tests/test_1447_jax_autodiff_slices_ufuncs.py::test_regular_array_5 - jax.errors.UnexpectedTracerError: Encountered an unexpected tracer. A funct...
       > FAILED tests/test_1447_jax_autodiff_slices_ufuncs.py::test_regular_array_2 - jax.errors.UnexpectedTracerError: Encountered an unexpected tracer. A funct...
       > FAILED tests/test_1447_jax_autodiff_slices_ufuncs.py::test_recordarray_4 - jax.errors.UnexpectedTracerError: Encountered an unexpected tracer. A funct...
       > FAILED tests/test_1447_jax_autodiff_slices_ufuncs.py::test_recordarray_5 - jax.errors.UnexpectedTracerError: Encountered an unexpected tracer. A funct...
       > FAILED tests/test_1447_jax_autodiff_slices_ufuncs.py::test_recordarray_6 - jax.errors.UnexpectedTracerError: Encountered an unexpected tracer. A funct...
       > FAILED tests/test_1490_jax_reducers_combinations.py::test_reducer[min-0] - jax.errors.UnexpectedTracerError: Encountered an unexpected tracer. A funct...
       > FAILED tests/test_1490_jax_reducers_combinations.py::test_reducer[min-1] - jax.errors.UnexpectedTracerError: Encountered an unexpected tracer. A funct...
       > FAILED tests/test_1490_jax_reducers_combinations.py::test_reducer[max-0] - jax.errors.UnexpectedTracerError: Encountered an unexpected tracer. A funct...
       > FAILED tests/test_1490_jax_reducers_combinations.py::test_reducer[max-1] - jax.errors.UnexpectedTracerError: Encountered an unexpected tracer. A funct...
       > ============ 10 failed, 2957 passed, 36 skipped in 63.03s (0:01:03) ============

@lucasew
Copy link
Contributor

lucasew commented Jan 4, 2025

nixpkgs-review result

Generated using nixpkgs-review.

Command: nixpkgs-review pr 370858


x86_64-linux

❌ 2 packages failed to build:
  • python312Packages.fastjet
  • python312Packages.fastjet.dist

@veprbl
Copy link
Member Author

veprbl commented Jan 5, 2025

@GaetanLepage I'd like to stop testing with JAX. I personally don't have interest in supporting this feature, and it's a large dependency.

@veprbl
Copy link
Member Author

veprbl commented Jan 5, 2025

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

18 packages built:
  • python312Packages.awkward
  • python312Packages.awkward-pandas
  • python312Packages.awkward-pandas.dist
  • python312Packages.awkward.dist
  • python312Packages.coffea
  • python312Packages.coffea.dist
  • python312Packages.correctionlib
  • python312Packages.correctionlib.dist
  • python312Packages.dask-awkward
  • python312Packages.dask-awkward.dist
  • python312Packages.fastjet
  • python312Packages.fastjet.dist
  • python312Packages.mplhep
  • python312Packages.mplhep.dist
  • python312Packages.uproot
  • python312Packages.uproot.dist
  • python312Packages.vector
  • python312Packages.vector.dist

@GaetanLepage
Copy link
Contributor

@GaetanLepage I'd like to stop testing with JAX. I personally don't have interest in supporting this feature, and it's a large dependency.

Fine by me. You can disable the affected tests ?

@veprbl
Copy link
Member Author

veprbl commented Jan 5, 2025

Yes, it's just one test file, the one that we disable for darwin.

@GaetanLepage
Copy link
Contributor

It looks like there is a formatting issue.

@veprbl veprbl force-pushed the pr/fastjet_reinit_3_4_2_1 branch from e244236 to fde6a99 Compare January 8, 2025 22:18
@veprbl
Copy link
Member Author

veprbl commented Jan 8, 2025

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

18 packages built:
  • python312Packages.awkward
  • python312Packages.awkward-pandas
  • python312Packages.awkward-pandas.dist
  • python312Packages.awkward.dist
  • python312Packages.coffea
  • python312Packages.coffea.dist
  • python312Packages.correctionlib
  • python312Packages.correctionlib.dist
  • python312Packages.dask-awkward
  • python312Packages.dask-awkward.dist
  • python312Packages.fastjet
  • python312Packages.fastjet.dist
  • python312Packages.mplhep
  • python312Packages.mplhep.dist
  • python312Packages.uproot
  • python312Packages.uproot.dist
  • python312Packages.vector
  • python312Packages.vector.dist

@veprbl veprbl force-pushed the pr/fastjet_reinit_3_4_2_1 branch 2 times, most recently from e567921 to 2a38243 Compare January 8, 2025 22:38
@GaetanLepage
Copy link
Contributor

nixpkgs-review result

Generated using nixpkgs-review.

Command: nixpkgs-review pr 370858


x86_64-linux

❌ 2 packages failed to build:
  • python312Packages.coffea
  • python312Packages.coffea.dist
✅ 16 packages built:
  • python312Packages.awkward
  • python312Packages.awkward-pandas
  • python312Packages.awkward-pandas.dist
  • python312Packages.awkward.dist
  • python312Packages.correctionlib
  • python312Packages.correctionlib.dist
  • python312Packages.dask-awkward
  • python312Packages.dask-awkward.dist
  • python312Packages.fastjet
  • python312Packages.fastjet.dist
  • python312Packages.mplhep
  • python312Packages.mplhep.dist
  • python312Packages.uproot
  • python312Packages.uproot.dist
  • python312Packages.vector
  • python312Packages.vector.dist

aarch64-linux

✅ 18 packages built:
  • python312Packages.awkward
  • python312Packages.awkward-pandas
  • python312Packages.awkward-pandas.dist
  • python312Packages.awkward.dist
  • python312Packages.coffea
  • python312Packages.coffea.dist
  • python312Packages.correctionlib
  • python312Packages.correctionlib.dist
  • python312Packages.dask-awkward
  • python312Packages.dask-awkward.dist
  • python312Packages.fastjet
  • python312Packages.fastjet.dist
  • python312Packages.mplhep
  • python312Packages.mplhep.dist
  • python312Packages.uproot
  • python312Packages.uproot.dist
  • python312Packages.vector
  • python312Packages.vector.dist

x86_64-darwin

❌ 4 packages failed to build:
  • python312Packages.coffea
  • python312Packages.coffea.dist
  • python312Packages.fastjet
  • python312Packages.fastjet.dist
✅ 2 packages built:
  • python312Packages.correctionlib
  • python312Packages.correctionlib.dist

aarch64-darwin

❌ 4 packages failed to build:
  • python312Packages.coffea
  • python312Packages.coffea.dist
  • python312Packages.fastjet
  • python312Packages.fastjet.dist
✅ 2 packages built:
  • python312Packages.correctionlib
  • python312Packages.correctionlib.dist

@veprbl veprbl force-pushed the pr/fastjet_reinit_3_4_2_1 branch from 1c44c50 to 7dfdc35 Compare January 8, 2025 23:19
@veprbl
Copy link
Member Author

veprbl commented Jan 8, 2025

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

18 packages built:
  • python312Packages.awkward
  • python312Packages.awkward-pandas
  • python312Packages.awkward-pandas.dist
  • python312Packages.awkward.dist
  • python312Packages.coffea
  • python312Packages.coffea.dist
  • python312Packages.correctionlib
  • python312Packages.correctionlib.dist
  • python312Packages.dask-awkward
  • python312Packages.dask-awkward.dist
  • python312Packages.fastjet
  • python312Packages.fastjet.dist
  • python312Packages.mplhep
  • python312Packages.mplhep.dist
  • python312Packages.uproot
  • python312Packages.uproot.dist
  • python312Packages.vector
  • python312Packages.vector.dist

@GaetanLepage
Copy link
Contributor

nixpkgs-review result

Generated using nixpkgs-review.

Command: nixpkgs-review pr 370858


x86_64-linux

❌ 2 packages failed to build:
  • python312Packages.coffea
  • python312Packages.coffea.dist
✅ 16 packages built:
  • python312Packages.awkward
  • python312Packages.awkward-pandas
  • python312Packages.awkward-pandas.dist
  • python312Packages.awkward.dist
  • python312Packages.correctionlib
  • python312Packages.correctionlib.dist
  • python312Packages.dask-awkward
  • python312Packages.dask-awkward.dist
  • python312Packages.fastjet
  • python312Packages.fastjet.dist
  • python312Packages.mplhep
  • python312Packages.mplhep.dist
  • python312Packages.uproot
  • python312Packages.uproot.dist
  • python312Packages.vector
  • python312Packages.vector.dist

aarch64-linux

✅ 18 packages built:
  • python312Packages.awkward
  • python312Packages.awkward-pandas
  • python312Packages.awkward-pandas.dist
  • python312Packages.awkward.dist
  • python312Packages.coffea
  • python312Packages.coffea.dist
  • python312Packages.correctionlib
  • python312Packages.correctionlib.dist
  • python312Packages.dask-awkward
  • python312Packages.dask-awkward.dist
  • python312Packages.fastjet
  • python312Packages.fastjet.dist
  • python312Packages.mplhep
  • python312Packages.mplhep.dist
  • python312Packages.uproot
  • python312Packages.uproot.dist
  • python312Packages.vector
  • python312Packages.vector.dist

x86_64-darwin

❌ 4 packages failed to build:
  • python312Packages.coffea
  • python312Packages.coffea.dist
  • python312Packages.fastjet
  • python312Packages.fastjet.dist
✅ 2 packages built:
  • python312Packages.correctionlib
  • python312Packages.correctionlib.dist

aarch64-darwin

❌ 4 packages failed to build:
  • python312Packages.coffea
  • python312Packages.coffea.dist
  • python312Packages.fastjet
  • python312Packages.fastjet.dist
✅ 2 packages built:
  • python312Packages.correctionlib
  • python312Packages.correctionlib.dist

@GaetanLepage
Copy link
Contributor

coffea failures on linux are caused by a single flaky test. Let's ignore them for now.

Copy link
Contributor

@GaetanLepage GaetanLepage left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM thanks :)

@wegank wegank added the 12.approvals: 1 This PR was reviewed and approved by one reputable person label Jan 8, 2025
@veprbl
Copy link
Member Author

veprbl commented Jan 9, 2025

python3Packages.fastjet fails on darwin because of a regression with building fastjet, let's deal with that separately.

@veprbl veprbl merged commit c654b53 into NixOS:master Jan 9, 2025
23 checks passed
@veprbl veprbl deleted the pr/fastjet_reinit_3_4_2_1 branch January 9, 2025 00:28
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants