-
-
Notifications
You must be signed in to change notification settings - Fork 14.4k
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
nodejs_18: fix build with python312 #324362
base: staging
Are you sure you want to change the base?
Conversation
@@ -16,6 +16,8 @@ let | |||
buildPackages = buildPackages // { stdenv = ensureCompatibleCC buildPackages; }; | |||
python = python311; | |||
}; | |||
|
|||
python312Patches = callPackage ./python312-v18-patches.nix { }; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
We're currently pinning Python 3.11 already, can we drop this for now?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Some of the Python 3.12 commits were backported and released upstream (see https://github.com/nodejs/node/blob/v18.20.3/doc/changelogs/CHANGELOG_V18.md#commits-3), I’m not really sure whether we should be using Python 3.11 instead of fully backporting other changes required for Python 3.12 🤔
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
We don't want any more rebuilds for this staging-next, in the future we'll want to switch to 3.12.
I've cherry-picked the node_22 changes to staging-next, node_18 can go to staging proper. |
Needs rebasing. Is this still relevant? I see there was an upstream release on July 8; did that include these fixes? |
I’m working on a larger refactor of the Node.js package and I’ll probably include these patches instead of rebasing this PR. |
Description of changes
Fixes Python 3.12 compatibility for Node.js v18.
Split from #262124 (see #262124 (comment)).
Things done
nix.conf
? (See Nix manual)sandbox = relaxed
sandbox = true
nix-shell -p nixpkgs-review --run "nixpkgs-review rev HEAD"
. Note: all changes have to be committed, also see nixpkgs-review usage./result/bin/
)Add a 👍 reaction to pull requests you find important.