Skip to content

Update packaging when trying to upload to pypi#81

Merged
imciner2 merged 1 commit intomasterfrom
im/twine
Feb 19, 2026
Merged

Update packaging when trying to upload to pypi#81
imciner2 merged 1 commit intomasterfrom
im/twine

Conversation

@imciner2
Copy link
Member

@imciner2 imciner2 commented Feb 18, 2026

An error occurred while trying to upload the 0.1.9 release to pypi just now (https://github.com/osqp/qdldl-python/actions/runs/22152548280/job/64049297717):

Uploading distributions to https://upload.pypi.org/legacy/
ERROR    InvalidDistribution: Invalid distribution metadata: unrecognized or    
         malformed field 'license-file'                                         

Some digging shows this is related to versioning with twine and packaging, and according to pypa/twine#1216 (comment), we should ensure we update twine to 6.2+ and packaging to 25+. Twine was already being updated, so this adds an explicit update for packaging.

Copy link
Contributor

@vineetbansal vineetbansal left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Yes! I've had to make a similar change to some projects in the last couple of months as well.

@imciner2 imciner2 merged commit 44169b0 into master Feb 19, 2026
41 of 49 checks passed
@imciner2 imciner2 deleted the im/twine branch February 19, 2026 16:26
@imciner2
Copy link
Member Author

Great, thanks for looking at it. I've tagged a new release, so 🤞 it uploads to PyPi this time.

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

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants