question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Support `pip install .` to include tool.poetry.dev-dependencies

See original GitHub issue
  • 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

It would be great if pip install . could pick up those dependencies under tool.poetry.dev-dependencies section.

The use case is to deploy a poetry managed app to a docker/CI environment without installing poetry, just plain pip install . in order to run uni-test.

Issue Analytics

  • State:closed
  • Created 3 years ago
  • Reactions:12
  • Comments:16 (3 by maintainers)

github_iconTop GitHub Comments

24reactions
finswimmercommented, Dec 26, 2020

Hello,

please use poetry export to create a requirements.txt which you can that use with pip.

fin swimmer

12reactions
sinoroccommented, Dec 27, 2020

Some of us, in the larger Python packaging ecosystem make our dev dependencies optional with the extra feature. So that we can do python -m pip install .[dev] for example. I find it very practical.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Commands | Documentation | Poetry - Python dependency ...
Unlike the install command, this command only includes the project's dependencies defined in the implicit main group defined in tool.poetry.dependencies when ...
Read more >
Dependency Management With Python Poetry
Learn how Python Poetry will help you start new projects, maintain existing ones, and master dependency management.
Read more >
Poetry Advance - Python Biella Group
Poetry Advance. Poetry is the most sofisticated Python dependency system available (up to 2020). It allows you to go beyond simple dependency management, ......
Read more >
Managing Python Dependencies with Poetry
One of such tools is poetry — that you can use to install, add and remove dependencies as well as package your Python...
Read more >
Python packaging and dependency management using poetry
[tool.poetry.dev-dependencies]pytest = "^3.0"pytest-cov = "^2.4". Use install command to create a virtual environment and install all dependencies for the ...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found