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

More detailed info for 'saved Python interpreter doesn't match the project's requirement' #3276

Closed
1 task
jasonhemann opened this issue Nov 11, 2024 · 1 comment · Fixed by #3309
Closed
1 task
Labels
⭐ enhancement Improvements for existing features 💨 sprint Special label for PyCon sprint

Comments

@jasonhemann
Copy link

Feature Description

There seem to be a lot of possible causes that would trigger the following info and warning message:

INFO: The saved Python interpreter doesn't match the project's requirement. Trying to find another one.
WARNING: Project requires a python version of >=3.13, The virtualenv is being created for you as it cannot be matched to the right version.

It would be nice to tell what facet of the current configuration causes that message to appear---missing ./.venv? only earlier python versions?

I could understand not wanting this information for every user all the time, but maybe at least under the -v flag it would be nice to see.

Problem and Solution

Some info message that would output what's being attempted re: the saved interpreter, so that a user can make better sense of the subsequent output.

Additional Context

No response

Are you willing to contribute to the development of this feature?

  • Yes, I am willing to contribute to the development of this feature.
@jasonhemann jasonhemann added the ⭐ enhancement Improvements for existing features label Nov 11, 2024
@frostming
Copy link
Collaborator

PR welcome

@frostming frostming added the 💝 good first issue Good for newcomers label Nov 12, 2024
@frostming frostming added 💨 sprint Special label for PyCon sprint and removed 💝 good first issue Good for newcomers labels Nov 22, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
⭐ enhancement Improvements for existing features 💨 sprint Special label for PyCon sprint
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants