Skip to content

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

Merged
tjni merged 3 commits intoNixOS:stagingfrom
tjni:cmake
Aug 16, 2023
Merged

python3.pkgs.cmake: init stub at 3.26.4#247064
tjni merged 3 commits intoNixOS:stagingfrom
tjni:cmake

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.

@github-actions github-actions bot added the 6.topic: python Python is a high-level, general-purpose programming language. label Aug 4, 2023
@ofborg ofborg bot added 8.has: package (new) This PR adds a new package 11.by: package-maintainer This PR was created by a maintainer of all the package it changes. 10.rebuild-darwin: 501+ This PR causes many rebuilds on Darwin and should normally target the staging branches. 10.rebuild-darwin: 2501-5000 This PR causes many rebuilds on Darwin and should target the staging branches. 10.rebuild-linux: 501+ This PR causes many rebuilds on Linux and should normally target the staging branches. 10.rebuild-linux: 5001+ This PR causes many rebuilds on Linux and must target the staging branches. labels Aug 4, 2023
@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 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 Python is a high-level, general-purpose programming language. 8.has: package (new) This PR adds a new package 10.rebuild-darwin: 501+ This PR causes many rebuilds on Darwin and should normally target the staging branches. 10.rebuild-darwin: 2501-5000 This PR causes many rebuilds on Darwin and should target the staging branches. 10.rebuild-linux: 501+ This PR causes many rebuilds on Linux and should normally target the staging branches. 10.rebuild-linux: 5001+ This PR causes many rebuilds on Linux and must target the staging branches. 11.by: package-maintainer This PR was created by a maintainer of all the package it changes. 12.approvals: 1 This PR was reviewed and approved by one person.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants