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
2 changes: 1 addition & 1 deletion dev/breeze/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -135,6 +135,6 @@ PLEASE DO NOT MODIFY THE HASH BELOW! IT IS AUTOMATICALLY UPDATED BY PRE-COMMIT.

---------------------------------------------------------------------------------------------------------

Package config hash: aff0246d8f21f59dc1299a6d8298e166ece38be97ee62f0fcb8641e59d991f7e8d649cfcd7d709b20c75d251761e1b3fd18dabe9d2ebc9f45ea58f7379fa125c
Package config hash: 8a5fa7cd5dbeb65fa875b8faa94f075b0de96fcd0c1061436e5f6ae3be14903f0e8f6024e2e35637fbed765318636c82dfd7b8640726756394121ba20ac4190b

---------------------------------------------------------------------------------------------------------
2 changes: 1 addition & 1 deletion dev/breeze/pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ classifiers = [
"Programming Language :: Python :: 3.11",
"Programming Language :: Python :: 3.12",
]
requires-python = "~=3.10"
requires-python = ">=3.10,<4"

dependencies = [
"black>=23.11.0",
Expand Down
13 changes: 12 additions & 1 deletion dev/breeze/src/airflow_breeze/utils/packages.py
Original file line number Diff line number Diff line change
Expand Up @@ -645,10 +645,21 @@ def get_provider_jinja_context(
]
cross_providers_dependencies = get_cross_provider_dependent_packages(provider_id=provider_id)

from packaging.version import Version

default_version = Version(DEFAULT_PYTHON_MAJOR_MINOR_VERSION)
upper_bound = default_version.major + 1

# Before we make decision about how we are going to have python_version specification in providers
# latest `uv` version has non-silenceable warning about the specification of ~= - which is otherwise
# perfectly valid specification according to PEP 440.
# For now we will use >=, < pattern but we should reconsider it when the decision about silencing
# is made https://github.com/astral-sh/uv/issues/14422
requires_python_version: str = f">={DEFAULT_PYTHON_MAJOR_MINOR_VERSION}"
# Most providers require the same python versions, but some may have exclusions
requires_python_version: str = f"~={DEFAULT_PYTHON_MAJOR_MINOR_VERSION}"
for excluded_python_version in provider_details.excluded_python_versions:
requires_python_version += f",!={excluded_python_version}"
requires_python_version += f",<{upper_bound}"

context: dict[str, Any] = {
"PROVIDER_ID": provider_details.provider_id,
Expand Down
2 changes: 1 addition & 1 deletion providers/airbyte/pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ classifiers = [
"Programming Language :: Python :: 3.12",
"Topic :: System :: Monitoring",
]
requires-python = "~=3.10"
requires-python = ">=3.10,<4"

# The dependencies should be modified in place in the generated file.
# Any change in the dependencies is preserved when the file is regenerated
Expand Down
2 changes: 1 addition & 1 deletion providers/alibaba/pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ classifiers = [
"Programming Language :: Python :: 3.12",
"Topic :: System :: Monitoring",
]
requires-python = "~=3.10"
requires-python = ">=3.10,<4"

# The dependencies should be modified in place in the generated file.
# Any change in the dependencies is preserved when the file is regenerated
Expand Down
2 changes: 1 addition & 1 deletion providers/amazon/pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ classifiers = [
"Programming Language :: Python :: 3.12",
"Topic :: System :: Monitoring",
]
requires-python = "~=3.10"
requires-python = ">=3.10,<4"

# The dependencies should be modified in place in the generated file.
# Any change in the dependencies is preserved when the file is regenerated
Expand Down
2 changes: 1 addition & 1 deletion providers/apache/beam/pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ classifiers = [
"Programming Language :: Python :: 3.12",
"Topic :: System :: Monitoring",
]
requires-python = "~=3.10"
requires-python = ">=3.10,<4"

# The dependencies should be modified in place in the generated file.
# Any change in the dependencies is preserved when the file is regenerated
Expand Down
2 changes: 1 addition & 1 deletion providers/apache/cassandra/pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ classifiers = [
"Programming Language :: Python :: 3.12",
"Topic :: System :: Monitoring",
]
requires-python = "~=3.10"
requires-python = ">=3.10,<4"

# The dependencies should be modified in place in the generated file.
# Any change in the dependencies is preserved when the file is regenerated
Expand Down
2 changes: 1 addition & 1 deletion providers/apache/drill/pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ classifiers = [
"Programming Language :: Python :: 3.12",
"Topic :: System :: Monitoring",
]
requires-python = "~=3.10"
requires-python = ">=3.10,<4"

# The dependencies should be modified in place in the generated file.
# Any change in the dependencies is preserved when the file is regenerated
Expand Down
2 changes: 1 addition & 1 deletion providers/apache/druid/pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ classifiers = [
"Programming Language :: Python :: 3.12",
"Topic :: System :: Monitoring",
]
requires-python = "~=3.10"
requires-python = ">=3.10,<4"

# The dependencies should be modified in place in the generated file.
# Any change in the dependencies is preserved when the file is regenerated
Expand Down
2 changes: 1 addition & 1 deletion providers/apache/flink/pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ classifiers = [
"Programming Language :: Python :: 3.12",
"Topic :: System :: Monitoring",
]
requires-python = "~=3.10"
requires-python = ">=3.10,<4"

# The dependencies should be modified in place in the generated file.
# Any change in the dependencies is preserved when the file is regenerated
Expand Down
2 changes: 1 addition & 1 deletion providers/apache/hdfs/pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ classifiers = [
"Programming Language :: Python :: 3.12",
"Topic :: System :: Monitoring",
]
requires-python = "~=3.10"
requires-python = ">=3.10,<4"

# The dependencies should be modified in place in the generated file.
# Any change in the dependencies is preserved when the file is regenerated
Expand Down
1 change: 0 additions & 1 deletion providers/apache/hive/README.rst
Original file line number Diff line number Diff line change
Expand Up @@ -78,7 +78,6 @@ You can install such cross-provider dependencies when installing from PyPI. For
Dependent package Extra
====================================================================================================================== ===================
`apache-airflow-providers-amazon <https://airflow.apache.org/docs/apache-airflow-providers-amazon>`_ ``amazon``
`apache-airflow-providers-common-compat <https://airflow.apache.org/docs/apache-airflow-providers-common-compat>`_ ``common.compat``
`apache-airflow-providers-common-sql <https://airflow.apache.org/docs/apache-airflow-providers-common-sql>`_ ``common.sql``
`apache-airflow-providers-microsoft-mssql <https://airflow.apache.org/docs/apache-airflow-providers-microsoft-mssql>`_ ``microsoft.mssql``
`apache-airflow-providers-mysql <https://airflow.apache.org/docs/apache-airflow-providers-mysql>`_ ``mysql``
Expand Down
2 changes: 1 addition & 1 deletion providers/apache/hive/pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ classifiers = [
"Programming Language :: Python :: 3.12",
"Topic :: System :: Monitoring",
]
requires-python = "~=3.10"
requires-python = ">=3.10,<4"

# The dependencies should be modified in place in the generated file.
# Any change in the dependencies is preserved when the file is regenerated
Expand Down
2 changes: 1 addition & 1 deletion providers/apache/iceberg/pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ classifiers = [
"Programming Language :: Python :: 3.12",
"Topic :: System :: Monitoring",
]
requires-python = "~=3.10"
requires-python = ">=3.10,<4"

# The dependencies should be modified in place in the generated file.
# Any change in the dependencies is preserved when the file is regenerated
Expand Down
2 changes: 1 addition & 1 deletion providers/apache/impala/pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ classifiers = [
"Programming Language :: Python :: 3.12",
"Topic :: System :: Monitoring",
]
requires-python = "~=3.10"
requires-python = ">=3.10,<4"

# The dependencies should be modified in place in the generated file.
# Any change in the dependencies is preserved when the file is regenerated
Expand Down
2 changes: 1 addition & 1 deletion providers/apache/kafka/pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ classifiers = [
"Programming Language :: Python :: 3.12",
"Topic :: System :: Monitoring",
]
requires-python = "~=3.10"
requires-python = ">=3.10,<4"

# The dependencies should be modified in place in the generated file.
# Any change in the dependencies is preserved when the file is regenerated
Expand Down
2 changes: 1 addition & 1 deletion providers/apache/kylin/pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ classifiers = [
"Programming Language :: Python :: 3.12",
"Topic :: System :: Monitoring",
]
requires-python = "~=3.10"
requires-python = ">=3.10,<4"

# The dependencies should be modified in place in the generated file.
# Any change in the dependencies is preserved when the file is regenerated
Expand Down
2 changes: 1 addition & 1 deletion providers/apache/livy/pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ classifiers = [
"Programming Language :: Python :: 3.12",
"Topic :: System :: Monitoring",
]
requires-python = "~=3.10"
requires-python = ">=3.10,<4"

# The dependencies should be modified in place in the generated file.
# Any change in the dependencies is preserved when the file is regenerated
Expand Down
2 changes: 1 addition & 1 deletion providers/apache/pig/pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ classifiers = [
"Programming Language :: Python :: 3.12",
"Topic :: System :: Monitoring",
]
requires-python = "~=3.10"
requires-python = ">=3.10,<4"

# The dependencies should be modified in place in the generated file.
# Any change in the dependencies is preserved when the file is regenerated
Expand Down
2 changes: 1 addition & 1 deletion providers/apache/pinot/pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ classifiers = [
"Programming Language :: Python :: 3.12",
"Topic :: System :: Monitoring",
]
requires-python = "~=3.10"
requires-python = ">=3.10,<4"

# The dependencies should be modified in place in the generated file.
# Any change in the dependencies is preserved when the file is regenerated
Expand Down
2 changes: 1 addition & 1 deletion providers/apache/spark/pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ classifiers = [
"Programming Language :: Python :: 3.12",
"Topic :: System :: Monitoring",
]
requires-python = "~=3.10"
requires-python = ">=3.10,<4"

# The dependencies should be modified in place in the generated file.
# Any change in the dependencies is preserved when the file is regenerated
Expand Down
2 changes: 1 addition & 1 deletion providers/apache/tinkerpop/pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ classifiers = [
"Programming Language :: Python :: 3.12",
"Topic :: System :: Monitoring",
]
requires-python = "~=3.10"
requires-python = ">=3.10,<4"

# The dependencies should be modified in place in the generated file.
# Any change in the dependencies is preserved when the file is regenerated
Expand Down
2 changes: 1 addition & 1 deletion providers/apprise/pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ classifiers = [
"Programming Language :: Python :: 3.12",
"Topic :: System :: Monitoring",
]
requires-python = "~=3.10"
requires-python = ">=3.10,<4"

# The dependencies should be modified in place in the generated file.
# Any change in the dependencies is preserved when the file is regenerated
Expand Down
2 changes: 1 addition & 1 deletion providers/arangodb/pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ classifiers = [
"Programming Language :: Python :: 3.12",
"Topic :: System :: Monitoring",
]
requires-python = "~=3.10"
requires-python = ">=3.10,<4"

# The dependencies should be modified in place in the generated file.
# Any change in the dependencies is preserved when the file is regenerated
Expand Down
2 changes: 1 addition & 1 deletion providers/asana/pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ classifiers = [
"Programming Language :: Python :: 3.12",
"Topic :: System :: Monitoring",
]
requires-python = "~=3.10"
requires-python = ">=3.10,<4"

# The dependencies should be modified in place in the generated file.
# Any change in the dependencies is preserved when the file is regenerated
Expand Down
2 changes: 1 addition & 1 deletion providers/atlassian/jira/pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ classifiers = [
"Programming Language :: Python :: 3.12",
"Topic :: System :: Monitoring",
]
requires-python = "~=3.10"
requires-python = ">=3.10,<4"

# The dependencies should be modified in place in the generated file.
# Any change in the dependencies is preserved when the file is regenerated
Expand Down
2 changes: 1 addition & 1 deletion providers/celery/pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ classifiers = [
"Programming Language :: Python :: 3.12",
"Topic :: System :: Monitoring",
]
requires-python = "~=3.10"
requires-python = ">=3.10,<4"

# The dependencies should be modified in place in the generated file.
# Any change in the dependencies is preserved when the file is regenerated
Expand Down
2 changes: 1 addition & 1 deletion providers/cloudant/pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ classifiers = [
"Programming Language :: Python :: 3.12",
"Topic :: System :: Monitoring",
]
requires-python = "~=3.10"
requires-python = ">=3.10,<4"

# The dependencies should be modified in place in the generated file.
# Any change in the dependencies is preserved when the file is regenerated
Expand Down
2 changes: 1 addition & 1 deletion providers/cncf/kubernetes/pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ classifiers = [
"Programming Language :: Python :: 3.12",
"Topic :: System :: Monitoring",
]
requires-python = "~=3.10"
requires-python = ">=3.10,<4"

# The dependencies should be modified in place in the generated file.
# Any change in the dependencies is preserved when the file is regenerated
Expand Down
2 changes: 1 addition & 1 deletion providers/cohere/pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ classifiers = [
"Programming Language :: Python :: 3.12",
"Topic :: System :: Monitoring",
]
requires-python = "~=3.10"
requires-python = ">=3.10,<4"

# The dependencies should be modified in place in the generated file.
# Any change in the dependencies is preserved when the file is regenerated
Expand Down
2 changes: 1 addition & 1 deletion providers/common/compat/pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ classifiers = [
"Programming Language :: Python :: 3.12",
"Topic :: System :: Monitoring",
]
requires-python = "~=3.10"
requires-python = ">=3.10,<4"

# The dependencies should be modified in place in the generated file.
# Any change in the dependencies is preserved when the file is regenerated
Expand Down
2 changes: 1 addition & 1 deletion providers/common/io/pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ classifiers = [
"Programming Language :: Python :: 3.12",
"Topic :: System :: Monitoring",
]
requires-python = "~=3.10"
requires-python = ">=3.10,<4"

# The dependencies should be modified in place in the generated file.
# Any change in the dependencies is preserved when the file is regenerated
Expand Down
2 changes: 1 addition & 1 deletion providers/common/messaging/pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ classifiers = [
"Programming Language :: Python :: 3.12",
"Topic :: System :: Monitoring",
]
requires-python = "~=3.10"
requires-python = ">=3.10,<4"

# The dependencies should be modified in place in the generated file.
# Any change in the dependencies is preserved when the file is regenerated
Expand Down
2 changes: 1 addition & 1 deletion providers/common/sql/pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ classifiers = [
"Programming Language :: Python :: 3.12",
"Topic :: System :: Monitoring",
]
requires-python = "~=3.10"
requires-python = ">=3.10,<4"

# The dependencies should be modified in place in the generated file.
# Any change in the dependencies is preserved when the file is regenerated
Expand Down
2 changes: 1 addition & 1 deletion providers/databricks/pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ classifiers = [
"Programming Language :: Python :: 3.12",
"Topic :: System :: Monitoring",
]
requires-python = "~=3.10"
requires-python = ">=3.10,<4"

# The dependencies should be modified in place in the generated file.
# Any change in the dependencies is preserved when the file is regenerated
Expand Down
2 changes: 1 addition & 1 deletion providers/datadog/pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ classifiers = [
"Programming Language :: Python :: 3.12",
"Topic :: System :: Monitoring",
]
requires-python = "~=3.10"
requires-python = ">=3.10,<4"

# The dependencies should be modified in place in the generated file.
# Any change in the dependencies is preserved when the file is regenerated
Expand Down
2 changes: 1 addition & 1 deletion providers/dbt/cloud/pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ classifiers = [
"Programming Language :: Python :: 3.12",
"Topic :: System :: Monitoring",
]
requires-python = "~=3.10"
requires-python = ">=3.10,<4"

# The dependencies should be modified in place in the generated file.
# Any change in the dependencies is preserved when the file is regenerated
Expand Down
2 changes: 1 addition & 1 deletion providers/dingding/pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ classifiers = [
"Programming Language :: Python :: 3.12",
"Topic :: System :: Monitoring",
]
requires-python = "~=3.10"
requires-python = ">=3.10,<4"

# The dependencies should be modified in place in the generated file.
# Any change in the dependencies is preserved when the file is regenerated
Expand Down
2 changes: 1 addition & 1 deletion providers/discord/pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ classifiers = [
"Programming Language :: Python :: 3.12",
"Topic :: System :: Monitoring",
]
requires-python = "~=3.10"
requires-python = ">=3.10,<4"

# The dependencies should be modified in place in the generated file.
# Any change in the dependencies is preserved when the file is regenerated
Expand Down
2 changes: 1 addition & 1 deletion providers/docker/pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ classifiers = [
"Programming Language :: Python :: 3.12",
"Topic :: System :: Monitoring",
]
requires-python = "~=3.10"
requires-python = ">=3.10,<4"

# The dependencies should be modified in place in the generated file.
# Any change in the dependencies is preserved when the file is regenerated
Expand Down
2 changes: 1 addition & 1 deletion providers/edge3/pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ classifiers = [
"Programming Language :: Python :: 3.12",
"Topic :: System :: Monitoring",
]
requires-python = "~=3.10"
requires-python = ">=3.10,<4"

# The dependencies should be modified in place in the generated file.
# Any change in the dependencies is preserved when the file is regenerated
Expand Down
2 changes: 1 addition & 1 deletion providers/elasticsearch/pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ classifiers = [
"Programming Language :: Python :: 3.12",
"Topic :: System :: Monitoring",
]
requires-python = "~=3.10"
requires-python = ">=3.10,<4"

# The dependencies should be modified in place in the generated file.
# Any change in the dependencies is preserved when the file is regenerated
Expand Down
Loading