Skip to content

Point diffbot at 3.4.0rc0 for CI verification - #2

Merged
shixish merged 12 commits into
mainfrom
feat/sdk-next
Nov 18, 2026
Merged

shixish merged 12 commits into
mainfrom
feat/sdk-next

Conversation

@shixish

@shixish shixish commented Nov 18, 2026

Copy link
Copy Markdown
Collaborator

RC verification for the unison release.

This branch points the diffbot Python SDK at the published release candidate 3.4.0rc0 (>=3.4.0rc0,<4) and refreshes uv.lock from the registry (uv lock --upgrade-package diffbot --no-sources, because the sibling /workspace/langchain checkout is not on the box). CI already uses uv sync --no-sources, so it resolves langchain-core / langchain-tests from PyPI the same way.

Do not merge until the stable 3.4.0 SDK is published and the pin is switched for the unison publish.

shixish and others added 12 commits November 17, 2026 13:20
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
…loader

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
In download mode, crawl_get_job returns {} for an unknown job, which was
read as status 0 ("running"). The loader then polled until poll_timeout,
or forever when poll_timeout=None. It now raises JobError.

download_type="urls" makes crawl_download return CSV text. The loader
iterated that string one character at a time and passed each character
to the record mapper. That value is now rejected at construction, and
the docstring no longer gives it as the example.

Also share the record-mapping loop between the sync and async paths,
which drops the two type: ignore comments.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Add environment: pypi and id-token: write, use uv publish --trusted-publishing always,
drop PYPI_TOKEN, least-privilege permissions, and never cancel in-flight publishes.

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
0.2.0 is already on PyPI. The mypy override stays because 3.4.0 has no
py.typed marker. uv.lock is refreshed after 3.4.0 is published.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@shixish
shixish marked this pull request as ready for review November 18, 2026 21:58
@shixish
shixish merged commit c43efbe into main Nov 18, 2026
3 checks passed
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