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

AppVeyor tests fail on Python 3.12 and 3.13 #986

Closed
wants to merge 1 commit into from

Conversation

cclauss
Copy link
Contributor

@cclauss cclauss commented Feb 8, 2025

Fixed by #985

-  - IF %nodejs_version% GEQ 22 set NODE_GYP_FORCE_PYTHON=C:\Python38-x64\python.exe
+  - IF %nodejs_version% GEQ 22 set NODE_GYP_FORCE_PYTHON=C:\Python312-x64\python.exe
                                                                    ^^

Test results: https://ci.appveyor.com/project/RodVagg/nan/builds/51476801 for Node.js v22

gyp info it worked if it ends with ok
gyp info using node-gyp@8.4.1
...
gyp info find Python using Python version 3.12.8 found at "C:\Python312-x64\python.exe"
...
gyp info spawn args ]
Traceback (most recent call last):
  File "C:\projects\nan\node_modules\node-gyp\gyp\gyp_main.py", line 42, in <module>
    import gyp  # noqa: E402
    ^^^^^^^^^^
  File "C:\projects\nan\node_modules\node-gyp\gyp\pylib\gyp\__init__.py", line 9, in <module>
    import gyp.input
  File "C:\projects\nan\node_modules\node-gyp\gyp\pylib\gyp\input.py", line 19, in <module>
    from distutils.version import StrictVersion
ModuleNotFoundError: No module named 'distutils'
gyp ERR! configure error 

These failing tests will be fixed by

node-gyp issues related to nan: https://github.com/nodejs/node-gyp/issues?q=label%3Anodejs%2Fnan

These failing tests will be fixed by
* nodejs#985
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant