fix: widen pydantic-core bound via fern 5.14.8 regen (closes #701)#724
Merged
Conversation
Contributor
Author
Breaking-change review (7.3.0 → this branch)Verdict: no breaking changes for consumers. The only net consumer-visible gain is the additive ScopeThe net The 9 changed files
Verification
Notes (non-blocking)
|
dg-coreylweathers
approved these changes
Jun 2, 2026
This was referenced Jun 3, 2026
GregHolmes
pushed a commit
that referenced
this pull request
Jun 3, 2026
🤖 I have created a release *beep* *boop* --- ## [7.3.1](v7.3.0...v7.3.1) (2026-06-03) ### Bug Fixes * widen pydantic-core bound via fern 5.14.8 regen (closes [#701](#701)) ([#724](#724)) ([5c1e845](5c1e845)) --- ### What's in this release This release ships a single PR ([#724](#724)), an SDK regeneration that bumped the Fern Python generator `5.8.3 → 5.14.8`. #### Dependency fix (closes #701) * `pydantic-core` bound widened from `>=2.18.2,<2.44.0` to `>=2.18.2,<3.0.0` in `pyproject.toml` and `requirements.txt`, resolving the resolver conflict with `pydantic>=2.13`. `poetry.lock` now resolves `pydantic-core 2.46.4`. #### New: client-level `max_retries` parameter (generator feature) * The sync and async client constructors now accept a `max_retries` parameter, with a per-request override via `request_options` that takes precedence over the client-level value. * This is additive and **does not change default behavior**: the SDK already retried up to 2 times (on HTTP 408/429/5xx and connection errors, with backoff) in 7.3.0 — that default of `2` is unchanged. The only new capability is that retries are now configurable from the client constructor (e.g. pass `max_retries=0` to disable). * Files touched (all fully generated): `base_client.py`, `core/client_wrapper.py`, plus generated coverage in `tests/utils/test_http_client.py`. #### Verification (from #724) * `poetry run mypy src/` — clean (801 files) * `poetry run pytest -rP .` — 222 passed, 4 skipped (incl. all custom back-compat regression tests) --- This PR was generated with [Release Please](https://github.com/googleapis/release-please). See [documentation](https://github.com/googleapis/release-please#release-please). Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
SDK regeneration for 2026-06-02.
Generator bump
fernapi/fern-python-sdk5.8.3 → 5.14.8 (set indeepgram-docs/fern/generators.yml). SDK version7.1.2 → 7.3.1.Headline fix — closes #701, supersedes #723
The new generator widens the
pydantic-corebound from>=2.18.2,<2.44.0to>=2.18.2,<3.0.0in bothpyproject.tomlandrequirements.txt, and regeneratespoetry.lock(now resolvespydantic-core 2.46.4). This fixes the resolver conflict withpydantic>=2.13at the generator level, so the manual one-line patch in #723 is no longer needed.Manual patches reconciled
All 20 temporarily-frozen files were diffed (
.bakvs regenerated). The generator caught up on none of them, so all 20 patches were re-applied and re-frozen in.fernignore:core/query_encoder.py— bool→lowercase coercion for websocket query stringsexcept Exception, optional control-message params, agent_sanitize_numeric_types, listen/v2send_configureraw shimAgentV1SettingsAgent(...), legacymessages=/nested-context remap,.messagesread access,straudio container). Note: 5.14.8 now natively typesAgentV1SettingsAgent = Union[AgentV1SettingsAgentContext, str]; the callable-class shim is retained for constructor back-compat.__init__.pyfiles — legacy alias re-exports (no new generator entries to merge; all showednew+:0)tests/wire/test_manage_v1_projects_keys.py— legacy create-key alias wire coverageVerification
poetry run mypy src/— clean (801 files)poetry run pytest -rP .— 222 passed, 4 skipped (incl. all custom back-compat regression tests)tests/manual/tests/customare unchanged and not CI-gated.