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

python312Packages.nanobind: 2.1.0 -> 2.2.0 #358621

Merged
merged 1 commit into from
Nov 29, 2024

Conversation

pbsds
Copy link
Member

@pbsds pbsds commented Nov 24, 2024

Diff: wjakob/nanobind@refs/tags/v2.1.0...v2.2.0

Changelog: https://github.com/wjakob/nanobind/blob/refs/tags/v2.2.0/docs/changelog.rst

I hoped to address #356904 (comment), but alas i get this in python312Packages.manifold3d on x86_86-darwin:

manifold3d-x86_64-darwin> /nix/store/l0hqrrlk6vmhn4b2q752h9vmjnjl4nf1-python3.12-nanobind-2.2.0/lib/python3.12/site-packages/nanobind/src/nb_type.cpp:248:13: error: aligned deallocation function of type 'void (void *, std::align_val_t) noexcept' is only available on macOS 10.13 or newer
manifold3d-x86_64-darwin>             operator delete(p, std::align_val_t(t->align));
manifold3d-x86_64-darwin>             ^
manifold3d-x86_64-darwin> /nix/store/l0hqrrlk6vmhn4b2q752h9vmjnjl4nf1-python3.12-nanobind-2.2.0/lib/python3.12/site-packages/nanobind/src/nb_type.cpp:248:13: note: if you supply your own aligned allocation functions, use -faligned-allocation to silence this diagnostic
manifold3d-x86_64-darwin> 1 error generated.

but a bump is a bump

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.

@phiadaarr
Copy link
Contributor

