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 dependencies/dev-dependencies from lock file #3570

Closed
2 tasks done
nathanrpage97 opened this issue Jan 13, 2021 · 5 comments
Closed
2 tasks done

Poetry install dependencies/dev-dependencies from lock file #3570

nathanrpage97 opened this issue Jan 13, 2021 · 5 comments
Labels
kind/feature Feature requests/implementations

Comments

@nathanrpage97
Copy link

nathanrpage97 commented Jan 13, 2021

  • I have searched the issues of this repo and believe that this is not a duplicate.
  • I have searched the documentation and believe that my question is not covered.

Feature Request

Add the ability to run poetry install {list-of-dependencies} / poetry install --dev {list-of-dev-dependencies}.

This will install these dependencies and their sub-dependencies from the lock file instead of installing all dependencies. This is useful in CI where not all dev-dependencies are needed for a job.

@nathanrpage97 nathanrpage97 added kind/feature Feature requests/implementations status/triage This issue needs to be triaged labels Jan 13, 2021
@sinoroc
Copy link

sinoroc commented Jan 14, 2021

Maybe look at the planned feature dependency groups.

@nathanrpage97
Copy link
Author

I've seen that, but I still think that this is also useful to give the most fine grained control on dependency installation.

@1Mark
Copy link

1Mark commented Feb 14, 2022

I think a nice way to implement this would be
To allow poetry export to only export a single package

poetry export --single black | xargs pip install

@finswimmer
Copy link
Member

Duplicate of #3033

@finswimmer finswimmer marked this as a duplicate of #3033 Mar 26, 2022
@mkniewallner mkniewallner removed the status/triage This issue needs to be triaged label Jun 11, 2022
Copy link

github-actions bot commented Mar 1, 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 1, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
kind/feature Feature requests/implementations
Projects
None yet
Development

Successfully merging a pull request may close this issue.

5 participants