Skip to content

chore: realign pyproject.toml to published 1.2.3#14

Closed
luke-speechify wants to merge 11 commits into
masterfrom
chore/release-please-version-sync
Closed

chore: realign pyproject.toml to published 1.2.3#14
luke-speechify wants to merge 11 commits into
masterfrom
chore/release-please-version-sync

Conversation

@luke-speechify

Copy link
Copy Markdown
Collaborator

What

Bring pyproject.toml back to 1.2.3 so the release-please manifest, the embedded X-Fern-SDK-Version literal in src/speechify/core/client_wrapper.py, and the actually-published PyPI version (speechify-api==1.2.3) all agree.

Why

After PR #11 landed the release-please-takeover config, an SDK regen pushed pyproject.toml to 1.2.4 and PR #12 (the auto-opened release-please release PR for 1.2.4) was closed without merging — so 1.2.4 was never published to PyPI. That left the repo in an inconsistent state:

Source Version
PyPI speechify-api latest 1.2.3
.release-please-manifest.json 1.2.3
src/speechify/core/client_wrapper.py (x-release-please-version) 1.2.3
pyproject.toml 1.2.4 ← drift

Release-please uses the manifest as its source-of-truth for "the last released version", and bumps everything from there. Leaving pyproject.toml at 1.2.4 would make release-please's next bump propose 1.2.5 while skipping a real 1.2.4 release that never happened. Realigning to 1.2.3 lets release-please cut a clean 1.2.4 (or whatever the next conventional commits warrant) on the next merge to master.

Verification

$ git diff
-version = "1.2.4"
+version = "1.2.3"

No behavioral or dependency changes; only the version field.

luke-speechify and others added 11 commits June 12, 2026 20:46
Added context7.json to the ignore list.
chore: add context7.json and update .fernignore
fix: update API URL in context7.json
- Add .github/workflows/release-please.yml combining compile + test +
  release-please + publish into a single workflow.
- Add release-please-config.json (manifest mode, release-type python,
  include-v-in-tag false to match existing tag style, extra-files for
  client_wrapper.py).
- Add .release-please-manifest.json seeded with 1.2.3.
- Add an x-release-please-version marker comment to the X-Fern-SDK-Version
  header in src/speechify/core/client_wrapper.py so the generic updater
  can bump it on every release.
- Update .fernignore:
  - keep .github/workflows/ci.yml so Fern does not recreate it after deletion
  - add new release-please files and CHANGELOG.md
  - add src/speechify/core/client_wrapper.py so the marker survives Fern
    regeneration
- Delete .github/workflows/ci.yml.
ci: replace ci.yml with release-please workflow
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.
fix(packaging): make the SDK installable from source [DRG-31]
The release-please manifest tracks 1.2.3 (the latest PyPI release) and
src/speechify/core/client_wrapper.py also embeds 1.2.3 via the
x-release-please-version marker, but pyproject.toml was bumped to 1.2.4 by
a regen after PR #12's release-please PR was closed without publishing.

Bring pyproject.toml back to 1.2.3 so release-please's source-of-truth
(the manifest) is consistent with every other version reference in the
repo. The next conventional commit will let release-please propose the
correct next bump.
@luke-speechify luke-speechify deleted the chore/release-please-version-sync branch June 19, 2026 12:36
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant