Skip to content

Include license file in built distributions via project.license-files#698

Merged
mosquito merged 1 commit intomosquito:masterfrom
julia-thorn:julia-thorn-patch-1
Mar 22, 2026
Merged

Include license file in built distributions via project.license-files#698
mosquito merged 1 commit intomosquito:masterfrom
julia-thorn:julia-thorn-patch-1

Conversation

@julia-thorn
Copy link
Copy Markdown
Contributor

Summary

This PR updates package metadata so aio-pika distributions include an explicit license file reference.

  • adds project.license-files = ["COPYING"] in pyproject.toml

Why

Some compliance tooling (for example, licensee/licensed) needs license text artifacts in package metadata/distributions, not only an SPDX string/classifier.

Currently aio-pika declares:

  • license = "Apache-2.0"
  • License :: OSI Approved :: Apache Software License

but built artifacts do not expose license-file metadata/text in a way these tools can consume consistently

This just adds it to the metadata so that tools like licensed can find the text.

@coveralls
Copy link
Copy Markdown

Coverage Status

coverage: 91.977%. remained the same
when pulling 31b82b1 on julia-thorn:julia-thorn-patch-1
into 57029c3 on mosquito:master.

@mosquito mosquito self-requested a review March 22, 2026 18:39
@mosquito mosquito merged commit 8136a8c into mosquito:master Mar 22, 2026
9 checks passed
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.

3 participants