How can I use poetry with PEP-621 style pyproject.toml
?
#5833
Answered
by
branchvincent
kunaltyagi
asked this question in
Q&A
-
PEP-621 shows the following [project]
# ...
requires-python = ">=3.8"
# ...
dependencies = [
"httpx",
"gidgethub[httpx]>4.0.0",
"django>2.1; os_name != 'nt'",
"django>2.0; os_name == 'nt'"
]
[project.optional-dependencies]
test = [
"pytest < 5.0.0",
"pytest-cov[all]"
] Does poetry support dependencies in this format? I tried a naive |
Beta Was this translation helpful? Give feedback.
Answered by
branchvincent
Jun 15, 2022
Replies: 1 comment
-
Not currently. The next major version (2.0) will support PEP 621, you can follow the progress at python-poetry/roadmap#3 |
Beta Was this translation helpful? Give feedback.
0 replies
Answer selected by
mkniewallner
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Not currently. The next major version (2.0) will support PEP 621, you can follow the progress at python-poetry/roadmap#3