-
IssueI am attempting to pin to a specific version of poetry in Docker and in the pyproject.toml, but it does not fail when installing while using a mismatching poetry version. |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment
-
@aethanol I think you are misunderstanding PEP 517 here. The purpose for this is it allow build system to determine what build backend to use when building a package. For example if you install a poetry managed managed project using pip or any other PEP 517 compatible build front ends, eg: This is not intended to control the version of poetry made available to the user in their enviornment. This is should be managed outside the context of the project. |
Beta Was this translation helpful? Give feedback.
@aethanol I think you are misunderstanding PEP 517 here. The purpose for this is it allow build system to determine what build backend to use when building a package. For example if you install a poetry managed managed project using pip or any other PEP 517 compatible build front ends, eg:
pip install /path/to/package
orpip install source.tar.gz
etc. In these example pip will create a new isolated temporary build environment with thebuild-system.requires
present along with the source and call thebuild-backend
method to produce awheel
orsdist
it can install to the active environment. Poetry itself does not take this into account for poetry managed projects.This is not intended to con…