Skip to content

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

Description

@francescobianco

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-renamehttps://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:

Next steps

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions