You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I have a project that can run on python 3.9 and 3.11, but some parts of it only work on python 3.9. This means that there are some dependencies that I want to install only if running on python 3.9 and not on 3.11 . I have brought here a similar case with typing_extensions and pydantic - the first package has two versions, one for 3.9 and 3.11, and the second has only for 3.9. I expect this to work because on 3.9 all the requirements can be resolved, and on 3.11 pydantic should not be installed at all.
Workarounds
Because the relevant code parts should not be used, the user can avoid calling them thus not having issues.
Description
I have a project that can run on python 3.9 and 3.11, but some parts of it only work on python 3.9. This means that there are some dependencies that I want to install only if running on python 3.9 and not on 3.11 . I have brought here a similar case with
typing_extensions
andpydantic
- the first package has two versions, one for 3.9 and 3.11, and the second has only for 3.9. I expect this to work because on 3.9 all the requirements can be resolved, and on 3.11pydantic
should not be installed at all.Workarounds
Because the relevant code parts should not be used, the user can avoid calling them thus not having issues.
Poetry Installation Method
pip
Operating System
Windows 11
Poetry Version
Poetry (version 1.8.2)
Poetry Configuration
Python Sysconfig
Example pyproject.toml
Poetry Runtime Logs
The text was updated successfully, but these errors were encountered: