Skip to content

Can't use twine to upload flit built package #779

Description

@skrawcz

I cannot upload usingtwine the following artifacts that were build via flit https://dist.apache.org/repos/dist/release/incubator/hamilton/1.89.0/
due to:

twine upload apache-hamilton-1.89.0-incubating*
Uploading distributions to https://upload.pypi.org/legacy/
ERROR InvalidDistribution: Invalid distribution metadata: unrecognized or malformed field 'import-name'

Hypothesis

This seems to be a problem because of https://github.com/apache/hamilton/blob/main/pyproject.toml#L278-L279 which then in PKG-INFO has this entry:

Import-Name: hamilton

That I think twine is complaining about.

Note: due to apache processes I need to directly upload those artifacts...

Any pointers appreciated.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions