From 011172daa6a16e26834550e44562c5f14e054504 Mon Sep 17 00:00:00 2001 From: lspeechify <289678208+lspeechify@users.noreply.github.com> Date: Wed, 17 Jun 2026 10:00:41 +0100 Subject: [PATCH] fix(packaging): make the SDK installable from source [DRG-31] The generated pyproject carried a partial PEP-621 `[project]` table (name only, no version/dependencies) alongside the real `[tool.poetry]` config. PEP-621 build frontends (uv, pip git installs) validate `[project]` and fail ("project.version neither set nor in dynamic"), so `pip install git+...` / uv source installs were broken (PyPI wheels were unaffected). Drop the vestigial `[project]`/`[project.urls]` tables and move the URLs under `[tool.poetry.urls]` so poetry-core fully owns the metadata. `uv build` now produces sdist + wheel. NOTE: hand-patch of a generated file; the durable fix is upstream in the Fern python generator's pyproject emission. --- pyproject.toml | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/pyproject.toml b/pyproject.toml index ef5b406..d29a471 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -1,6 +1,3 @@ -[project] -name = "speechify-api" - [tool.poetry] name = "speechify-api" version = "1.2.3" @@ -39,7 +36,7 @@ packages = [ { include = "speechify", from = "src"} ] -[project.urls] +[tool.poetry.urls] Documentation = 'https://docs.speechify.ai/api-reference' Homepage = 'https://docs.speechify.ai' Repository = 'https://github.com/speechifyinc/speechify-api-sdk-python'