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.

poetry not installing dependencies from install_requires

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

I expect poetry install to install my projects dependencies, as outlined by install_requires in setup.cfg.

It didn’t work when it was defined in setup.py either.

Issue Analytics

  • State:closed
  • Created 2 years ago
  • Comments:6 (3 by maintainers)

github_iconTop GitHub Comments

1reaction
finswimmercommented, Oct 18, 2021

If not, maybe you can suggest how I can use poetry for dependency-management but keep setuptools for packaging and distribution.

The only way to do it, is to maintain dependencies and metadata twice. Mixing is not possible.

0reactions
BeyondEvilcommented, Oct 18, 2021

Ok, I guess I walked into that one, haha.

Thanks! 🙏

Read more comments on GitHub >

github_iconTop Results From Across the Web

Dependency issue when poetry used in private ... - GitHub
Dependency issue when poetry used in private dependency, 'install_requires' must be a string or list of strings #1101.
Read more >
How to write a minimally working pyproject.toml file that can ...
my question differ because I ask for a human-written pyproject.toml. First, the pyproject.toml file is always "human-writable".
Read more >
Commands | Documentation | Poetry - Python dependency ...
To only install the project itself with no dependencies, use the --only-root flag. poetry install --only-root. See Dependency groups for more information about ......
Read more >
Python packaging and dependency management using poetry
Install dependencies and create virtual environment ... Poetry uses only one file ( pyproject.toml ) to manage your projects dependencies. In other words,...
Read more >
Managing Python Dependencies with Poetry
Dependency management and packaging tools for your Python project using poetry. ... If poetry is not already installed on your machine, you can...
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