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

Warn when an unsupported Python version is encountered #3250

Merged
merged 3 commits into from
Apr 24, 2024

Conversation

zanieb
Copy link
Member

@zanieb zanieb commented Apr 24, 2024

I rebased #2757 then realized that we want to implement this for more than uv venv.

Closes #2587
Closes #2757

❯ cargo run -q -- pip install -p /Users/mz/bin/python3.7 anyio
warning: uv is only compatible with Python 3.8+, found Python 3.7.17.
Audited 1 package in 84ms

❯ cargo run -q -- venv -p /Users/mz/bin/python3.7
warning: uv is only compatible with Python 3.8+, found Python 3.7.17.
Using Python 3.7.17 interpreter at: /Users/mz/bin/python3.7
Creating virtualenv at: .venv
Activate with: source .venv/bin/activate

@zanieb zanieb force-pushed the feat/add-warning-message-unsupported-python-version branch from c000be7 to 444b1e8 Compare April 24, 2024 16:22
@zanieb zanieb enabled auto-merge (squash) April 24, 2024 17:11
@zanieb zanieb force-pushed the feat/add-warning-message-unsupported-python-version branch 2 times, most recently from 9a8a55b to d9a8176 Compare April 24, 2024 17:33
@zanieb zanieb force-pushed the feat/add-warning-message-unsupported-python-version branch from d9a8176 to 434719a Compare April 24, 2024 17:45
@zanieb zanieb merged commit c22e15f into main Apr 24, 2024
40 checks passed
@zanieb zanieb deleted the feat/add-warning-message-unsupported-python-version branch April 24, 2024 17:51
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.

Warn when using uv with an incompatible Python version.
2 participants