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

Support Python 3.10 in find_site_packages #199

Merged
merged 3 commits into from
Jan 18, 2022

Conversation

jtilly
Copy link
Contributor

@jtilly jtilly commented Jan 1, 2022

The current implementation of find_site_packages

extracts the Python version from a string with

major_minor = python_version[:3] # e.g. '3.5.1'[:3]

This returns 3.1 for Python 3.10, which is not what we want.

This may also address the issue reported in #198.

`python_version[:3]` returns `3.1` for 3.10, which is not what we want.
@anaconda-issue-bot
Copy link

We require contributors to sign our Contributor License Agreement, and we don't have one on file for @jtilly. In order for us to review and merge your code, please e-sign the PDF at https://conda.io/en/latest/contributing.html#conda-contributor-license-agreement. We then need to manually verify your signature. We will ping the bot to refresh the PR status when we have confirmed your signature.

@jtilly
Copy link
Contributor Author

jtilly commented Jan 2, 2022

@dbast @jezdez I signed the CLA

@dbast
Copy link
Member

dbast commented Jan 18, 2022

@anaconda-issue-bot check

@anaconda-issue-bot anaconda-issue-bot added the cla-signed [bot] added once the contributor has signed the CLA label Jan 18, 2022
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
cla-signed [bot] added once the contributor has signed the CLA locked [bot] locked due to inactivity
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants