-
Notifications
You must be signed in to change notification settings - Fork 2.4k
Closed
python-poetry/poetry-core
#830Labels
area/build-systemRelated to PEP 517 packaging (see poetry-core)Related to PEP 517 packaging (see poetry-core)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 (
-vvv
option).
- OS version and name: Linux 5.5.8-arch1-1
- Poetry version: 1.0.5
- Link of a Gist with the contents of your pyproject.toml file: https://gist.github.com/cutwater/65c1120890dc654e9968f8cdcf4cfde1
- Related Issue: Optional dependencies are getting built as required dependencies #24
Issue
Optional dependencies are generated as required dependencies in wheel package produced by executing poetry build
. Dependency list in sdist package does not include optional dependencies as expected. Please refer to the gist above for more details.
Steps to reproduce the issue:
$ poetry new example
$ cd example
$ poetry add --optional psycopg2
$ poetry build
odoublewen, huntzhan, miccoli, tuchandra, KotlinIsland and 2 more
Metadata
Metadata
Assignees
Labels
area/build-systemRelated to PEP 517 packaging (see poetry-core)Related to PEP 517 packaging (see poetry-core)kind/bugSomething isn't working as expectedSomething isn't working as expected