Skip to content

Version 0.11.2: the spec at API 1.21.3 - #21

Merged
bensynapse merged 1 commit into
mainfrom
api-1.21.3
Nov 17, 2026
Merged

bensynapse merged 1 commit into
mainfrom
api-1.21.3

Conversation

@bensynapse

Copy link
Copy Markdown
Contributor

The client follows API 1.21.3, released on 2026-11-17 (build 7566c686). The saved spec takes the public document of faxforagents/openapi#19, which is not merged yet. Two metadata fixes come with it.

What a caller can notice

  • The generated docstring of Subscription.ends_at says it is None whenever entitled is false, as after the plan ended. ends_at() in billing/subscriptions.py returned null for such a subscription at 1.21.2 already, so no answer changes.
  • pip show faxforagents and PyPI name the licence as an SPDX expression. The wheel and the sdist carry License-Expression: MIT and License-File: LICENSE. PyPI shows license_expression null for 0.11.1, which sent License: MIT and the classifier.
  • The Documentation link of the package points at https://faxforagents.com/docs/sdks/python/, which answers 200, in place of /docs.

No method, argument or field changed, so the version is 0.11.2.

How the spec was refreshed

The public diff from 1.21.2 to 1.21.3 is two lines: info.version and the description of Subscription.ends_at. It applied to the saved spec with no conflict. Parsed, the saved spec equals the one of 0.11.1 with those two values replaced, and the header names 1.21.3. Subscription.ends_at stays out of required. python scripts/gen_models.py wrote the models: 175, no model new or gone.

Packaging

  • pyproject.toml uses PEP 639: license = "MIT" and license-files = ["LICENSE"]. The classifier License :: OSI Approved :: MIT License is gone. PEP 639 deprecates licence classifiers and lets a build tool refuse one next to an expression.
  • Hatchling supports PEP 639 from 1.27.0, so build-system.requires is now hatchling>=1.27. The build here used hatchling 1.33.0.
  • The metadata version is 2.5, the same as the 0.11.1 wheel on PyPI.

Checked

  • pytest -q -m "not live": 199 pass. The live test was not run, since it needs a test key.
  • ruff check src tests, ruff format --check src tests, mypy src, python scripts/gen_models.py --check and sh scripts/truthcheck.sh pass.
  • python -m build, then twine check --strict dist/* with twine 7.0.0: both files pass. The wheel's METADATA and the sdist's PKG-INFO read License-Expression: MIT and License-File: LICENSE, with no licence classifier. The wheel holds dist-info/licenses/LICENSE.
  • The wheel with [cli] installs in a clean venv. faxforagents version prints 0.11.2, faxforagents.models has 175 models, and importlib.metadata reads License-Expression MIT.
  • Every added README and CHANGELOG line passes the human-writing lint (docs channel). The new generated docstring comes from the public document.

No workflow file changed. Nothing is merged, tagged, released or published by this pull request.

The saved spec takes the two changes of the public document from 1.21.2 to 1.21.3, and every local edit is kept.
The models are regenerated, 175 as before. The docstring of Subscription.ends_at names the entitled case.
The metadata uses PEP 639: license = "MIT" with license-files, and the licence classifier is gone.
The build needs hatchling 1.27 or later for that. The Documentation link points at the Python SDK page.
@bensynapse
bensynapse merged commit af41cdb into main Nov 17, 2026
12 checks passed
@bensynapse
bensynapse deleted the api-1.21.3 branch November 17, 2026 09:43
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