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

Use importlib in Python >= 3.12, add Conan v1 deprecation message #14841

Merged
merged 3 commits into from
Sep 29, 2023

Conversation

AbrilRBS
Copy link
Member

Changelog: Fix: Use importlib in Python >= 3.12
Docs: Omit

If using Python >= 3.12, use the same importlib mechanism than Conan 2. Note that this is not globally enabled for every Python version to avoid corner case differences between the two in all Python versions, ensuring nothing breaks for users stuck in older Python versions

I've added the message to this same PR as discussed with the team, but happy to separate into a different one - I've chosen to show it for every command except --version, as the python_version message does

Closes #14801

@AbrilRBS AbrilRBS added this to the 1.62 milestone Sep 28, 2023
conans/client/command.py Outdated Show resolved Hide resolved
Copy link
Member

@memsharded memsharded left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Good, can be merged for next 1.X release

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.

3 participants