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

python3.pkgs.cmake: init stub at 3.26.4 #247064

Merged
merged 3 commits into from
Aug 16, 2023
Merged

python3.pkgs.cmake: init stub at 3.26.4 #247064

merged 3 commits into from
Aug 16, 2023

Conversation

tjni
Copy link
Contributor

@tjni tjni commented Aug 4, 2023

Description of changes

I would like this to be as transparent as possible for Python packages, so I'm shadowing the top-level cmake attribute by using the same name as the PyPI package that this replaces.

As in #246963, a goal is to help with the rollout of #245509 by letting packages that depend on this in their builds to pass dependency validation.

Things done

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

@tjni tjni marked this pull request as draft August 4, 2023 04:05
@tjni
Copy link
Contributor Author

tjni commented Aug 4, 2023

This breaks torch right now, and I need to investigate.

@nixos-discourse
Copy link

This pull request has been mentioned on NixOS Discourse. There might be relevant details there:

https://discourse.nixos.org/t/prs-ready-for-review/3032/2509

@figsoda figsoda added the 12.approvals: 1 This PR was reviewed and approved by one reputable person label Aug 9, 2023
tjni added 3 commits August 15, 2023 20:53
I would like this to be as transparent as possible for Python packages,
so I'm shadowing the top-level cmake attribute by using the same name as
the PyPI package that this replaces.
Since this project uses scikit-build-core and does not declare its own
build dependency on the cmake PyPI module, it can depend on the tool by
itself.
@tjni tjni merged commit c306c88 into NixOS:staging Aug 16, 2023
@tjni tjni deleted the cmake branch August 16, 2023 06:25
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
6.topic: python 8.has: package (new) This PR adds a new package 10.rebuild-darwin: 501+ 10.rebuild-darwin: 2501-5000 10.rebuild-linux: 501+ 10.rebuild-linux: 5001+ 11.by: package-maintainer This PR was created by the maintainer of the package it changes 12.approvals: 1 This PR was reviewed and approved by one reputable person
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants