Skip to content

ERROR InvalidDistribution: Invalid distribution metadata: unrecognized or malformed field 'license-file' #923

@igorpompeo

Description

@igorpompeo

Is there an existing issue for this?

  • I have searched the existing issues (open and closed), and could not find an existing issue

What keywords did you use to search existing issues?

No response

What operating system are you using?

Linux

If you selected 'Other', describe your Operating System here

No response

What version of Python are you running?

Python 3.12.3

How did you install twine? Did you use your operating system's package manager or pip or something else?

pip install twine

What version of twine do you have installed (include the complete output)

twine version 6.1.0 (keyring: 25.6.0, packaging: 25.0, requests: 2.32.3, requests-toolbelt: 1.0.0, urllib3: 2.4.0, id: 1.5.0)

Which package repository are you using?

https://pypi.org/manage/project/meu-pacote-python/collaboration/

Please describe the issue that you are experiencing

ERROR InvalidDistribution: Invalid distribution metadata: unrecognized or malformed field 'license-file'

Please list the steps required to reproduce this behaviour

Run 'twine upload dist/*'

Anything else you'd like to mention?

Sorry guys for bother y'all, but is the thing.
I'm studying python (with dummy exercises) and decide to bring a poor DevOps to my repository.
I'm using the pyproject.toml and the twine.
Mine code inside those are here: pyproject.toml
I tried another forum but I didn't get what is wrong with my codes, so if you could, check my repo, and give me some help to resolve that.

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