Skip to content

ci: rewrite README image paths for PyPI #28

Closed

Description

@uniqueg

Moved out of #22, which was narrowed to the environment rename (#25). Decided by the maintainer (2026-10-31, #22 comment), as in elixir-cloud-aai/foca#573, when foca-plugins publishes to PyPI:

  • 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
    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

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions