Skip to content

fix: update anthropic requirement from <2,>=0.105.0 to >=0.105.0,<3 - #2465

Draft
dependabot[bot] wants to merge 9 commits into
mainfrom
dependabot/pip/anthropic-gte-0.105.0-and-lt-3
Draft

dependabot[bot] wants to merge 9 commits into
mainfrom
dependabot/pip/anthropic-gte-0.105.0-and-lt-3

Conversation

@dependabot

@dependabot dependabot Bot commented on behalf of github Oct 24, 2026 •

Copy link
Copy Markdown
Contributor

Fixes #2474

Updates the requirements on anthropic to permit the latest version.

Release notes

Sourced from anthropic's releases.

v2.0.0

⚠ BREAKING CHANGES

  • api: add support for new API version 2026-10-21

Features

  • api: add a workspace_id filter and the usage_tier scope type to list spend limits
  • api: add support for new API version 2026-10-21

Documentation

  • api: remove outdated system role note from messages description
Changelog

Sourced from anthropic's changelog.

2.0.0 (2026-10-21)

⚠ BREAKING CHANGES

  • api: add support for new API version 2026-10-21

Features

  • api: add a workspace_id filter and the usage_tier scope type to list spend limits
  • api: add support for new API version 2026-10-21

Documentation

  • api: remove outdated system role note from messages description

1.17.0 (2026-10-20)

Features

  • api: add org webhook endpoints and user profile enforcement events
  • api: add RBAC Group owner-access error codes to the Admin API
  • api: document the unsupported_charset error code for plugin uploads

Bug Fixes

  • bedrock: keep a workspace ID set in default_headers on the Bedrock and Mantle clients
  • google-cloud: keep workspace and user profile IDs set in default_headers

Chores

  • ci: run the changelog check on a standard runner

1.16.0 (2026-10-20)

Features

  • api: add data_refreshed_at and has_more to analytics report pages
  • api: add workspace rate-limit updates to the Admin API
  • api: make User Profiles generally available
  • client: yield server-sent events with unrecognized event names
  • google-cloud: use the v1 endpoints and add the organization endpoint

Chores

  • ci: skip the changelog check on draft pull requests
  • docs: add credential expiry descriptions to the Managed Agents API reference

... (truncated)

Commits
  • ecfee6c release: 2.0.0
  • 4f6ea9b Merge pull request #1052 from anthropics/synced/published
  • db219ae feat(api)!: add support for new API version 2026-10-21
  • 7a4432e feat(api): add a workspace_id filter and the usage_tier scope type to list sp...
  • 87651ad docs(api): remove outdated system role note from messages description
  • f3c28bb Merge branch 'main'
  • 5738a25 release: 1.17.0
  • 5de9912 Merge pull request #1045 from anthropics/synced/published
  • 3747d0e feat(api): add org webhook endpoints and user profile enforcement events
  • 1a8af7e feat(api): document the unsupported_charset error code for plugin uploads
  • Additional commits viewable in compare view

Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.


Dependabot commands and options

You can trigger Dependabot actions by commenting on this PR:

  • @dependabot rebase will rebase this PR
  • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
  • @dependabot show <dependency name> ignore conditions will show all of the ignore conditions of the specified dependency
  • @dependabot ignore this major version will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this minor version will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)

Current maintenance receipt (November 12, 2026)

Integration base: 512a2558f73d6281b6a880548bedf140b7e30292; published correction: b76e8945548c162d19f77063b3c1d3ddf942138e. This PR was converted to draft before publication to prevent automatic merging.

The compatibility test previously inherited the host SOCKS proxy and failed during a default client constructor before the test could inject MockTransport. The fixture now clears proxy variables only for this test, refuses real socket connections, and resets its request receipt. This changes test isolation, not application transport policy. Current main was integrated; the existing Anthropic range/lock metadata and compatibility CI step remain intact.

Actual CPython 3.12.14 / uv 0.13.6 validation:

  • Original exact-head test: 1 failed due to missing socksio from inherited host proxy settings.
  • Changed compatibility test: 1 passed; repeated on the combined tree: 1 passed in 3.34s, exit 0. All four requests used httpx2 MockTransport and real socket connect was disabled. Optional unavailable app dependencies emitted import warnings; full environment acceptance is not claimed.
  • uv lock --check --offline: exit 0, 346 packages. git diff --check: exit 0.
  • Publication tree a61146e5b1bab4ec828d5d9a5948f6a2a35db422 matches local and GitHub creation.

Exact-branch git.deploymentEnabled exclusions are present in both root/app Vercel configurations. Hosted checks for the correction remain pending; preserve draft status and do not merge/deploy. No provider call or paid API request was made. Rollback: prepare a reviewed revert of the compatibility fixture correction; it restores dependence on host proxy configuration.

Updates the requirements on [anthropic](https://github.com/anthropics/anthropic-sdk-python) to permit the latest version.
- [Release notes](https://github.com/anthropics/anthropic-sdk-python/releases)
- [Changelog](https://github.com/anthropics/anthropic-sdk-python/blob/main/CHANGELOG.md)
- [Commits](anthropics/anthropic-sdk-python@v0.105.0...v2.0.0)

---
updated-dependencies:
- dependency-name: anthropic
  dependency-version: 2.0.0
  dependency-type: direct:development
...

Signed-off-by: dependabot[bot] <support@github.com>
@dependabot
dependabot Bot requested a review from groupthinking as a code owner October 24, 2026 20:53
@vercel

vercel Bot commented Oct 24, 2026 •

Copy link
Copy Markdown
Contributor

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated
v0-uvai Ready Ready Preview, v0 Oct 29, 2026 6:32am UTC

@dependabot dependabot Bot added dependencies Pull requests that update a dependency file python labels Oct 24, 2026
@coderabbitai

coderabbitai Bot commented Oct 24, 2026 •

Copy link
Copy Markdown
Contributor

Important

Review skipped

Bot user detected.

To trigger a single review, invoke the @coderabbitai review command.

Run configuration

You can disable this status message by setting the reviews.review_status to false in the CodeRabbit configuration file.

Use the checkbox below for a quick retry:

  • Trigger review
  • Autofix · Keep fixing CodeRabbit findings and required CI, and resolving merge conflicts

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

Share

@github-actions

github-actions Bot commented Oct 24, 2026 •

Copy link
Copy Markdown
Contributor

Dependency Review

✅ No vulnerabilities or license issues or OpenSSF Scorecard issues found.

Scanned Files

None

@groupthinking groupthinking left a comment

Copy link
Copy Markdown
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Review at head 34d83400: pyproject.toml widens the Anthropic range without updating uv.lock. Both Python CI jobs stop at uv lock --check with 'lockfile needs to be updated.' Commit the regenerated lockfile and rerun both jobs before this can be approved.

groupthinking added a commit that referenced this pull request Oct 28, 2026
Closes #2476

## Summary

- Compare the exact pull request base and head dependency inputs. For
supported lockfile changes, submit focused snapshots for both revisions
with the same scope and correlator.
- For the root npm lockfile, include declared workspace manifests in
both snapshots. If any changed npm manifest is not covered by a changed
lockfile, use the full scan.
- Keep the full-tree scan for mixed or unsupported dependency changes
and pushes to `main`. Bound each Python requirements report to 120
seconds on that path so one file cannot consume the entire ten-minute
job. If a report times out, Component Detection falls back to declared
dependencies for that file, so its transitive graph can be incomplete.
- Preserve the current severity and license policy and the evidence
capture merged into `main` by #2409.

## Paths changed

- `.github/workflows/dependency-review.yml`
- `tests/unit/test_dependency_review_workflow.py`

## Validation

- `uv run --no-project --with pytest --with pyyaml python -m pytest -q
-o addopts='' tests/unit/test_dependency_review_workflow.py` — 14 passed
after integrating latest `main`.
- Ruff lint and format checks, plus `git diff --check` — passed.
- [Hosted dependency review on head
`24c8711`](https://github.com/groupthinking/EventRelay/actions/runs/40652875982)
— passed, with no snapshot warning or dependency changes for this
workflow/test-only diff.
- Current head `2485239` contains the full-scan time bound. [All hosted
pull request checks on this exact
head](https://github.com/groupthinking/EventRelay/pull/2477/checks) have
passed. The `main` push full-scan path has not been verified with this
change.

Once this repair reaches `main`, rerun dependency review on #2464 and
#2465 before treating either as merge ready.
groupthinking
groupthinking previously approved these changes Oct 28, 2026

@groupthinking groupthinking left a comment

Copy link
Copy Markdown
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The earlier lockfile finding is addressed: pyproject.toml and uv.lock now agree on the Anthropic range. Python 3.11/3.12 and the v2 compatibility check pass. I approve this code change at this head. The separate dependency-review evidence workflow still fails while recording/uploading its artifact, so this approval is not a merge recommendation until that required check is repaired.

Clear proxy environment within the test fixture, reject real socket
connections and reset the per-run request receipt. Preserve the existing
Anthropic 2 compatibility behavior while integrating current main.
Disable automatic previews for this exact review branch.

Validation: original test failed with host SOCKS configuration; changed
compatibility test passed 1 test, four MockTransport requests. Final
merged-tree run passed, uv lock --check --offline and diff check passed.
No merge/deploy/paid request authorized.

This branch was successfully deployed

1 active (outdated) deployment
Preview — 926ada51 Deployed Oct 29, 2026 by vercel[bot]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

ci/cd dependencies Pull requests that update a dependency file python

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Validate Anthropic SDK v2 compatibility for the ML extra

1 participant