Skip to content

upragde-build-setuptools-to-resolvelicense-file-error#59

Merged
adithyasamavedhi-ttd merged 1 commit into
mainfrom
upragde-build-setuptools-to-resolvelicense-file-error
Jun 17, 2026
Merged

upragde-build-setuptools-to-resolvelicense-file-error#59
adithyasamavedhi-ttd merged 1 commit into
mainfrom
upragde-build-setuptools-to-resolvelicense-file-error

Conversation

@adithyasamavedhi-ttd

@adithyasamavedhi-ttd adithyasamavedhi-ttd commented Jun 16, 2026

Copy link
Copy Markdown
Collaborator

What does this PR do?

  • Resolves errors like ERROR InvalidDistribution: Invalid distribution metadata: unrecognized or malformed field 'license-file' which are seen on the publish to PyPi pipelines.

  • These errors occur because our previous definition of license was in the format of Metadata version 2.1 while twine expects Metadata Version 2.4, this PR changes the format of defining the license to match Metadata Version 2.4

Previous errors: https://github.com/thetradedesk/ttd-databricks-python/actions/runs/27638757741/job/81732886502

@adithyasamavedhi-ttd adithyasamavedhi-ttd requested a review from a team June 16, 2026 23:28
@adithyasamavedhi-ttd adithyasamavedhi-ttd added the skip-version-bump Skips the requirement to bump pypi version on PR label Jun 16, 2026
@adithyasamavedhi-ttd adithyasamavedhi-ttd force-pushed the upragde-build-setuptools-to-resolvelicense-file-error branch from 0194983 to 7b3d735 Compare June 16, 2026 23:31
@adithyasamavedhi-ttd adithyasamavedhi-ttd merged commit 531f944 into main Jun 17, 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