Skip to content

python312: 3.12.3 -> 3.12.4#317935

Merged
mweinelt merged 1 commit intoNixOS:stagingfrom
natsukium:cpython312/update
Jun 7, 2024
Merged

python312: 3.12.3 -> 3.12.4#317935
mweinelt merged 1 commit intoNixOS:stagingfrom
natsukium:cpython312/update

Conversation

@natsukium
Copy link
Member

https://docs.python.org/release/3.12.4/whatsnew/changelog.html

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.

@github-actions github-actions bot added the 6.topic: python Python is a high-level, general-purpose programming language. label Jun 7, 2024
@natsukium natsukium requested a review from mweinelt June 7, 2024 08:55
@mweinelt mweinelt mentioned this pull request Jun 7, 2024
13 tasks
@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: 5001+ This PR causes many rebuilds on Darwin and must 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 Jun 7, 2024
@mweinelt mweinelt linked an issue Jun 7, 2024 that may be closed by this pull request
1 task
@mweinelt
Copy link
Member

mweinelt commented Jun 7, 2024

Tests are looking good on all platforms.

@mweinelt mweinelt merged commit a4f36f3 into NixOS:staging Jun 7, 2024
@github-actions
Copy link
Contributor

github-actions bot commented Jun 7, 2024

Successfully created backport PR for staging-24.05:

@natsukium natsukium deleted the cpython312/update branch June 7, 2024 11:49
@vcunat
Copy link
Member

vcunat commented Jun 15, 2024

I think the 24.05 backport was merged too soon. We'd now be getting this in nixos-24.05 before nixos-unstable, but that's not great, as experience shows that even patch-level bumps of python break things commonly. (fortunately 3.12 is not the default python version at least)

  • The first regression we see now is sphinx (checked locally that the python bump itself triggered that).

@vcunat
Copy link
Member

vcunat commented Jun 15, 2024

Some more:

@vcunat
Copy link
Member

vcunat commented Jun 15, 2024

I assume I'll revert the 24.05 backport for now?

@mweinelt
Copy link
Member

Taking a look.

@mweinelt
Copy link
Member

Okay, I think I've got fixes for all three packages ready. Ideally we'd manage them in staging first, but now that we are here, we might as well deal with them.

@vcunat
Copy link
Member

vcunat commented Jun 15, 2024

I suppose, if we seem to have enough manpower to fix these, we can try keeping it in this staging-next-24.05 iteration. The advantage of stable staging is that there's typically much less noise than in staging-next.

@vcunat
Copy link
Member

vcunat commented Jun 17, 2024

  • .makefun
  • .mashumaro
  • .twisted
  • .typeguard
  • .xmlschema

@mweinelt
Copy link
Member

Found issues for makefun and twisted, ended up disabling those tests. Creating an issue for mashumaro, since I assume they fixed the issue in one version, then introduced other issues, because they were testing with Python 3.12.3, not 3.12.4.

@vcunat
Copy link
Member

vcunat commented Jun 24, 2024

It was a lot, but almost all regressions should've been addressed by now:
https://hydra.nixos.org/eval/1807186?filter=python312Packages&compare=1807119#tabs-now-fail

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: 5001+ This PR causes many rebuilds on Darwin and must 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.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Update request: python312 3.12.3 -> 3.12.4

3 participants