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.

Why does `poetry install --develop` require an argument?

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.

Question

With the deprecation of poetry develop and the switch to poetry install --develop I’m curious why --develop requires an argument (e.g., --develop foo)? After a quick glance at the command source it doesn’t appear to be used for anything.

Issue Analytics

  • State:closed
  • Created 5 years ago
  • Reactions:1
  • Comments:14 (5 by maintainers)

github_iconTop GitHub Comments

5reactions
sdispatercommented, Nov 19, 2018

There was a behavioral change in version 0.12.0 which makes path dependencies always installed in editable mode.

So, at this time the --develop option is not longer necessary and thus should be removed.

For information, if you don’t want the dependency to be installed in editable mode you can specify it in the pyproject.toml file.

[tool.poetry.dependencies]
my-package = {path = "../my/path", develop = false}
1reaction
vlcinskycommented, Nov 19, 2018

@jaswilli keep this issue closed, I have created #647 issue to track the removal of obsolete --develop option.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Why does poetry install --develop require an argument? #519
I believe that if you specify one of your dependencies via a path (a local dependency) and want it to be installed in...
Read more >
Commands | Documentation | Poetry - Python dependency ...
The install command reads the pyproject.toml file from the current project, resolves the dependencies, and installs them. poetry install. If there is a...
Read more >
Dependency Management With Python Poetry
With the install command, Poetry checks your pyproject.toml file for dependencies then resolves and installs them. The resolving part is ...
Read more >
how to run a script using pyproject.toml settings and poetry?
At the moment I run the script manually after each time I run the poetry build commend. I know the pyproject.toml has the...
Read more >
Managing your Python dependencies with Poetry - Devopsbay
So, you will need to install Poetry for each Python version you want ... argument if we want to run our app in...
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