-
Notifications
You must be signed in to change notification settings - Fork 56
Duplicate dependency export #28
Copy link
Copy link
Closed
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: elementary OS 5.0 Juno
- Poetry version:1.0.3
- Link of a Gist with the contents of your pyproject.toml file:
pyproject.toml
[tool.poetry]
name = "tmpoetry"
version = "0.1.0"
description = "sdfg"
authors = ["Author <author@mail.com>"]
[tool.poetry.dependencies]
python = "^3.6"
mypy = "^0.701"
pylint = "^2.3"Issue
-
When a (sub)dependency has different requirements for different python versions, it appears twice in
poetry.lock. In itself this is no problem, butpoetry exportgenerates duplicate entries. -
In this use case, the command
poetry addfails because said library has "conflifting" versions.
(trypoetry add astroid)
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels