openapi-python-sdk icon indicating copy to clipboard operation
openapi-python-sdk copied to clipboard

Rename package to openapi-sdk (PyPI approval in progress)

Open francescobianco opened this issue 5 months ago • 0 comments

Goal

Rename the package so it can be published on PyPI under the name openapi-sdk (currently openapi-python-sdk), and rename the importable module from openapi_python_sdk to openapi_sdk.

The GitHub repository name and the Makefile Project: header are intentionally kept as openapi-python-sdk (the canonical repo name).

Work in progress

  • Branch: package-rename — https://github.com/openapi/openapi-python-sdk/tree/package-rename
  • Commit f43344b already contains the full rename:
    • pyproject.toml: project name → openapi-sdk, package include → openapi_sdk
    • module dir moved openapi_python_sdk/ → openapi_sdk/
    • imports updated across examples/ and tests/
    • docs updated (README.md, docs/readme-pypi.md)
  • Tests pass (21 passed), lint clean, poetry build produces openapi_sdk-0.3.0.

Blocker — PyPI approval in progress

Publishing as openapi-sdk is currently blocked by PyPI's automatic name-similarity filter:

HTTP Error 400: The name 'openapi-sdk' is too similar to an existing project.

The name openapi-sdk is not registered (404 on PyPI) — the block is the similarity check against existing projects (openapi, open-api-sdk), not an ownership conflict.

A PEP 541 / name request has been filed with PyPI Support and is awaiting their approval:

  • 🔗 pypi/support#9815

Next steps

  • [ ] Wait for PyPI Support to grant the name openapi-sdk
  • [ ] Once unblocked, publish (poetry publish / make publish)
  • [ ] Merge package-rename into main

francescobianco avatar Jun 29 '26 14:06 francescobianco