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,test: add proper support for IBM i #42689

Closed
wants to merge 3 commits into from
Closed

build,test: add proper support for IBM i #42689

wants to merge 3 commits into from

Conversation

dmabupt
Copy link
Contributor

@dmabupt dmabupt commented Apr 11, 2022

Python 3.9 on IBM i now properly returns "os400" for sys.platform
instead of claiming to be AIX as it did previously. While the IBM i PASE
environment is compatible with AIX, it is a subset and has numerous
differences which makes it beneficial to distinguish, however this means
that it now needs explicit support here.

Related PR:

Python 3.9 on IBM i now properly returns "os400" for sys.platform
instead of claiming to be AIX as it did previously. While the IBM i PASE
environment is compatible with AIX, it is a subset and has numerous
differences which makes it beneficial to distinguish, however this means
that it now needs explicit support here.
@nodejs-github-bot
Copy link
Collaborator

Review requested:

  • @nodejs/gyp
  • @nodejs/v8-update

@nodejs-github-bot nodejs-github-bot added build Issues and PRs related to build files or the CI. needs-ci PRs that need a full CI run. python PRs and issues that require attention from people who are familiar with Python. tools Issues and PRs related to the tools directory. v8 engine Issues and PRs related to the V8 dependency. labels Apr 11, 2022
@dmabupt dmabupt added the ibm i Issues and PRs related to the IBM i platform. label Apr 11, 2022
@dmabupt dmabupt marked this pull request as draft April 11, 2022 03:45
@kadler
Copy link

kadler commented Apr 12, 2022

These changes depend on related changes in nodejs/gyp-next#140 being pulled in (now released in gyp-next 0.11.0) as well as those changes being merged in to node-gyp and then merged in here.

The v8 build changes use process.platform() in Python, which has always returned "OS400" regardless of the Python version, so I believe we are not dependent on those changes (though @V-for-Vasili is going to push the changes to distinguish AIX and OS400 upstream regardless).

@richardlau
Copy link
Member

These changes depend on related changes in nodejs/gyp-next#140 being pulled in (now released in gyp-next 0.11.0) as well as those changes being merged in to node-gyp and then merged in here.

#42625 updated gyp-next here and included the IBM i changes in nodejs/gyp-next#140.

Reviewing the separate node-gyp changes are on my list of things to do.

@targos
Copy link
Member

targos commented Nov 8, 2022

Is this going to be finished at some point?

@kadler
Copy link

kadler commented Nov 10, 2022

I forgot about this and thought it had already been merged. We definitely want to get this in for Node 20. The gyp-next changes have already been pulled in as part of #44605 @dmabupt can you please bring it out of draft and rebase as-needed?

We'll also need to get npm to update their copy of node-gyp with at least v9.2.0 and then get that version pulled in here.

@kadler
Copy link

kadler commented Nov 10, 2022

Looks like npm/cli already pulled in node-gyp 9.3.0 as of 9.1, but the version shipped here is 8.19.x. I'm not sure if that can be upgraded to 9.1 or if we'll need npm to update node-gyp in the 8.19 branch.

@targos
Copy link
Member

targos commented Nov 11, 2022

npm will be soon updated to v9.x see #45395

@kadler
Copy link

kadler commented Nov 17, 2022

Looks like npm has been upgraded to 9.1.2 so we should be good to go. @dmabupt can you unmark as draft and fix up conflicts please.

@targos targos marked this pull request as ready for review November 18, 2022 06:09
@dmabupt
Copy link
Contributor Author

dmabupt commented Feb 6, 2023

I created a new PR #46510 to track this issue. Close this one.

@dmabupt dmabupt closed this Feb 6, 2023
@dmabupt dmabupt deleted the py39_test branch February 13, 2023 02:32
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. ibm i Issues and PRs related to the IBM i platform. needs-ci PRs that need a full CI run. python PRs and issues that require attention from people who are familiar with Python. tools Issues and PRs related to the tools directory. v8 engine Issues and PRs related to the V8 dependency.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

5 participants