Skip to content

ci: rewrite README image paths for PyPI #573

Closed

Description

@uniqueg

Moved out of #563, which was narrowed to the environment rename for v0.19.0. Decided by the maintainer (2026-10-31, #563 comment):

  • READMEs now show the logo via relative paths (docs/images/...), which PyPI can't resolve.
  • Before python -m build, the release workflow rewrites relative image paths in README.md to absolute URLs pinned to the release tag: https://raw.githubusercontent.com/${{ github.repository }}/<tag>/<path>. The repository name comes from the run context, so nothing in the source names the organisation.
  • A test checks that the rewritten README has no relative image paths left.
  • Build backend stays setuptools + setuptools-scm.

Activity

  1. added this to the v0.20.0 milestone on Oct 31, 2026
  2. added
    priority: medium
    status: triage
    type: ci / cd
    workload: hours
    status: in progress
    and removed
    status: triage
    on Oct 31, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    priority: mediumstatus: in progresstype: ci / cdworkload: hours

    Type

    No type

    Projects

    No projects

      Milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions