Skip to content
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

build: update required python version to 3.8 #54358

Merged
merged 5 commits into from
Aug 23, 2024

Conversation

RedYetiDev
Copy link
Member

Closes #54112

Configure scripts use := operator now, which requires python 3.8.

File "tools/gyp/pylib/gyp/common.py", line 435 if CC := os.environ.get("CC_target") or os.environ.get("CC"):

@nodejs-github-bot nodejs-github-bot added build Issues and PRs related to build files or the CI. doc Issues and PRs related to the documentations. needs-ci PRs that need a full CI run. labels Aug 13, 2024
@RedYetiDev RedYetiDev added the python PRs and issues that require attention from people who are familiar with Python. label Aug 13, 2024
@RedYetiDev RedYetiDev added the commit-queue-squash Add this label to instruct the Commit Queue to squash all the PR commits into the first one. label Aug 13, 2024
@richardlau richardlau added dont-land-on-v18.x PRs that should not land on the v18.x-staging branch and should not be released in v18.x. dont-land-on-v20.x PRs that should not land on the v20.x-staging branch and should not be released in v20.x. labels Aug 13, 2024
@RedYetiDev
Copy link
Member Author

RedYetiDev commented Aug 13, 2024

CC @nodejs/python @nodejs/build

CC previous participants @d3x0r @lpinca

@cclauss
Copy link
Contributor

cclauss commented Aug 13, 2024

Instead of doing this over and over again, I would strongly recommend that we point readers to the currently supported versions as we do at https://github.com/nodejs/node-gyp/blob/main/README.md#on-unix

Copy link
Contributor

@cclauss cclauss left a comment

Choose a reason for hiding this comment

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

Were my comments unclear?

@RedYetiDev
Copy link
Member Author

Instead of doing this over and over again, I would strongly recommend that we point readers to the currently supported versions as we do at nodejs/node-gyp@main/README.md#on-unix

I've made that change to the "Windows" section, but I think it's okay to keep the exact version in "Prerequisites". As for 3.12, I think that's an issue for a different PR, as this one is specifically removing up until 3.8, not adding more versions.

@RedYetiDev
Copy link
Member Author

RedYetiDev commented Aug 13, 2024

@cclauss I noticed you 👎 my comment, is there a specific part you'd like to be changed?

It's also worth noting the 'missing' v3.12 is specificly for the android compilation.

@anonrig
Copy link
Member

anonrig commented Aug 14, 2024

Did I stutter?

@cclauss What's the basis of blocking this pull request? I didn't understand.

@jasnell
Copy link
Member

jasnell commented Aug 14, 2024

@cclauss ... The "did I stutter" comment here is unproductive, unfriendly, and unhelpful. If you are requesting changes to this PR please articulate what those are.

@cclauss
Copy link
Contributor

cclauss commented Aug 14, 2024

If you are requesting changes to this PR please articulate what those are.

My requested changes have already been stated. If you choose to ignore them then please proceed. My contributions to Node.js have been all about keeping its Python infrastructure current. My suggestions above are merely a continuation of that effort to ensure that Node.js users open fewer Python-related issues.

@jasnell
Copy link
Member

jasnell commented Aug 14, 2024

I understand that you have requested changes. The issue is more the rather disrespectful way you presented your change request. The "did I stutter" comment was disrespectful.

Copy link
Member

@Trott Trott left a comment

Choose a reason for hiding this comment

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

LGTM with or without changing android-configure to support 3.12 (and 3.13, just to be synchronized with configure) but I do have a slight preference that it be changed in this PR.

Copy link
Contributor

@cclauss cclauss left a comment

Choose a reason for hiding this comment

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

OK. I or someone else will revisit these files to complete the task.

Ignoring my review comments, marking them resolved, and leaving the work for others to do is disrespectful thus my snarkiness.

BUILDING.md Outdated Show resolved Hide resolved
BUILDING.md Outdated Show resolved Hide resolved
android-configure Show resolved Hide resolved
android-configure Show resolved Hide resolved
RedYetiDev and others added 2 commits August 14, 2024 07:13
Co-authored-by: Christian Clauss <[email protected]>
Co-authored-by: Christian Clauss <[email protected]>
@RedYetiDev
Copy link
Member Author

RedYetiDev commented Aug 14, 2024

Ignoring my review comments, marking them resolved, and leaving the work for others to do is disrespectful thus my snarkiness.

I'm sorry if you feel my response was disrespectful. I had no intention of it coming off that way.

Ignoring my review comments

I don't want you to think I'm ignoring your review comments. Your insight is extremely important.

marking them resolved

I only marked one of your reviews as resolved, as I felt it would be easier to manage if there was one conversation rather than two going on about the same topic.

and leaving the work for others to do

I'm happy to do the work required for android's configure script to support 3.12 and 3.13, I just don't believe that work should be done in this PR.

@cclauss
Copy link
Contributor

cclauss commented Aug 14, 2024

I think we are all good @RedYetiDev. I do appreciate your work and I apologize for being snarky.

I approved this PR so we can move forward...

@nodejs-github-bot nodejs-github-bot added commit-queue-failed An error occurred while landing this pull request using GitHub Actions. and removed commit-queue Add this label to land a pull request using GitHub Actions. labels Aug 23, 2024
@nodejs-github-bot
Copy link
Collaborator

