Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

⬆️ Bump anthropic from 0.37.1 to 0.40.0 #1015

Merged
merged 1 commit into from
Dec 1, 2024

Conversation

dependabot[bot]
Copy link
Contributor

@dependabot dependabot bot commented on behalf of github Dec 1, 2024

Bumps anthropic from 0.37.1 to 0.40.0.

Release notes

Sourced from anthropic's releases.

v0.40.0

0.40.0 (2024-11-28)

Full Changelog: v0.39.0...v0.40.0

Features

  • client: add ._request_id property to object responses (#743) (9fb64a6)

Bug Fixes

  • asyncify: avoid hanging process under certain conditions (#756) (c71bba2)
  • bedrock: correct URL encoding for model params (#759) (be4e73a)
  • client: compat with new httpx 0.28.0 release (#765) (de51f60)
  • don't use dicts as iterables in transform (#750) (1f71464)
  • types: remove anthropic-instant-1.2 model (#744) (23637de)

Chores

  • api: update spec version (#751) (4ec986c)
  • ci: remove unneeded workflow (#742) (472b7d3)
  • internal: exclude mypy from running on tests (#764) (bce763a)
  • internal: fix compat model_dump method when warnings are passed (#760) (0e09236)
  • internal: minor formatting changes (493020e)
  • remove now unused cached-property dep (#762) (b9ffefe)
  • tests: adjust retry timeout values (#736) (27ed781)
  • tests: limit array example length (#754) (6cab2b9)

Documentation

v0.39.0

0.39.0 (2024-11-04)

Full Changelog: v0.38.0...v0.39.0

⚠ BREAKING CHANGES

  • client: remove legacy client.count_tokens() method (#726)

Features

... (truncated)

Changelog

Sourced from anthropic's changelog.

0.40.0 (2024-11-28)

Full Changelog: v0.39.0...v0.40.0

Features

  • client: add ._request_id property to object responses (#743) (9fb64a6)

Bug Fixes

  • asyncify: avoid hanging process under certain conditions (#756) (c71bba2)
  • bedrock: correct URL encoding for model params (#759) (be4e73a)
  • client: compat with new httpx 0.28.0 release (#765) (de51f60)
  • don't use dicts as iterables in transform (#750) (1f71464)
  • types: remove anthropic-instant-1.2 model (#744) (23637de)

Chores

  • api: update spec version (#751) (4ec986c)
  • ci: remove unneeded workflow (#742) (472b7d3)
  • internal: exclude mypy from running on tests (#764) (bce763a)
  • internal: fix compat model_dump method when warnings are passed (#760) (0e09236)
  • internal: minor formatting changes (493020e)
  • remove now unused cached-property dep (#762) (b9ffefe)
  • tests: adjust retry timeout values (#736) (27ed781)
  • tests: limit array example length (#754) (6cab2b9)

Documentation

0.39.0 (2024-11-04)

Full Changelog: v0.38.0...v0.39.0

⚠ BREAKING CHANGES

  • client: remove legacy client.count_tokens() & client.get_tokenizer() methods (#726)
    • This functionality has been replaced by the client.beta.messages.count_tokens() API which supports newer models and all content functionality, such as images and PDFs.

Features

... (truncated)

Commits
  • e7c5fd1 release: 0.40.0
  • ac8cc6d fix(client): compat with new httpx 0.28.0 release (#765)
  • 6023ed8 chore(internal): exclude mypy from running on tests (#764)
  • cfb07d9 chore(internal): minor formatting changes
  • 0ead3c4 fix(bedrock): correct URL encoding for model params (#759)
  • d5586b0 chore: remove now unused cached-property dep (#762)
  • 0ef2ff9 docs: add info log level to readme (#761)
  • cf8f0e7 chore(internal): fix compat model_dump method when warnings are passed (#760)
  • 4dc9320 fix(asyncify): avoid hanging process under certain conditions (#756)
  • 8e29be0 chore(tests): limit array example length (#754)
  • Additional commits viewable in compare view

Dependabot compatibility score

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 merge will merge this PR after your CI passes on it
  • @dependabot squash and merge will squash and merge this PR after your CI passes on it
  • @dependabot cancel merge will cancel a previously requested merge and block automerging
  • @dependabot reopen will reopen this PR if it is closed
  • @dependabot close will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
  • @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)

Bumps [anthropic](https://github.com/anthropics/anthropic-sdk-python) from 0.37.1 to 0.40.0.
- [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.37.1...v0.40.0)

---
updated-dependencies:
- dependency-name: anthropic
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
@dependabot dependabot bot added dependencies Pull requests that update a dependency file python Pull requests that update Python code labels Dec 1, 2024
Copy link

codecov bot commented Dec 1, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 96.53%. Comparing base (7d8270f) to head (61cb0e6).
Report is 1 commits behind head on main.

Additional details and impacted files
@@           Coverage Diff           @@
##             main    #1015   +/-   ##
=======================================
  Coverage   96.53%   96.53%           
=======================================
  Files          95       95           
  Lines        2252     2252           
  Branches      168      168           
=======================================
  Hits         2174     2174           
  Misses         67       67           
  Partials       11       11           

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

Copy link
Member

@twentylemon twentylemon left a comment

Choose a reason for hiding this comment

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

Seems the prior version is incompatible with a minor version upgrade in python. Why a minor version update had backward incompatible changes in it -- just python things.

@twentylemon twentylemon merged commit 837baf5 into main Dec 1, 2024
11 checks passed
@twentylemon twentylemon deleted the dependabot/pip/anthropic-0.40.0 branch December 1, 2024 14:10
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
dependencies Pull requests that update a dependency file python Pull requests that update Python code
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant