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 for shorter --python-version=3.7 argument: --3.7 or --python=3.7 #1336

Closed
2-5 opened this issue Feb 15, 2024 · 4 comments
Closed

Support for shorter --python-version=3.7 argument: --3.7 or --python=3.7 #1336

2-5 opened this issue Feb 15, 2024 · 4 comments
Labels
enhancement New feature or improvement to existing functionality

Comments

@2-5
Copy link

2-5 commented Feb 15, 2024

I often create venvs for multiple Python versions, --python-version=3.7 is just too long, consider (additional) shorter options:

--3.7
--py=3.7
--python=3.7
@MichaReiser MichaReiser added the enhancement New feature or improvement to existing functionality label Feb 15, 2024
@zanieb
Copy link
Member

zanieb commented Feb 18, 2024

I don't think we'll support --3.7 as that's ambiguous, but we could add a shorter flag for the version.

@dhruvmanila
Copy link
Member

--python seems reasonable, it's also being used by pipenv.

@zanieb
Copy link
Member

zanieb commented Feb 19, 2024

We'll need to be careful that the flag makes sense with #1396

@charliermarsh
Copy link
Member

Most commands support -p which I think is fine.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or improvement to existing functionality
Projects
None yet
Development

No branches or pull requests

5 participants