Comparing v7.3.0...v7.3.1 · deepgram/deepgram-python-sdk · GitHub
Skip to content
Permalink

Comparing changes

Choose two branches to see what’s changed or to start a new pull request. If you need to, you can also or learn more about diff comparisons.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also . Learn more about diff comparisons here.
base repository: deepgram/deepgram-python-sdk
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: v7.3.0
Choose a base ref
...
head repository: deepgram/deepgram-python-sdk
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: v7.3.1
Choose a head ref
  • 2 commits
  • 17 files changed
  • 3 contributors

Commits on Jun 3, 2026

  1. fix: widen pydantic-core bound via fern 5.14.8 regen (closes #701) (#724

    )
    
    SDK regeneration for 2026-06-02.
    
    ## Generator bump
    `fernapi/fern-python-sdk` **5.8.3 → 5.14.8** (set in
    `deepgram-docs/fern/generators.yml`). SDK version `7.1.2 → 7.3.1`.
    
    ## Headline fix — closes #701, supersedes #723
    The new generator widens the `pydantic-core` bound from
    `>=2.18.2,<2.44.0` to `>=2.18.2,<3.0.0` in both `pyproject.toml` and
    `requirements.txt`, and regenerates `poetry.lock` (now resolves
    `pydantic-core 2.46.4`). This fixes the resolver conflict with
    `pydantic>=2.13` at 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 (`.bak` vs 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
    strings
    - 4 socket clients — broad `except Exception`, optional control-message
    params, agent `_sanitize_numeric_types`, listen/v2 `send_configure` raw
    shim
    - 7 agent-settings type/request files — back-compat for the 2026-05-05
    schema restructure (callable `AgentV1SettingsAgent(...)`, legacy
    `messages=`/nested-context remap, `.messages` read access, `str` audio
    container). Note: 5.14.8 now natively types `AgentV1SettingsAgent =
    Union[AgentV1SettingsAgentContext, str]`; the callable-class shim is
    retained for constructor back-compat.
    - 7 package `__init__.py` files — legacy alias re-exports (no new
    generator entries to merge; all showed `new+:0`)
    - `tests/wire/test_manage_v1_projects_keys.py` — legacy create-key alias
    wire coverage
    
    ## Verification
    - `poetry run mypy src/` — clean (801 files)
    - `poetry run pytest -rP .` — 222 passed, 4 skipped (incl. all custom
    back-compat regression tests)
    - Pre-existing ruff findings in `tests/manual`/`tests/custom` are
    unchanged and not CI-gated.
    
    ---------
    
    Co-authored-by: fern-api <115122769+fern-api[bot]@users.noreply.github.com>
    GregHolmes and fern-api[bot] authored Jun 3, 2026
    Configuration menu
    Copy the full SHA
    5c1e845 View commit details
    Browse the repository at this point in the history
  2. chore(main): release 7.3.1 (#725)

    🤖 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>
    github-actions[bot] authored Jun 3, 2026
    Configuration menu
    Copy the full SHA
    cbeb806 View commit details
    Browse the repository at this point in the history
Loading