-
Notifications
You must be signed in to change notification settings - Fork 2.3k
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
Updates to develop dependencies are not applied by 1.1.1 #3096
Comments
@ginty I tried to reproduce this; no luck. $ poetry run python -c "import quix"
Hello from Quix!
$ echo 'print("Oh wow another message!")' >> ../../lib2/quix/quix/__init__.py
$ poetry run python -c "import quix"
Hello from Quix!
Oh wow another message!
$ cat pyproject.toml | grep quix
quix = { path = "../../lib2/quix", develop = true }
$ tree ../../
../../
├── foobar
│ └── __init__.py
├── lib
│ └── baz
│ ├── baz
│ │ └── __init__.py
│ ├── poetry.lock
│ ├── pyproject.toml
│ ├── README.rst
│ └── tests
│ ├── __init__.py
│ └── test_baz.py
├── lib2
│ └── quix
│ ├── pyproject.toml
│ ├── quix
│ │ ├── __init__.py
│ │ └── __pycache__
│ │ └── __init__.cpython-38.pyc
│ ├── README.rst
│ └── tests
│ ├── __init__.py
│ └── test_quix.py
├── pyproject.toml
├── README.rst
└── tests
├── __init__.py
└── test_foobar.py
11 directories, 17 files
$ poetry --version
Poetry version 1.1.1 |
Thanks for that @abn. However on a larger project, it does not work consistently. [tool.poetry.dependencies]
python = "^3.6"
origen = { path = "../../python", develop = true }
python_plugin = { path = "../python_plugin", develop = true } And it seems that the Looking at the virtualenv, I can see that the one that works seems to have been installed with a path (pth), whereas the Please let me know if there is anything else I can report/check to help.
|
A few questions;
|
Hi @abn, here you go:
Yes it does, if I comment out the
No, it is a Poetry (?) project. Here it is if you want to see it - https://github.com/Origen-SDK/o2/tree/py_plugin/python
No, this correlates with the error. When toggling it back and forth via (1) I can see |
Hi @abn, that does fix it, both install now with develop enabled, thanks! |
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. |
-vvv
option).Issue
I understand that from
1.1.0
onwards a local development dependency must be defined with thedevelop=true
switch, e.g.With Poetry
1.0.10
this worked as I would expect, some kind of link is created such that whenever I updated a file inmy_dependency
it would be reflected in the parent app the next time it was invoked.However with version
1.1.0
and1.1.1
any updates made to the dependency are not reflected in the app and it seems to be stuck on the version that was around at install time.The text was updated successfully, but these errors were encountered: