Skip to content

poetry publish should display any available error messages if it fails #1100

@ahutterTA

Description

@ahutterTA
  • I have searched the documentation and believe that my question is not covered.
  • I have searched the issues of this repo and believe that this is not a duplicate.

Feature Request

When running poetry publish I encountered the below:

$ poetry publish -vvv  --repository pypi_repo_name
 - Uploading module_name-py3-none-any.whl 100%
[UploadError]
HTTP Error 400: Bad Request

while with twine I see:

$ twine upload --verbose --repository-url pypi_repo_url dist/*

Uploading distributions to pypi_repo_url
Uploading module_name-py3-none-any.whl
100%|████████████████████████████████████████████████████████████████████████████████████████████████████████████| 32.6k/32.6k [00:00<00:00, 1.78MB/s]
Content received from server:
{
  "errors" : [ {
    "status" : 400,
    "message" : "No enum constant org.jfrog.repomd.pypi.model.PypiMetadata.MetadataVersion.v2_1"
  } ]
}
HTTPError: 400 Client Error: Bad Request for url: pypi_repo_url

Metadata

Metadata

Assignees

No one assigned

    Labels

    kind/featureFeature requests/implementations

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions