Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

poetry install --no-dev shouldn't throw a ValueError if a dev dependency specified via path is missing #2014

Closed
3 tasks done
clintmod opened this issue Feb 10, 2020 · 2 comments
Labels
kind/bug Something isn't working as expected

Comments

@clintmod
Copy link

  • I am on the latest Poetry version.
  • I have searched the issues of this repo and believe that this is not a duplicate.
  • If an exception occurs when executing a command, I executed it again in debug mode (-vvv option).

Issue

When running poetry install --no-dev poetry throws a ValueError with a directory not found message if the directory specified in the dev-dependencies section is missing.

I would expect it to ignore all dev-dependencies when running with --no-dev and not throw a ValueError.

We're using the dev-dependencies section to do local development on modules and checking these in with the pyproject.toml. When we deploy the app with --no-dev we're seeing the error because those directories do not exist.

Our current workaround is to strip the package references with directories out of the dev-dependencies section in the pyproject.toml file when deploying the app.

@clintmod clintmod added the kind/bug Something isn't working as expected label Feb 10, 2020
@finswimmer
Copy link
Member

Hello @clintmod ,

thanks a lot reporting. However, this was reported earlier in #668

fin swimmer

Copy link

github-actions bot commented Mar 3, 2024

This issue has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs.

@github-actions github-actions bot locked as resolved and limited conversation to collaborators Mar 3, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
kind/bug Something isn't working as expected
Projects
None yet
Development

No branches or pull requests

2 participants