Thanks for the bump. Can we please add a reference to the upstream bug (wjakob/nanobind#754) next to your rm command? Thank you :)

@pbsds pbsds force-pushed the bump-nanobind-1732120108 branch from ca4c96c to 9f9553e Compare November 26, 2024 14:56
@phiadaarr
Copy link
Contributor

Looks good to me. Thank you!

@GaetanLepage
Copy link
Contributor

nixpkgs-review result

Generated using nixpkgs-review.

Command: nixpkgs-review pr 358621


x86_64-linux

⏩ 4 packages marked as broken and skipped:
  • piper-train
  • piper-train.dist
  • tts
  • tts.dist
❌ 10 packages failed to build:
  • python311Packages.asteroid-filterbanks
  • python311Packages.asteroid-filterbanks.dist
  • python311Packages.pyannote-audio
  • python311Packages.pyannote-audio.dist
  • python312Packages.asteroid-filterbanks
  • python312Packages.asteroid-filterbanks.dist
  • python312Packages.pyannote-audio
  • python312Packages.pyannote-audio.dist
  • whisper-ctranslate2
  • whisper-ctranslate2.dist
✅ 105 packages built:
  • beets (beetsPackages.beets ,beetsPackages.beets-stable)
  • beets-unstable (beetsPackages.beets-unstable)
  • beets-unstable.dist (beetsPackages.beets-unstable.dist)
  • beets-unstable.doc (beetsPackages.beets-unstable.doc)
  • beets-unstable.man (beetsPackages.beets-unstable.man)
  • beets.dist (beetsPackages.beets-stable.dist ,beetsPackages.beets.dist)
  • beets.doc (beetsPackages.beets-stable.doc ,beetsPackages.beets.doc)
  • beets.man (beetsPackages.beets-stable.man ,beetsPackages.beets.man)
  • exo
  • exo.dist
  • pianotrans
  • pianotrans.dist
  • pitivi
  • python311Packages.atomman
  • python311Packages.atomman.dist
  • python311Packages.boost-histogram
  • python311Packages.boost-histogram.dist
  • python311Packages.coffea
  • python311Packages.coffea.dist
  • python311Packages.dask-awkward
  • python311Packages.dask-awkward.dist
  • python311Packages.dask-histogram
  • python311Packages.dask-histogram.dist
  • python311Packages.hist
  • python311Packages.hist.dist
  • python311Packages.islpy
  • python311Packages.islpy.dist
  • python311Packages.librosa
  • python311Packages.librosa.dist
  • python311Packages.loopy
  • python311Packages.loopy.dist
  • python311Packages.manifold3d
  • python311Packages.manifold3d.dist
  • python311Packages.mplhep
  • python311Packages.mplhep.dist
  • python311Packages.nanobind
  • python311Packages.nanobind.dist
  • python311Packages.phonopy
  • python311Packages.phonopy.dist
  • python311Packages.piano-transcription-inference
  • python311Packages.piano-transcription-inference.dist
  • python311Packages.pyopencl
  • python311Packages.pyopencl.dist
  • python311Packages.reikna
  • python311Packages.reikna.dist
  • python311Packages.soxr
  • python311Packages.soxr.dist
  • python311Packages.sumo
  • python311Packages.sumo.dist
  • python311Packages.tinygrad
  • python311Packages.tinygrad.dist
  • python311Packages.torch-audiomentations
  • python311Packages.torch-audiomentations.dist
  • python311Packages.torchcrepe
  • python311Packages.torchcrepe.dist
  • python311Packages.torchlibrosa
  • python311Packages.torchlibrosa.dist
  • python311Packages.vector
  • python311Packages.vector.dist
  • python312Packages.atomman
  • python312Packages.atomman.dist
  • python312Packages.boost-histogram
  • python312Packages.boost-histogram.dist
  • python312Packages.coffea
  • python312Packages.coffea.dist
  • python312Packages.dask-awkward
  • python312Packages.dask-awkward.dist
  • python312Packages.dask-histogram
  • python312Packages.dask-histogram.dist
  • python312Packages.hist
  • python312Packages.hist.dist
  • python312Packages.islpy
  • python312Packages.islpy.dist
  • python312Packages.librosa
  • python312Packages.librosa.dist
  • python312Packages.loopy
  • python312Packages.loopy.dist
  • python312Packages.manifold3d
  • python312Packages.manifold3d.dist
  • python312Packages.mplhep
  • python312Packages.mplhep.dist
  • python312Packages.nanobind
  • python312Packages.nanobind.dist
  • python312Packages.phonopy
  • python312Packages.phonopy.dist
  • python312Packages.piano-transcription-inference
  • python312Packages.piano-transcription-inference.dist
  • python312Packages.pyopencl
  • python312Packages.pyopencl.dist
  • python312Packages.reikna
  • python312Packages.reikna.dist
  • python312Packages.soxr
  • python312Packages.soxr.dist
  • python312Packages.sumo
  • python312Packages.sumo.dist
  • python312Packages.tinygrad
  • python312Packages.tinygrad.dist
  • python312Packages.torch-audiomentations
  • python312Packages.torch-audiomentations.dist
  • python312Packages.torchcrepe
  • python312Packages.torchcrepe.dist
  • python312Packages.torchlibrosa
  • python312Packages.torchlibrosa.dist
  • python312Packages.vector
  • python312Packages.vector.dist

aarch64-linux

⏩ 4 packages marked as broken and skipped:
  • piper-train
  • piper-train.dist
  • tts
  • tts.dist
❌ 14 packages failed to build:
  • python311Packages.asteroid-filterbanks
  • python311Packages.asteroid-filterbanks.dist
  • python311Packages.pyannote-audio
  • python311Packages.pyannote-audio.dist
  • python311Packages.sumo
  • python311Packages.sumo.dist
  • python312Packages.asteroid-filterbanks
  • python312Packages.asteroid-filterbanks.dist
  • python312Packages.pyannote-audio
  • python312Packages.pyannote-audio.dist
  • python312Packages.sumo
  • python312Packages.sumo.dist
  • whisper-ctranslate2
  • whisper-ctranslate2.dist
✅ 101 packages built:
  • beets (beetsPackages.beets ,beetsPackages.beets-stable)
  • beets-unstable (beetsPackages.beets-unstable)
  • beets-unstable.dist (beetsPackages.beets-unstable.dist)
  • beets-unstable.doc (beetsPackages.beets-unstable.doc)
  • beets-unstable.man (beetsPackages.beets-unstable.man)
  • beets.dist (beetsPackages.beets-stable.dist ,beetsPackages.beets.dist)
  • beets.doc (beetsPackages.beets-stable.doc ,beetsPackages.beets.doc)
  • beets.man (beetsPackages.beets-stable.man ,beetsPackages.beets.man)
  • exo
  • exo.dist
  • pianotrans
  • pianotrans.dist
  • pitivi
  • python311Packages.atomman
  • python311Packages.atomman.dist
  • python311Packages.boost-histogram
  • python311Packages.boost-histogram.dist
  • python311Packages.coffea
  • python311Packages.coffea.dist
  • python311Packages.dask-awkward
  • python311Packages.dask-awkward.dist
  • python311Packages.dask-histogram
  • python311Packages.dask-histogram.dist
  • python311Packages.hist
  • python311Packages.hist.dist
  • python311Packages.islpy
  • python311Packages.islpy.dist
  • python311Packages.librosa
  • python311Packages.librosa.dist
  • python311Packages.loopy
  • python311Packages.loopy.dist
  • python311Packages.manifold3d
  • python311Packages.manifold3d.dist
  • python311Packages.mplhep
  • python311Packages.mplhep.dist
  • python311Packages.nanobind
  • python311Packages.nanobind.dist
  • python311Packages.phonopy
  • python311Packages.phonopy.dist
  • python311Packages.piano-transcription-inference
  • python311Packages.piano-transcription-inference.dist
  • python311Packages.pyopencl
  • python311Packages.pyopencl.dist
  • python311Packages.reikna
  • python311Packages.reikna.dist
  • python311Packages.soxr
  • python311Packages.soxr.dist
  • python311Packages.tinygrad
  • python311Packages.tinygrad.dist
  • python311Packages.torch-audiomentations
  • python311Packages.torch-audiomentations.dist
  • python311Packages.torchcrepe
  • python311Packages.torchcrepe.dist
  • python311Packages.torchlibrosa
  • python311Packages.torchlibrosa.dist
  • python311Packages.vector
  • python311Packages.vector.dist
  • python312Packages.atomman
  • python312Packages.atomman.dist
  • python312Packages.boost-histogram
  • python312Packages.boost-histogram.dist
  • python312Packages.coffea
  • python312Packages.coffea.dist
  • python312Packages.dask-awkward
  • python312Packages.dask-awkward.dist
  • python312Packages.dask-histogram
  • python312Packages.dask-histogram.dist
  • python312Packages.hist
  • python312Packages.hist.dist
  • python312Packages.islpy
  • python312Packages.islpy.dist
  • python312Packages.librosa
  • python312Packages.librosa.dist
  • python312Packages.loopy
  • python312Packages.loopy.dist
  • python312Packages.manifold3d
  • python312Packages.manifold3d.dist
  • python312Packages.mplhep
  • python312Packages.mplhep.dist
  • python312Packages.nanobind
  • python312Packages.nanobind.dist
  • python312Packages.phonopy
  • python312Packages.phonopy.dist
  • python312Packages.piano-transcription-inference
  • python312Packages.piano-transcription-inference.dist
  • python312Packages.pyopencl
  • python312Packages.pyopencl.dist
  • python312Packages.reikna
  • python312Packages.reikna.dist
  • python312Packages.soxr
  • python312Packages.soxr.dist
  • python312Packages.tinygrad
  • python312Packages.tinygrad.dist
  • python312Packages.torch-audiomentations
  • python312Packages.torch-audiomentations.dist
  • python312Packages.torchcrepe
  • python312Packages.torchcrepe.dist
  • python312Packages.torchlibrosa
  • python312Packages.torchlibrosa.dist
  • python312Packages.vector
  • python312Packages.vector.dist

x86_64-darwin

⏩ 22 packages marked as broken and skipped:
  • exo
  • exo.dist
  • piper-train
  • piper-train.dist
  • python311Packages.pyannote-audio
  • python311Packages.pyannote-audio.dist
  • python311Packages.tinygrad
  • python311Packages.tinygrad.dist
  • python311Packages.torch-audiomentations
  • python311Packages.torch-audiomentations.dist
  • python311Packages.torchcrepe
  • python311Packages.torchcrepe.dist
  • python312Packages.pyannote-audio
  • python312Packages.pyannote-audio.dist
  • python312Packages.tinygrad
  • python312Packages.tinygrad.dist
  • python312Packages.torch-audiomentations
  • python312Packages.torch-audiomentations.dist
  • python312Packages.torchcrepe
  • python312Packages.torchcrepe.dist
  • whisper-ctranslate2
  • whisper-ctranslate2.dist
❌ 54 packages failed to build:
  • pianotrans
  • pianotrans.dist
  • python311Packages.asteroid-filterbanks
  • python311Packages.asteroid-filterbanks.dist
  • python311Packages.atomman
  • python311Packages.atomman.dist
  • python311Packages.islpy
  • python311Packages.islpy.dist
  • python311Packages.librosa
  • python311Packages.librosa.dist
  • python311Packages.loopy
  • python311Packages.loopy.dist
  • python311Packages.manifold3d
  • python311Packages.manifold3d.dist
  • python311Packages.phonopy
  • python311Packages.phonopy.dist
  • python311Packages.piano-transcription-inference
  • python311Packages.piano-transcription-inference.dist
  • python311Packages.pyopencl
  • python311Packages.pyopencl.dist
  • python311Packages.reikna
  • python311Packages.reikna.dist
  • python311Packages.soxr
  • python311Packages.soxr.dist
  • python311Packages.sumo
  • python311Packages.sumo.dist
  • python311Packages.torchlibrosa
  • python311Packages.torchlibrosa.dist
  • python312Packages.asteroid-filterbanks
  • python312Packages.asteroid-filterbanks.dist
  • python312Packages.atomman
  • python312Packages.atomman.dist
  • python312Packages.islpy
  • python312Packages.islpy.dist
  • python312Packages.librosa
  • python312Packages.librosa.dist
  • python312Packages.loopy
  • python312Packages.loopy.dist
  • python312Packages.manifold3d
  • python312Packages.manifold3d.dist
  • python312Packages.phonopy
  • python312Packages.phonopy.dist
  • python312Packages.piano-transcription-inference
  • python312Packages.piano-transcription-inference.dist
  • python312Packages.pyopencl
  • python312Packages.pyopencl.dist
  • python312Packages.reikna
  • python312Packages.reikna.dist
  • python312Packages.soxr
  • python312Packages.soxr.dist
  • python312Packages.sumo
  • python312Packages.sumo.dist
  • python312Packages.torchlibrosa
  • python312Packages.torchlibrosa.dist
✅ 32 packages built:
  • python311Packages.boost-histogram
  • python311Packages.boost-histogram.dist
  • python311Packages.coffea
  • python311Packages.coffea.dist
  • python311Packages.dask-awkward
  • python311Packages.dask-awkward.dist
  • python311Packages.dask-histogram
  • python311Packages.dask-histogram.dist
  • python311Packages.hist
  • python311Packages.hist.dist
  • python311Packages.mplhep
  • python311Packages.mplhep.dist
  • python311Packages.nanobind
  • python311Packages.nanobind.dist
  • python311Packages.vector
  • python311Packages.vector.dist
  • python312Packages.boost-histogram
  • python312Packages.boost-histogram.dist
  • python312Packages.coffea
  • python312Packages.coffea.dist
  • python312Packages.dask-awkward
  • python312Packages.dask-awkward.dist
  • python312Packages.dask-histogram
  • python312Packages.dask-histogram.dist
  • python312Packages.hist
  • python312Packages.hist.dist
  • python312Packages.mplhep
  • python312Packages.mplhep.dist
  • python312Packages.nanobind
  • python312Packages.nanobind.dist
  • python312Packages.vector
  • python312Packages.vector.dist

aarch64-darwin

⏩ 22 packages marked as broken and skipped:
  • exo
  • exo.dist
  • piper-train
  • piper-train.dist
  • python311Packages.loopy
  • python311Packages.loopy.dist
  • python311Packages.pyopencl
  • python311Packages.pyopencl.dist
  • python311Packages.reikna
  • python311Packages.reikna.dist
  • python311Packages.tinygrad
  • python311Packages.tinygrad.dist
  • python312Packages.loopy
  • python312Packages.loopy.dist
  • python312Packages.pyopencl
  • python312Packages.pyopencl.dist
  • python312Packages.reikna
  • python312Packages.reikna.dist
  • python312Packages.tinygrad
  • python312Packages.tinygrad.dist
  • tts
  • tts.dist
❌ 42 packages failed to build:
  • python311Packages.asteroid-filterbanks
  • python311Packages.asteroid-filterbanks.dist
  • python311Packages.boost-histogram
  • python311Packages.boost-histogram.dist
  • python311Packages.coffea
  • python311Packages.coffea.dist
  • python311Packages.dask-awkward
  • python311Packages.dask-awkward.dist
  • python311Packages.dask-histogram
  • python311Packages.dask-histogram.dist
  • python311Packages.hist
  • python311Packages.hist.dist
  • python311Packages.mplhep
  • python311Packages.mplhep.dist
  • python311Packages.pyannote-audio
  • python311Packages.pyannote-audio.dist
  • python311Packages.sumo
  • python311Packages.sumo.dist
  • python311Packages.vector
  • python311Packages.vector.dist
  • python312Packages.asteroid-filterbanks
  • python312Packages.asteroid-filterbanks.dist
  • python312Packages.boost-histogram
  • python312Packages.boost-histogram.dist
  • python312Packages.coffea
  • python312Packages.coffea.dist
  • python312Packages.dask-awkward
  • python312Packages.dask-awkward.dist
  • python312Packages.dask-histogram
  • python312Packages.dask-histogram.dist
  • python312Packages.hist
  • python312Packages.hist.dist
  • python312Packages.mplhep
  • python312Packages.mplhep.dist
  • python312Packages.pyannote-audio
  • python312Packages.pyannote-audio.dist
  • python312Packages.sumo
  • python312Packages.sumo.dist
  • python312Packages.vector
  • python312Packages.vector.dist
  • whisper-ctranslate2
  • whisper-ctranslate2.dist
✅ 46 packages built:
  • pianotrans
  • pianotrans.dist
  • python311Packages.atomman
  • python311Packages.atomman.dist
  • python311Packages.islpy
  • python311Packages.islpy.dist
  • python311Packages.librosa
  • python311Packages.librosa.dist
  • python311Packages.manifold3d
  • python311Packages.manifold3d.dist
  • python311Packages.nanobind
  • python311Packages.nanobind.dist
  • python311Packages.phonopy
  • python311Packages.phonopy.dist
  • python311Packages.piano-transcription-inference
  • python311Packages.piano-transcription-inference.dist
  • python311Packages.soxr
  • python311Packages.soxr.dist
  • python311Packages.torch-audiomentations
  • python311Packages.torch-audiomentations.dist
  • python311Packages.torchcrepe
  • python311Packages.torchcrepe.dist
  • python311Packages.torchlibrosa
  • python311Packages.torchlibrosa.dist
  • python312Packages.atomman
  • python312Packages.atomman.dist
  • python312Packages.islpy
  • python312Packages.islpy.dist
  • python312Packages.librosa
  • python312Packages.librosa.dist
  • python312Packages.manifold3d
  • python312Packages.manifold3d.dist
  • python312Packages.nanobind
  • python312Packages.nanobind.dist
  • python312Packages.phonopy
  • python312Packages.phonopy.dist
  • python312Packages.piano-transcription-inference
  • python312Packages.piano-transcription-inference.dist
  • python312Packages.soxr
  • python312Packages.soxr.dist
  • python312Packages.torch-audiomentations
  • python312Packages.torch-audiomentations.dist
  • python312Packages.torchcrepe
  • python312Packages.torchcrepe.dist
  • python312Packages.torchlibrosa
  • python312Packages.torchlibrosa.dist

@wegank wegank added 12.approvals: 1 This PR was reviewed and approved by one reputable person 12.approved-by: package-maintainer This PR was reviewed and approved by a maintainer listed in the package labels Nov 27, 2024
@wegank wegank added 12.approvals: 2 This PR was reviewed and approved by two reputable people and removed 12.approvals: 1 This PR was reviewed and approved by one reputable person labels Nov 28, 2024
@GaetanLepage GaetanLepage merged commit 564e219 into NixOS:master Nov 29, 2024
36 of 37 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
6.topic: python 10.rebuild-darwin: 11-100 10.rebuild-linux: 11-100 12.approvals: 2 This PR was reviewed and approved by two reputable people 12.approved-by: package-maintainer This PR was reviewed and approved by a maintainer listed in the package
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants