-
Notifications
You must be signed in to change notification settings - Fork 2.4k
Closed
Labels
area/publishingRelated to PyPI/PEP 503 publishingRelated to PyPI/PEP 503 publishingkind/bugSomething isn't working as expectedSomething isn't working as expectedversion/1.2.1
Description
-
I am on the latest Poetry version.
-
I have searched the issues of this repo and believe that this is not a duplicate.
-
OS version and name: windows 11, also fails on linux
-
Poetry version: 1.2.0-beta.1
-
Link of a Gist with the contents of your pyproject.toml file: https://gist.github.com/nekitdev/99b0cd36e9fd32712f38401439823cc1
Issue
For packages with . in the name:
[tool.poetry]
name = "example.py"Poetry correctly builds wheels and sdists with example.py in the file name.
However, when uploading to PyPI with the canonical name (i.e. example-py), poetry publish fails with the following error:
HTTP Error 400: Start filename for 'example-py' with 'example-py'.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
area/publishingRelated to PyPI/PEP 503 publishingRelated to PyPI/PEP 503 publishingkind/bugSomething isn't working as expectedSomething isn't working as expectedversion/1.2.1