Commit Queue failed
- Loading data for nodejs/node/pull/54358
✔  Done loading data for nodejs/node/pull/54358
----------------------------------- PR info ------------------------------------
Title      build: update required python version to 3.8 (#54358)
   ⚠  Could not retrieve the email or name of the PR author's from user's GitHub profile!
Branch     RedYetiDev:python3.8 -> nodejs:main
Labels     doc, build, python, needs-ci, commit-queue-squash, dont-land-on-v18.x, dont-land-on-v20.x
Commits    5
 - build: update required python version to 3.8
 - Update pyproject.toml
 - Update BUILDING.md
 - Update BUILDING.md
 - Update BUILDING.md
Committers 2
 - RedYetiDev <[email protected]>
 - GitHub <[email protected]>
PR-URL: https://github.com/nodejs/node/pull/54358
Reviewed-By: Christian Clauss <[email protected]>
Reviewed-By: Rich Trott <[email protected]>
Reviewed-By: Luigi Pinca <[email protected]>
------------------------------ Generated metadata ------------------------------
PR-URL: https://github.com/nodejs/node/pull/54358
Reviewed-By: Christian Clauss <[email protected]>
Reviewed-By: Rich Trott <[email protected]>
Reviewed-By: Luigi Pinca <[email protected]>
--------------------------------------------------------------------------------
   ⚠  Commits were pushed since the last approving review:
   ⚠  - Update BUILDING.md
   ⚠  - Update BUILDING.md
   ℹ  This PR was created on Tue, 13 Aug 2024 16:27:21 GMT
   ✔  Approvals: 3
   ✔  - Christian Clauss (@cclauss): https://github.com/nodejs/node/pull/54358#pullrequestreview-2237132795
   ✔  - Rich Trott (@Trott): https://github.com/nodejs/node/pull/54358#pullrequestreview-2237096436
   ✔  - Luigi Pinca (@lpinca): https://github.com/nodejs/node/pull/54358#pullrequestreview-2237668891
   ✔  Last GitHub CI successful
   ℹ  Last Full PR CI on 2024-08-19T21:13:51Z: https://ci.nodejs.org/job/node-test-pull-request/61250/
- Querying data for job/node-test-pull-request/61250/
   ✔  Last Jenkins CI successful
--------------------------------------------------------------------------------
   ✔  Aborted `git node land` session in /home/runner/work/node/node/.ncu
https://github.com/nodejs/node/actions/runs/10531055982

@Trott Trott added commit-queue Add this label to land a pull request using GitHub Actions. doc Issues and PRs related to the documentations. build Issues and PRs related to build files or the CI. python PRs and issues that require attention from people who are familiar with Python. needs-ci PRs that need a full CI run. dont-land-on-v18.x PRs that should not land on the v18.x-staging branch and should not be released in v18.x. dont-land-on-v20.x PRs that should not land on the v20.x-staging branch and should not be released in v20.x. and removed doc Issues and PRs related to the documentations. build Issues and PRs related to build files or the CI. python PRs and issues that require attention from people who are familiar with Python. needs-ci PRs that need a full CI run. commit-queue-failed An error occurred while landing this pull request using GitHub Actions. dont-land-on-v18.x PRs that should not land on the v18.x-staging branch and should not be released in v18.x. dont-land-on-v20.x PRs that should not land on the v20.x-staging branch and should not be released in v20.x. labels Aug 23, 2024
@cclauss
Copy link
Contributor

cclauss commented Aug 23, 2024

@RedYetiDev the red message below says Merging is blocked.

@Trott
Copy link
Member

Trott commented Aug 23, 2024

@RedYetiDev the red message below says Merging is blocked.

I think that's what it says on all of our PRs. I think of it as a way to mostly make sure no one accidentally uses the GitHub button.

@Trott
Copy link
Member

Trott commented Aug 23, 2024

@Trott did you mean to remove all the other labels?

Nope. That's why I immediately re-added them. Not sure how they all got de-selected. I might need my web-browsing license revoked.

@RedYetiDev
Copy link
Member Author

Nope. That's why I immediately re-added them. Not sure how they all got de-selected. I might need my web-browsing license revoked.

Happens to me more often that i can count... 😆

@nodejs-github-bot nodejs-github-bot removed the commit-queue Add this label to land a pull request using GitHub Actions. label Aug 23, 2024
@nodejs-github-bot nodejs-github-bot merged commit 22daeba into nodejs:main Aug 23, 2024
77 checks passed
@nodejs-github-bot
Copy link
Collaborator

Landed in 22daeba

@RedYetiDev
Copy link
Member Author

android-configure Python 3.13 support in a follow-up at #54529

RafaelGSS pushed a commit that referenced this pull request Aug 25, 2024
Co-Authored-By: Jim B <[email protected]>
PR-URL: #54358
Reviewed-By: Christian Clauss <[email protected]>
Reviewed-By: Rich Trott <[email protected]>
Reviewed-By: Luigi Pinca <[email protected]>
@RafaelGSS RafaelGSS mentioned this pull request Aug 25, 2024
RafaelGSS pushed a commit that referenced this pull request Aug 30, 2024
Co-Authored-By: Jim B <[email protected]>
PR-URL: #54358
Reviewed-By: Christian Clauss <[email protected]>
Reviewed-By: Rich Trott <[email protected]>
Reviewed-By: Luigi Pinca <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
build Issues and PRs related to build files or the CI. commit-queue-squash Add this label to instruct the Commit Queue to squash all the PR commits into the first one. doc Issues and PRs related to the documentations. dont-land-on-v18.x PRs that should not land on the v18.x-staging branch and should not be released in v18.x. dont-land-on-v20.x PRs that should not land on the v20.x-staging branch and should not be released in v20.x. needs-ci PRs that need a full CI run. python PRs and issues that require attention from people who are familiar with Python.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

8 participants