-
Notifications
You must be signed in to change notification settings - Fork 18
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
fix: correctly find npm on Python 3.12 (win) #47
base: main
Are you sure you want to change the base?
Conversation
@pradyunsg not sure what your notification setup is, so I'm manually pinging you. Apologies if you're already tracking this. |
Ah, so it's python/cpython#109590. |
@pradyunsg is there anything you need me to do here? I'm under the impression you'll want to think about this, but let me know if there's any further work to be done on my part! |
No, I think I've got everything here from you -- thanks for filing this, it's genuinely appreciated! It would've taken me quite a while to realise this was a CPython bug without a prompt from this PR and this fix. I have to spend some time context switching back into this project sometime in the next few weeks to catch up on what's borked and all that -- I've got a lot of life happening over the past few weeks for me and being a volunteer maintainer on OSS stuff comes lower in the hierarchy of things for me. :) |
Totally get it — good luck with IRL! We'll move forward over at EB with working wheels, and pick up the sdist side of things when we next circle back. Equally, I'm happy to take on some maintainership here, so let me know if you're interested. My outgoing role is on scikit-hep/awkward, and I'm also involved in the EB project (e.g. executablebooks/jupyterlab-myst). |
@pradyunsg do you perhaps have any more time to take a look at this PR? Let me know if there's more I can/should do here. |
On Python 3.12.0,
shutil.which
finds the Bashnpm
shell script rather thannpm.CMD
when the system is Windows. This PR effectively looks forPATHEXT
-suffixed binaries and takes them in preference.Fixes #46