diff --git a/airflow/providers/apache/beam/provider.yaml b/airflow/providers/apache/beam/provider.yaml index 9d5115c85a12e..ac25271a87fc3 100644 --- a/airflow/providers/apache/beam/provider.yaml +++ b/airflow/providers/apache/beam/provider.yaml @@ -63,6 +63,10 @@ additional-extras: dependencies: - apache-beam[gcp] +# Apache Beam currently does not support Python 3.12 +# There is an issue tracking it https://github.com/apache/beam/issues/29149 +excluded-python-versions: ['3.12'] + integrations: - integration-name: Apache Beam external-doc-url: https://beam.apache.org/ diff --git a/airflow/providers/papermill/provider.yaml b/airflow/providers/papermill/provider.yaml index e068a4ff3ae61..8a0546f0ced61 100644 --- a/airflow/providers/papermill/provider.yaml +++ b/airflow/providers/papermill/provider.yaml @@ -21,6 +21,11 @@ name: Papermill description: | `Papermill `__ +# Papermill is technically compliant with 3.12, but it's 2.5.0 version that is compliant, requires pinned +# version of aiohttp which conflicts with other providers. The fix for that is implemented extra-links: +# https://github.com/nteract/papermill/pull/771 and waits for new Papermill release +excluded-python-versions: ['3.12'] + state: ready source-date-epoch: 1705912216 versions: diff --git a/generated/provider_dependencies.json b/generated/provider_dependencies.json index 696c76a11389d..6b7efb833e02d 100644 --- a/generated/provider_dependencies.json +++ b/generated/provider_dependencies.json @@ -76,7 +76,9 @@ "cross-providers-deps": [ "google" ], - "excluded-python-versions": [], + "excluded-python-versions": [ + "3.12" + ], "state": "ready" }, "apache.cassandra": { @@ -880,7 +882,9 @@ ], "devel-deps": [], "cross-providers-deps": [], - "excluded-python-versions": [], + "excluded-python-versions": [ + "3.12" + ], "state": "ready" }, "pgvector": { diff --git a/pyproject.toml b/pyproject.toml index 84b5eacb120fb..584a000c7e14c 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -567,8 +567,8 @@ amazon = [ # source: airflow/providers/amazon/provider.yaml "s3fs>=2023.10.0", ] apache-beam = [ # source: airflow/providers/apache/beam/provider.yaml - "apache-beam>=2.53.0", - "pyarrow>=14.0.1", + "apache-beam>=2.53.0;python_version != \"3.12\"", + "pyarrow>=14.0.1;python_version != \"3.12\"", ] apache-cassandra = [ # source: airflow/providers/apache/cassandra/provider.yaml "cassandra-driver>=3.13.0", @@ -867,9 +867,9 @@ pagerduty = [ # source: airflow/providers/pagerduty/provider.yaml "pdpyras>=4.1.2", ] papermill = [ # source: airflow/providers/papermill/provider.yaml - "ipykernel", - "papermill[all]>=2.4.0", - "scrapbook[all]", + "ipykernel;python_version != \"3.12\"", + "papermill[all]>=2.4.0;python_version != \"3.12\"", + "scrapbook[all];python_version != \"3.12\"", ] pgvector = [ # source: airflow/providers/pgvector/provider.yaml "apache-airflow[postgres]",