You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hello I am not sure if anyone has encountered this issue before. But, poetry update refuses to update my lockfile when I use a private repository.
Context
My current pyproject.toml relies on commonly used packages that can be found in PyPI and and a private repository on packagecloud. I have specified the sources e.g.
[[tool.poetry.source]]
name = "some-package"
url = "https://packagecloud.io/some-package/stable/pypi/simple"
priority = "supplemental"
[[tool.poetry.source]]
name = "PyPI"
priority = "primary"
As far as I understand it, poetry will try to look for the common packages in pypi before installing from the private repository in packagecloud. When there is no lockfile, I can define the version of the private package however I want and things will work fine. But once a lockfile is generated and I try to update the version on pyproject.toml after which I use poetry update, I have the following error:
Because my-project depends on some-package (2.0.2) which doesn't match any versions, version solving failed.
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
Hello I am not sure if anyone has encountered this issue before. But, poetry update refuses to update my lockfile when I use a private repository.
Context
My current pyproject.toml relies on commonly used packages that can be found in PyPI and and a private repository on packagecloud. I have specified the sources e.g.
As far as I understand it, poetry will try to look for the common packages in pypi before installing from the private repository in packagecloud. When there is no lockfile, I can define the version of the private package however I want and things will work fine. But once a lockfile is generated and I try to update the version on
pyproject.toml
after which I use poetry update, I have the following error:Because my-project depends on some-package (2.0.2) which doesn't match any versions, version solving failed.
Beta Was this translation helpful? Give feedback.
All reactions