Skip to content

[staging-next-24.11] python312Packages.pydantic-core: fix build#320025

Merged
mweinelt merged 1 commit intoNixOS:staging-next-24.05from
mweinelt:24.11/pydantic-core-fix
Jun 15, 2024
Merged

[staging-next-24.11] python312Packages.pydantic-core: fix build#320025
mweinelt merged 1 commit intoNixOS:staging-next-24.05from
mweinelt:24.11/pydantic-core-fix

Conversation

@mweinelt
Copy link
Member

@mweinelt mweinelt commented Jun 15, 2024

Due a missing default value to the recursive_guard attribute we've seen this package fail to build from Python 3.12.4.

https://hydra.nixos.org/build/263292352

The fix for unstable would be to bump to pydantic-core 2.19.0.

cc #317935

Description of changes

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/)
  • 24.11 Release Notes (or backporting 23.11 and 24.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.

Due a missing default value to the recursive_guard attribute we've seen
this package fail to build from Python 3.12.4.

https://hydra.nixos.org/build/263292352
@github-actions github-actions bot added the 6.topic: python Python is a high-level, general-purpose programming language. label Jun 15, 2024
@ofborg ofborg bot added 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: 2501-5000 This PR causes many rebuilds on Linux and should target the staging branches. labels Jun 15, 2024
@mweinelt mweinelt merged commit c7e52d2 into NixOS:staging-next-24.05 Jun 15, 2024
@mweinelt mweinelt deleted the 24.11/pydantic-core-fix branch June 15, 2024 10:47
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: 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: 2501-5000 This PR causes many rebuilds on Linux and should target the staging branches.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant