-
Notifications
You must be signed in to change notification settings - Fork 2.4k
Closed
python-poetry/poetry-core
#532Labels
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
- Poetry version: git head dcd48c8, with poetry-core head d98aa6e
- Python version: 3.9.15
- OS version and name: Ubuntu 20.04.3 LTS
- pyproject.toml: https://github.com/python-poetry/poetry-core/blob/fix-6197/tests/masonry/builders/fixtures/script_reference_file/pyproject.toml
- I am on the latest stable Poetry version, installed using a recommended method.
- I have searched the issues of this repo and believe that this is not a duplicate.
- I have consulted the FAQ and blog for any relevant entries or release notes.
- If an exception occurs when executing a command, I executed it again in debug mode (
-vvv
option) and have included the output below.
Issue
When building a wheel, the name of the data section should be {distribution}-{version}.data, where {distribution} is the PEP 503 normalisation followed by replacing - with _.
See Binary distribution format
Currently the data section is using _package.name rather than distribution_version(_package.name) (https://github.com/python-poetry/poetry-core/blob/d98aa6e49f614f7631667da3144d7b291c7e7889/src/poetry/core/masonry/builders/wheel.py#L310)
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