-
Notifications
You must be signed in to change notification settings - Fork 994
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
[bug] Conan 1 is broken for Python 3.12 #14801
Comments
This was fixed for Conan V2 in #10127 but the fix was never backported to Conan V1. |
Hi! Thanks a lot for your report. We didn't originally backport this for backwards compatibility reasons - Some corner cases of imp's usage differ from importlib's, so we stuck with the old deprecated api around. Our plan is to release 1.62 with a check for Python 3.12 to fallback to the newer importlib - Note that this might have unintended differences in corer cases when running under 3.12 in Conan 1 compared to previous Python's versions |
@RubenRBS Thanks! I've patched Conan 1 locally to use |
Thanks! Hopefully the transition to importlib under Python 3.12 goes smoothly then :) (Thanks for the qt ping, I've asked the team to try to prioritize it if possible to try to unblock you) |
Closed in #14841 |
Update conan to 1.64.0 because 1.60.0 does not work correctly with Python 3.12 (see conan-io/conan#14801).
Environment details
Note: The
imp
module was removed in Python 3.12. See here.Steps to reproduce
python3 -m pip install conan==1.61
conan --version
Logs
The text was updated successfully, but these errors were encountered: