Skip to content
Closed
33 changes: 33 additions & 0 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
@@ -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 -e .

- name: Verify import
run: uv run python -c "from tts_service_api import VERSION; print(VERSION.__version__)"
2 changes: 1 addition & 1 deletion .gitmodules
Original file line number Diff line number Diff line change
@@ -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
8 changes: 8 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,14 @@ 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
Expand Down
4 changes: 2 additions & 2 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -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" }
Expand All @@ -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__" }
Expand Down
17 changes: 17 additions & 0 deletions shim/README.md
Original file line number Diff line number Diff line change
@@ -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.
20 changes: 20 additions & 0 deletions shim/pyproject.toml
Original file line number Diff line number Diff line change
@@ -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 = []
2 changes: 1 addition & 1 deletion tts_service_api/VERSION.py
Original file line number Diff line number Diff line change
@@ -1 +1 @@
__version__ = "3.2.0"
__version__ = "3.2.1"
Loading