-
Notifications
You must be signed in to change notification settings - Fork 792
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 306 cannot build with python3.12 #2249
Comments
@tangyinqi Do you have the full error log? The tests do run the install script on Python 3.12 (although not in debug mode), so I'm tempted to say it's likely an issue with your environment. pywin32/.github/workflows/main.yml Lines 19 to 40 in 371f784
setuptools stills vendors and patches-in distutils. So no I don't think so. |
minor note as I was searching for bug notes before filing one as I found an issue in 306 using Python 3.12 on Windows... the imp is used in |
@smanross that has been resolved in #2113 but isn't released yet. If you need it, you can look at artefacts from the "CI" action: https://github.com/mhammond/pywin32/actions/workflows/main.yml?query=is%3Asuccess+branch%3Amain |
Both #2169 and #2113 are merged. If you still have this issue, please provide a complete log. |
For all bugs, please provide the following information:
Expected behavior and actual behavior
Steps to reproduce the problem
Build 306 of pywin32 cannot be built with python 3.12.
But build 306 of pywin32 can be built with python 3.86
(I built it in virtual windows environment)
distutils was removed in python 3.12, which was still used in setup.py. So is that the reason?
Anyone who has successfully built pywin32 with python 3.12?
Below is where it failed building:
This is the command I use to build:
System information
Python version and distribution:
pywin32 version: build 306
Installed from PyPI or exe installer:
Windows Version:
DLL locations:
The text was updated successfully, but these errors were encountered: