Poetry python version resolution behavior question #9584
Unanswered
RavindhranSankar
asked this question in
General
Replies: 1 comment 1 reply
-
correct. split the dependency manually: lib-module = [
{ version = "<2", python = "<3.11" },
{ version = ">=2", python = ">=3.11" },
] |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Project setup:
Main_module
main_module
importslib_module
as one of its dependencieslib_module:
ver 1.x: support python37-310
ver 2.x supports python 310-311
Expected behavior:
Running
poetry update
on main module should recognize that python version>=3.7,<3.12
can be supported by using the different lib module versions.Actual behavior:
Poetry will complain that neither lib_module version (
1.x
,2.x
) singularly completely supports the python version range>=3.7,<3.12
.Beta Was this translation helpful? Give feedback.
All reactions