Skip to content

fix-failing-pipeline-pypi-publish#60

Merged
adithyasamavedhi-ttd merged 1 commit into
mainfrom
fix-failing-pipeline-pypi-publish
Jun 18, 2026
Merged

fix-failing-pipeline-pypi-publish#60
adithyasamavedhi-ttd merged 1 commit into
mainfrom
fix-failing-pipeline-pypi-publish

Conversation

@adithyasamavedhi-ttd

Copy link
Copy Markdown
Collaborator
  • Change the method used to push to Pypi. Now using github action which is the PyPA's recommended method to public: https://docs.pypi.org/trusted-publishers/using-a-publisher/

  • Current Error: ERROR InvalidDistribution: Invalid distribution metadata: unrecognized or malformed field 'license-expression'; unrecognized or malformed field 'license-file'

  • The current error occurs because github runner has packaging 24.0 while twine 6.2 uses packagine 24.2, so either add pip install packaging >=24.2 or change the method to publish which pins both twine and packaging version internally.

  • twine 6.2 incorrectly sets dependency as >=packaging 24.0: error when validating package metadata with license expression pypa/twine#1245

@adithyasamavedhi-ttd adithyasamavedhi-ttd requested a review from a team June 17, 2026 22:52
@adithyasamavedhi-ttd adithyasamavedhi-ttd added the skip-version-bump Skips the requirement to bump pypi version on PR label Jun 17, 2026
@adithyasamavedhi-ttd adithyasamavedhi-ttd force-pushed the fix-failing-pipeline-pypi-publish branch from 3a7dfc0 to 77e49c8 Compare June 18, 2026 00:16
@adithyasamavedhi-ttd adithyasamavedhi-ttd force-pushed the fix-failing-pipeline-pypi-publish branch from 77e49c8 to 0002a15 Compare June 18, 2026 00:16
@adithyasamavedhi-ttd adithyasamavedhi-ttd merged commit 67e24d0 into main Jun 18, 2026
12 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

skip-version-bump Skips the requirement to bump pypi version on PR

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants