Changing `develop` option is not reflected
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).
- OS version and name: Mac OS X 10.14.6
- Poetry version: 1.1.1
- Link of a Gist with the contents of your pyproject.toml file: https://github.com/tamuhey/poetry111_bug_mvce (not gist)
Issue
TLDR; changing develop
of a dependency field and poetry update
don’t have any effect.
I have a project consists of two poetry project:
. -- foo/
| |- pyproject.toml
|-- bar/
|- pyproject.toml
foo
depends on bar
as follows:
# pyproject.toml
...
[tool.poetry.dependencies]
python = "^3.8"
bar = {path="../bar"}
...
(Full example here: https://github.com/tamuhey/poetry111_bug_mvce/blob/master/foo/pyproject.toml)
Since the editable mode is false by default from poetry v1.1, bar
is copied into another directory. It’s ok.
But, after changing the dependency of bar
to editable (develop = true
) as follows and running poetry update
don’t change anything, as I expected that bar
is changed to editable dependency.
# pyproject.toml
...
[tool.poetry.dependencies]
python = "^3.8"
bar = {path="../bar", develop=true}
...
Issue Analytics
- State:
- Created 3 years ago
- Reactions:6
- Comments:9 (4 by maintainers)
Top Results From Across the Web
Show the Developer tab - Microsoft Support
The Developer tab isn't displayed by default, but you can add it to the ribbon. On the File tab, go to Options >...
Read more >Configure on-device developer options - Android Developers
Enable developer options and USB debugging On Android 4.1 and lower, the Developer options screen is available by default. On Android 4.2 and...
Read more >How to Enable the Develop Menu in Safari for Mac | OSXDaily
The Developer menu in Safari for Mac OS and Mac OS X is disabled by default, but it can be quickly turned on...
Read more >Use the developer tools in the Develop menu in Safari on Mac
If you don't see the Develop menu in the menu bar, choose Safari > Settings, click Advanced, then select “Show Develop menu in...
Read more >How do you programmatically enable the "Develop" menu in ...
Safari IncludeDevelopMenu -bool true. Then open Safari and the Develop menu will appear. ... Did you restart the browser to reflect changes?
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Yeah. I can confirm that it is really annoying. It’s hard to develop anything when you have to
poetry update
after changes… And it takes much time to do that.I am still seeing this issue on poetry 1.1.12. To be explicit:
pyproject.toml
hasdep = {path = "/path/to/dep"}
poetry update
/path/to/dep
is copied into the venv, as expectedpyproject.toml
to havedep = {path = "/path/to/dep", develop=true}
poetry update
dep
in the venv being replaced bydep.pth
file, it is not replaced and so I do not have an editable dependency.Issues such as this and https://github.com/python-poetry/poetry/issues/3958 make it hard to feel confident that
poetry update
has done the right thing – it’s a shame to spend time cautiously deleting venvs just in case.