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

Legacy: Use sysconfig.get_default_scheme() where available #2109

Merged
merged 2 commits into from
May 5, 2021

Conversation

hroncok
Copy link
Contributor

@hroncok hroncok commented May 4, 2021

sysconfig._get_default_scheme() is gone on Python 3.10

(We support Fedora 32 for another 3 weeks and we still have legacy virtualenv there. I will patch this in, but I wanted to share it. Not tested yet.)

sysconfig._get_default_scheme() is gone on Python 3.10
@hroncok hroncok force-pushed the get_default_scheme branch from be49a69 to 01b5a82 Compare May 4, 2021 19:51
@hroncok
Copy link
Contributor Author

hroncok commented May 4, 2021

The bot is changing irrelevant things here :/

Copy link
Contributor

@gaborbernat gaborbernat left a comment

Choose a reason for hiding this comment

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

You'll need to fix the CI here.

@hroncok
Copy link
Contributor Author

hroncok commented May 5, 2021

Do you want me to add a style commit first, or to disable the pre-commit CI on the legacy branch?

@gaborbernat
Copy link
Contributor

gaborbernat commented May 5, 2021

Definitely don't disable the style check. We need to understand why it's triggered here and not on the master (or other) branches.

PS. A wait I see it's the legacy branch. Never mind then.

@gaborbernat
Copy link
Contributor

It's ok to disable pre-commit here.

@hroncok hroncok force-pushed the get_default_scheme branch from a08d660 to 13f0948 Compare May 5, 2021 08:58
@hroncok hroncok force-pushed the get_default_scheme branch from 13f0948 to 2ac7819 Compare May 5, 2021 08:58
@gaborbernat gaborbernat merged commit b4aef0a into pypa:legacy May 5, 2021
@hroncok
Copy link
Contributor Author

hroncok commented May 5, 2021

Thanks.

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.

2 participants