Replies: 2 comments 12 replies
-
yes (how else would it know what to put in the lock file?) |
Beta Was this translation helpful? Give feedback.
-
I think your understanding of |
Beta Was this translation helpful? Give feedback.
-
I have a group which is called
ssh
so when installing my project within aDockerfile
I can use--without ssh
command and avoid installing the group of dependency that requires an SSH key.Even though within my
Dockerfile
I use the command--without
in order to avoid that specific group, the dependency solver still tries to solve those dependency and fails because of no permissions.Is it the normal poetry behavior that even solves the dependency conflicts of those avoided groups?
Here is an example of the code:
RUN poetry config virtualenvs.create true \ && poetry config virtualenvs.in-project true \ && poetry install --without ssh --sync \ && poetry lock
This is an example of the
pyproject.toml
that I try to installPoetry version:
poetry=1.8.3
Beta Was this translation helpful? Give feedback.
All reactions