-
Notifications
You must be signed in to change notification settings - Fork 2.4k
Closed
python-poetry/poetry-core
#78Labels
kind/bugSomething isn't working as expectedSomething isn't working as expected
Description
- 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 (
-vvvoption).
- OS version and name: Windows 10 1909 x64
- Poetry version: 1.0.5
- Link of a Gist with the contents of your pyproject.toml file: https://gist.github.com/madig/de961d21c8f796b4fc86d984dece0fd4
Issue
The presence of a secondary package index and a package from there as a dependency messes with dependency resolution.
To reproduce:
poetry new test && cd test- Insert content of https://gist.github.com/madig/de961d21c8f796b4fc86d984dece0fd4 into
pyproject.toml poetry install-- note how this installsappdirs,fs,pytzandsix.poetry update-- removes these packages again when it shouldn't.- Comment out the test repository and the
poetry-resolver-bug-testpackage poetry updatereinstallsappdirsand friends- Reenable repo and package
poetry update-- installs thepoetry-resolver-bug-testpackage but leavesappdirs, etc. alone- Redoing
poetry updatethen tosses them again when it shouldn't.
In my actual package, the toml package (via isort[pyproject]) also gets tossed out, but I can't reproduce this here easily.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
kind/bugSomething isn't working as expectedSomething isn't working as expected