Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 4 additions & 4 deletions providers/anthropic/README.rst
Original file line number Diff line number Diff line change
Expand Up @@ -52,13 +52,13 @@ The package supports the following python versions: 3.10,3.11,3.12,3.13,3.14
Requirements
------------

========================================== ==================
========================================== ====================
PIP package Version required
========================================== ==================
========================================== ====================
``apache-airflow`` ``>=3.0.0``
``apache-airflow-providers-common-compat`` ``>=1.12.0``
``anthropic`` ``>=0.121.0``
========================================== ==================
``anthropic`` ``>=0.121.0,<1.0.0``
========================================== ====================

Optional dependencies
----------------------
Expand Down
20 changes: 10 additions & 10 deletions providers/anthropic/docs/index.rst
Original file line number Diff line number Diff line change
Expand Up @@ -133,13 +133,13 @@ Requirements

The minimum Apache Airflow version supported by this provider distribution is ``3.0.0``.

========================================== ==================
========================================== ====================
PIP package Version required
========================================== ==================
========================================== ====================
``apache-airflow`` ``>=3.0.0``
``apache-airflow-providers-common-compat`` ``>=1.12.0``
``anthropic`` ``>=0.121.0``
========================================== ==================
``anthropic`` ``>=0.121.0,<1.0.0``
========================================== ====================

Optional dependencies
---------------------
Expand All @@ -152,13 +152,13 @@ Install them when installing from PyPI. For example:
pip install apache-airflow-providers-anthropic[bedrock]


=========== ===============================
=========== ======================================
Extra Dependencies
=========== ===============================
``bedrock`` ``anthropic[bedrock]>=0.121.0``
``vertex`` ``anthropic[vertex]>=0.121.0``
``aws`` ``anthropic[aws]>=0.121.0``
=========== ===============================
=========== ======================================
``bedrock`` ``anthropic[bedrock]>=0.121.0,<1.0.0``
``vertex`` ``anthropic[vertex]>=0.121.0,<1.0.0``
``aws`` ``anthropic[aws]>=0.121.0,<1.0.0``
=========== ======================================

Downloading official packages
-----------------------------
Expand Down
12 changes: 8 additions & 4 deletions providers/anthropic/pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -66,15 +66,19 @@ dependencies = [
# reason happens to work further back -- older clients mis-build the discriminated
# union into the wrong variant class while preserving ``.type`` -- but only with
# response validation left non-strict, so it is not something to depend on.
"anthropic>=0.121.0",
# anthropic 1.0.0 replaces httpx with httpx2 and is a major release the provider
# has not been validated against. Remove the <1.0.0 cap (here and in the extras
# below) after migrating to the 1.x SDK;
# tracked at https://github.com/apache/airflow/issues/72071
"anthropic>=0.121.0,<1.0.0",
]

# The optional dependencies should be modified in place in the generated file
# Any change in the dependencies is preserved when the file is regenerated
[project.optional-dependencies]
"bedrock" = ["anthropic[bedrock]>=0.121.0"]
"vertex" = ["anthropic[vertex]>=0.121.0"]
"aws" = ["anthropic[aws]>=0.121.0"]
"bedrock" = ["anthropic[bedrock]>=0.121.0,<1.0.0"]
"vertex" = ["anthropic[vertex]>=0.121.0,<1.0.0"]
"aws" = ["anthropic[aws]>=0.121.0,<1.0.0"]

[dependency-groups]
dev = [
Expand Down
17 changes: 9 additions & 8 deletions uv.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.