Skip to content

[CHORE](packaging) Publish package READMEs as PyPI project descriptions - #735

Merged
Seth Fitzsimmons (sethfitz) merged 1 commit into
mainfrom
packaging-pypi-metadata
Sep 11, 2026
Merged

Seth Fitzsimmons (sethfitz) merged 1 commit into
mainfrom
packaging-pypi-metadata

Conversation

@sethfitz

@sethfitz Seth Fitzsimmons (sethfitz) commented Sep 11, 2026

Copy link
Copy Markdown
Collaborator

Description

overture-schema-pyspark, overture-schema-codegen, and overture-schema-common publish to PyPI with an empty project description. Each ships a README, but its pyproject.toml omits readme = "README.md", so the README never reaches the distribution metadata and the PyPI page renders only the one-line summary.

overture-schema-pyspark and overture-schema-codegen also omit maintainers and [project.urls], leaving their PyPI pages without Homepage, Source, or Issues links.

This adds the missing fields. The other ten packages under packages/ already declare all three.

PyPI metadata is immutable per release, so each page fills in on that package's next version bump.

Closes #734

Reference

  1. [CHORE](packaging) Three packages publish to PyPI with no project description #734
  2. overture-schema-pyspark on PyPI, showing the empty description

Testing

uv build for each of the three packages, reading METADATA out of the resulting wheel:

Package Description-Content-Type Description Maintainer Project-URL
overture-schema-pyspark text/markdown 8,954 bytes Overture Maps Schema Working Group Homepage, Source, Issues
overture-schema-codegen text/markdown 5,833 bytes Overture Maps Schema Working Group Homepage, Source, Issues
overture-schema-common text/markdown 4,196 bytes Overture Maps Schema Working Group Homepage, Source, Issues

twine check passes on all three wheels and all three sdists.

Checklist

Checklist of tasks commonly-associated with schema pull requests. Please review the relevant checklists and ensure you do all the tasks that are required for the change you made.

No schema change, so items 1-6 do not apply.

  1. Add relevant examples.
  2. Add relevant counterexamples.
  3. Update any counterexamples that became obsolete. For example, if a counterexample uses property A but is not intended to test property A's validity, and you made a schema change that invalidates property A in that counterexample, fix the counterexample to align it with your schema change.
  4. Update in-schema documentation using plain English written in complete sentences, if an update is required.
  5. Update Docusaurus documentation, if an update is required.
  6. Review change with Overture technical writer to ensure any advanced documentation needs will be taken care of, unless the change is trivial and would not affect the documentation.

Documentation website

Docs preview for this PR.

overture-schema-pyspark, overture-schema-codegen, and
overture-schema-common each ship a README that never reaches the
distribution metadata: their pyproject.toml files omit `readme`, so the
built wheels and sdists carry an empty Description and the PyPI pages
render only the one-line summary.

pyspark and codegen also lacked `maintainers` and `[project.urls]`,
leaving their PyPI pages without Homepage, Source, or Issues links.

The other ten packages under packages/ declare all three fields.

Refs #734

Signed-off-by: Seth Fitzsimmons <seth@mojodna.net>
@github-actions

Copy link
Copy Markdown

🗺️ Schema reference docs preview is live!

🌍 Preview https://staging.overturemaps.org/schema/pr/735/schema/index.html
🕐 Updated Sep 11, 2026 03:33 UTC
📝 Commit 90c8ba7
🔧 env SCHEMA_PREVIEW true

Note

♻️ This preview updates automatically with each push to this PR.

@lowlydba John McCall (lowlydba) left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

LGTM! Nice cleanup - the ones w/out a README definitely look a bit sus when viewed on PyPI 😆

@sethfitz
Seth Fitzsimmons (sethfitz) merged commit 6b491c6 into main Sep 11, 2026
30 of 35 checks passed
@sethfitz
Seth Fitzsimmons (sethfitz) deleted the packaging-pypi-metadata branch September 11, 2026 14:12
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[CHORE](packaging) Three packages publish to PyPI with no project description

3 participants