Skip to content

Question about use case of combination with pyenv and poetry #8738

Closed Answered by diniramdhni
young-hun-jo asked this question in Q&A
Discussion options

You must be logged in to vote

Poetry assumes that the virtual environment it will build will be compatible with the project if the global Python version is lower than the one provided in the project. This is due to the fact that higher Python versions often preserve backward compatibility, thus executing a project with a higher Python version should work in principle.

Poetry alerts you about the probable conflict in the first instance you specified, where the general Python version is 3.12.0 and the project requires 3.10.12. There is no warning in the second instance, when the global Python version is 3.10.12 and the project requires 3.12.0, since Poetry thinks that adopting a higher version would still be compatible.

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@young-hun-jo
Comment options

Answer selected by young-hun-jo
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants