Skip to content

Comments

haskellPackages.cpython: pin to python 3.11#325499

Merged
maralorn merged 1 commit intoNixOS:haskell-updatesfrom
sheepforce:haskell-cpython-fix
Jul 9, 2024
Merged

haskellPackages.cpython: pin to python 3.11#325499
maralorn merged 1 commit intoNixOS:haskell-updatesfrom
sheepforce:haskell-cpython-fix

Conversation

@sheepforce
Copy link
Member

Description of changes

The CPython package breaks with the new Python 3.12 unicode API and requires an upstream fix. For an intermediate solution, I've pinned the Python version to 3.11.

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: haskell General-purpose, statically typed, purely functional programming language label Jul 8, 2024
Copy link
Member

@sternenseemann sternenseemann left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Since it's a temporary override, it should go into configuration-common.nix traditionally. Otherwise LGTM.

@ofborg ofborg bot added 10.rebuild-darwin: 1-10 This PR causes between 1 and 10 packages to rebuild on Darwin. 10.rebuild-darwin: 1 This PR causes 1 package to rebuild on Darwin. 10.rebuild-linux: 1-10 This PR causes between 1 and 10 packages to rebuild on Linux. 10.rebuild-linux: 1 This PR causes 1 package to rebuild on Linux. labels Jul 8, 2024
@sheepforce sheepforce force-pushed the haskell-cpython-fix branch from b8391b0 to ea61ed3 Compare July 8, 2024 12:53
@sheepforce
Copy link
Member Author

Resolved by zsedem/haskell-cpython#22 and release 3.9.0 on Hackage

@maralorn
Copy link
Member

maralorn commented Jul 9, 2024

Looks good. Extra points if you don’t forget to remove it. :D

@maralorn maralorn merged commit cc1feff into NixOS:haskell-updates Jul 9, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

6.topic: haskell General-purpose, statically typed, purely functional programming language 10.rebuild-darwin: 1-10 This PR causes between 1 and 10 packages to rebuild on Darwin. 10.rebuild-darwin: 1 This PR causes 1 package to rebuild on Darwin. 10.rebuild-linux: 1-10 This PR causes between 1 and 10 packages to rebuild on Linux. 10.rebuild-linux: 1 This PR causes 1 package to rebuild on Linux.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants