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
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: debian buster
Poetry version: 1.0.0b8
pyproject.toml is given below
Issue
Thanks for the great work on poetry, it serves us very well in most cases.
Currently we are experiencing a bug when using poetry update --lock in combination with a custom package source.
We resolve the networkit package via our own package registry. When updating a single other package (wkcuber in the following example) via poetry update --lock wkcuber, the definition of networkit in the lockfile changes.
Specifically, the package.source part vanishes, but some metadata is added.
Then I updated wkcuber in the pyproject.toml: wkcuber = "0.2.37" and ran poetry update --lock wkcuber. Then the package.source part of networkit is missing and some metadata is added for it:
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: debian buster
Poetry version: 1.0.0b8
pyproject.toml
is given belowIssue
Thanks for the great work on poetry, it serves us very well in most cases.
Currently we are experiencing a bug when using
poetry update --lock
in combination with a custom package source.We resolve the
networkit
package via our own package registry. When updating a single other package (wkcuber
in the following example) viapoetry update --lock wkcuber
, the definition ofnetworkit
in the lockfile changes.Specifically, the package.source part vanishes, but some metadata is added.
Initially I thought this was the same as #1602, but #1635 did not fix this.
Related to python-poetry/poetry-plugin-export#136, might be related to #1612, does not seem like a duplicate though.
I added a small reproducible example with the respective steps, tested with poetry version 1.0.0b4, 1.0.0b7 and 1.0.0b8:
1. Setup
pyproject.toml
:2. Initial locking
poetry lock
results in the followingpoetry.lock
:3. Updating single dependency (:bug:)
Then I updated
wkcuber
in thepyproject.toml
:wkcuber = "0.2.37"
and ranpoetry update --lock wkcuber
. Then the package.source part ofnetworkit
is missing and some metadata is added for it:4. Updating all
Using
poetry lock
again yields the expected results (onlywkcuber
is changed in the lockfile), but this possibly updates other packages too.Additional notes:
We deactived virtualenvs using
poetry config virtualenvs.create false
.poetry debug info
:The text was updated successfully, but these errors were encountered: