-
Notifications
You must be signed in to change notification settings - Fork 2.3k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Poetry publishes package under different name #4631
Comments
PEP 503 states that project names should be normalized as follows:
If I understand the code correctly, https://github.com/python-poetry/poetry-core/blob/1ad005fcb371710c36bbead6cbdd14e6d7f8a948/poetry/core/utils/helpers.py#L26-L27, therefore when you use poetry to publish, it normalized the package name to Perhaps setuptools did not normalize the package name per PEP 503, and therefore it uploaded to the So I'm not sure if this is a bug. Perhaps needing some documentation/faq regarding this behavior. |
If it's documented I think that's fine by me. |
Is there anyway to override this behavior? I am trying to publish to an existing repository that I do not have control over. It was published with underscores from an old |
Is this still valid? It seems to me like:
|
Should be resolved by python-poetry/poetry-core#620 |
This issue has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs. |
I am on the latest Poetry version.
[x ] I have searched the issues of this repo and believe that this is not a duplicate.
**Windows 10 x64 **:
Poetry version 1.1.11:
Pyproject.toml
Issue
Poetry says that it will deploy the project named
peds_common
, but it uploads topeds-common
in Artifactory.poetry publish
commandpackage name in artifactory:
The version uploaded by
poetry
is0.0.6
underpeds-common
, the other ones uploaded underpeds_common
are uploaded by setup.py before moving topoetry
The text was updated successfully, but these errors were encountered: