From d0d1494603dc627fb0b6a97bd4cb331313e02350 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Tomasz=20P=C4=99dzim=C4=85=C5=BC?= Date: Fri, 27 Mar 2026 20:13:24 +0100 Subject: [PATCH 1/6] =?UTF-8?q?Revert=20"chore:=20update=20submodule=20URL?= =?UTF-8?q?=20after=20tts-service-api=20=E2=86=92=20tts-api=20rename"?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit This reverts commit 9596fc7279a59b600ab0fbdeef58fbfcd218b740. --- .gitmodules | 2 +- CHANGELOG.md | 8 -------- pyproject.toml | 4 ++-- shim/README.md | 17 ----------------- shim/pyproject.toml | 20 -------------------- tts_service_api/VERSION.py | 2 +- 6 files changed, 4 insertions(+), 49 deletions(-) delete mode 100644 shim/README.md delete mode 100644 shim/pyproject.toml diff --git a/.gitmodules b/.gitmodules index 727f5be..56a2afa 100644 --- a/.gitmodules +++ b/.gitmodules @@ -1,3 +1,3 @@ [submodule "submodules/tts-service-api"] path = submodules/tts-service-api - url = https://github.com/techmo-pl/tts-api.git + url = https://github.com/techmo-pl/tts-service-api diff --git a/CHANGELOG.md b/CHANGELOG.md index 1ddc0cb..7a38565 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -7,14 +7,6 @@ The major version of this package tracks the TTS Service API major version. ## [Unreleased] -## [3.2.1] - 2026-03-27 - -### Changed -- PyPI package renamed from `tts-service-api` to `tts-api` (ASR naming convention). - Import name `tts_service_api` is unchanged. -- Deprecation shim published separately as `tts-service-api==999.0.0` - (pulls in `tts-api` as dependency). - ## [3.2.0] - 2026-03-27 ### Added diff --git a/pyproject.toml b/pyproject.toml index a4cdaf6..3089314 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -5,7 +5,7 @@ requires = ["setuptools>=61", "grpcio-tools>=1.70.0,<1.71.0"] build-backend = "setuptools.build_meta" [project] -name = "tts-api" +name = "tts-service-api" description = "Techmo TTS Service API" dynamic = ["version"] readme = { file = "README.md", content-type = "text/markdown" } @@ -21,7 +21,7 @@ dependencies = [ ] [project.urls] -repository = "https://github.com/techmo-pl/tts-api-python" +repository = "https://github.com/techmo-pl/tts-service-api-python" [tool.setuptools.dynamic] version = { attr = "tts_service_api.VERSION.__version__" } diff --git a/shim/README.md b/shim/README.md deleted file mode 100644 index e546615..0000000 --- a/shim/README.md +++ /dev/null @@ -1,17 +0,0 @@ -# tts-service-api (deprecated shim) - -> **This package is deprecated.** It exists only for backwards compatibility. - -`tts-service-api` has been renamed to [`tts-api`](https://pypi.org/project/tts-api/). - -Installing `tts-service-api` will automatically install `tts-api` as a dependency. - -## Migration - -Update your dependencies: - -```sh -pip install tts-api -``` - -This shim will be **yanked** after 2027-03-01. diff --git a/shim/pyproject.toml b/shim/pyproject.toml deleted file mode 100644 index fc9c70f..0000000 --- a/shim/pyproject.toml +++ /dev/null @@ -1,20 +0,0 @@ -[build-system] -requires = ["setuptools>=61"] -build-backend = "setuptools.build_meta" - -[project] -name = "tts-service-api" -version = "999.0.0" -description = "Deprecated shim — installs tts-api (the canonical package)" -readme = { file = "README.md", content-type = "text/markdown" } -authors = [{ name = "Techmo sp. z o.o", email = "kontakt@techmo.pl" }] -requires-python = ">=3.8" -dependencies = ["tts-api"] -classifiers = ["Development Status :: 7 - Inactive"] - -[project.urls] -repository = "https://github.com/techmo-pl/tts-api-python" - -[tool.setuptools.packages.find] -where = ["."] -include = [] diff --git a/tts_service_api/VERSION.py b/tts_service_api/VERSION.py index 1da6a55..1173108 100644 --- a/tts_service_api/VERSION.py +++ b/tts_service_api/VERSION.py @@ -1 +1 @@ -__version__ = "3.2.1" +__version__ = "3.2.0" From 8f8b14c65ca66027bd950a08ca7e9958b24d737e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Tomasz=20P=C4=99dzim=C4=85=C5=BC?= Date: Sat, 28 Mar 2026 07:38:09 +0100 Subject: [PATCH 2/6] =?UTF-8?q?ci:=20add=20GitHub=20Actions=20workflow=20f?= =?UTF-8?q?or=20Python=203.8=E2=80=933.13?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .github/workflows/test.yml | 33 +++++++++++++++++++++++++++++++++ 1 file changed, 33 insertions(+) create mode 100644 .github/workflows/test.yml diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml new file mode 100644 index 0000000..d3e48e8 --- /dev/null +++ b/.github/workflows/test.yml @@ -0,0 +1,33 @@ +name: Tests + +on: + push: + branches: ["main"] + pull_request: + workflow_dispatch: + +jobs: + test: + name: Python ${{ matrix.python-version }} + runs-on: ubuntu-latest + strategy: + fail-fast: false + matrix: + python-version: ["3.8", "3.9", "3.10", "3.11", "3.12", "3.13"] + + steps: + - uses: actions/checkout@v4 + with: + submodules: recursive + + - name: Install uv + uses: astral-sh/setup-uv@v5 + with: + python-version: ${{ matrix.python-version }} + cache-dependency-glob: "pyproject.toml" + + - name: Build and install package + run: uv pip install --system -e . + + - name: Verify import + run: python -c "import tts_service_api; print(tts_service_api.VERSION.__version__)" From c2f02686bffd57c18dfe0a30a5823e1c5fe7423e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Tomasz=20P=C4=99dzim=C4=85=C5=BC?= Date: Sat, 28 Mar 2026 07:39:06 +0100 Subject: [PATCH 3/6] ci: fix uv pip install -- use venv instead of --system --- .github/workflows/test.yml | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index d3e48e8..795c5ca 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -27,7 +27,9 @@ jobs: cache-dependency-glob: "pyproject.toml" - name: Build and install package - run: uv pip install --system -e . + run: | + uv venv + uv pip install -e . - name: Verify import - run: python -c "import tts_service_api; print(tts_service_api.VERSION.__version__)" + run: uv run python -c "import tts_service_api; print(tts_service_api.VERSION.__version__)" From a7f40a1e7251bc645671f67f944dab8e705385be Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Tomasz=20P=C4=99dzim=C4=85=C5=BC?= Date: Sat, 28 Mar 2026 07:39:56 +0100 Subject: [PATCH 4/6] ci: remove redundant uv venv -- setup-uv already creates .venv --- .github/workflows/test.yml | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 795c5ca..0303767 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -27,9 +27,7 @@ jobs: cache-dependency-glob: "pyproject.toml" - name: Build and install package - run: | - uv venv - uv pip install -e . + run: uv pip install -e . - name: Verify import run: uv run python -c "import tts_service_api; print(tts_service_api.VERSION.__version__)" From e5ecb5376319aaa28b899aeca1dbeb3639d019a1 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Tomasz=20P=C4=99dzim=C4=85=C5=BC?= Date: Sat, 28 Mar 2026 07:40:49 +0100 Subject: [PATCH 5/6] ci: fix version import -- VERSION is a submodule not an attribute --- .github/workflows/test.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 0303767..ca33de5 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -30,4 +30,4 @@ jobs: run: uv pip install -e . - name: Verify import - run: uv run python -c "import tts_service_api; print(tts_service_api.VERSION.__version__)" + run: uv run python -c "from tts_service_api import VERSION; print(VERSION.__version__)" From 409b1f447573702a38fdf8cf8a0ed587c88d674f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Tomasz=20P=C4=99dzim=C4=85=C5=BC?= Date: Mon, 30 Mar 2026 00:38:38 +0200 Subject: [PATCH 6/6] =?UTF-8?q?feat:=20re-apply=20PyPI=20rename=20tts-serv?= =?UTF-8?q?ice-api=20=E2=86=92=20tts-api=20(restore=20from=20erroneous=20r?= =?UTF-8?q?evert)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit The revert commit d0d1494 silently undid four previous commits (rename, shim, version bump, changelog) while claiming to revert only the submodule URL change. Re-apply all of them: - pyproject.toml: name = "tts-api", repository URL → tts-api-python - .gitmodules: url → https://github.com/techmo-pl/tts-api.git - VERSION.py: 3.2.0 → 3.2.1 - CHANGELOG.md: add 3.2.1 rename entry - shim/: recreate metadata-only tts-service-api==999.0.0 deprecation shim Next step: uv publish (main + shim) — requires PyPI credentials. --- .gitmodules | 2 +- CHANGELOG.md | 8 ++++++++ pyproject.toml | 4 ++-- shim/README.md | 17 +++++++++++++++++ shim/pyproject.toml | 20 ++++++++++++++++++++ tts_service_api/VERSION.py | 2 +- 6 files changed, 49 insertions(+), 4 deletions(-) create mode 100644 shim/README.md create mode 100644 shim/pyproject.toml diff --git a/.gitmodules b/.gitmodules index 56a2afa..727f5be 100644 --- a/.gitmodules +++ b/.gitmodules @@ -1,3 +1,3 @@ [submodule "submodules/tts-service-api"] path = submodules/tts-service-api - url = https://github.com/techmo-pl/tts-service-api + url = https://github.com/techmo-pl/tts-api.git diff --git a/CHANGELOG.md b/CHANGELOG.md index 7a38565..aee73ed 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -7,6 +7,14 @@ The major version of this package tracks the TTS Service API major version. ## [Unreleased] +## [3.2.1] - 2026-03-30 + +### Changed +- PyPI package renamed from `tts-service-api` to `tts-api` (ASR naming convention). + Import name `tts_service_api` is unchanged. +- Deprecation shim published separately as `tts-service-api==999.0.0` + (pulls in `tts-api` as dependency). + ## [3.2.0] - 2026-03-27 ### Added diff --git a/pyproject.toml b/pyproject.toml index 3089314..a4cdaf6 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -5,7 +5,7 @@ requires = ["setuptools>=61", "grpcio-tools>=1.70.0,<1.71.0"] build-backend = "setuptools.build_meta" [project] -name = "tts-service-api" +name = "tts-api" description = "Techmo TTS Service API" dynamic = ["version"] readme = { file = "README.md", content-type = "text/markdown" } @@ -21,7 +21,7 @@ dependencies = [ ] [project.urls] -repository = "https://github.com/techmo-pl/tts-service-api-python" +repository = "https://github.com/techmo-pl/tts-api-python" [tool.setuptools.dynamic] version = { attr = "tts_service_api.VERSION.__version__" } diff --git a/shim/README.md b/shim/README.md new file mode 100644 index 0000000..e546615 --- /dev/null +++ b/shim/README.md @@ -0,0 +1,17 @@ +# tts-service-api (deprecated shim) + +> **This package is deprecated.** It exists only for backwards compatibility. + +`tts-service-api` has been renamed to [`tts-api`](https://pypi.org/project/tts-api/). + +Installing `tts-service-api` will automatically install `tts-api` as a dependency. + +## Migration + +Update your dependencies: + +```sh +pip install tts-api +``` + +This shim will be **yanked** after 2027-03-01. diff --git a/shim/pyproject.toml b/shim/pyproject.toml new file mode 100644 index 0000000..fc9c70f --- /dev/null +++ b/shim/pyproject.toml @@ -0,0 +1,20 @@ +[build-system] +requires = ["setuptools>=61"] +build-backend = "setuptools.build_meta" + +[project] +name = "tts-service-api" +version = "999.0.0" +description = "Deprecated shim — installs tts-api (the canonical package)" +readme = { file = "README.md", content-type = "text/markdown" } +authors = [{ name = "Techmo sp. z o.o", email = "kontakt@techmo.pl" }] +requires-python = ">=3.8" +dependencies = ["tts-api"] +classifiers = ["Development Status :: 7 - Inactive"] + +[project.urls] +repository = "https://github.com/techmo-pl/tts-api-python" + +[tool.setuptools.packages.find] +where = ["."] +include = [] diff --git a/tts_service_api/VERSION.py b/tts_service_api/VERSION.py index 1173108..1da6a55 100644 --- a/tts_service_api/VERSION.py +++ b/tts_service_api/VERSION.py @@ -1 +1 @@ -__version__ = "3.2.0" +__version__ = "3.2.1"