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

Limit pandas to <2.2 #37748

Merged
merged 1 commit into from
Feb 27, 2024
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
6 changes: 5 additions & 1 deletion airflow/providers/amazon/provider.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -100,7 +100,11 @@ dependencies:
additional-extras:
- name: pandas
dependencies:
- pandas>=1.2.5
# In pandas 2.2 minimal version of the sqlalchemy is 2.0
# https://pandas.pydata.org/docs/whatsnew/v2.2.0.html#increased-minimum-versions-for-dependencies
# However Airflow not fully supports it yet: https://github.com/apache/airflow/issues/28723
# In addition FAB also limit sqlalchemy to < 2.0
- pandas>=1.2.5,<2.2
# There is conflict between boto3 and aiobotocore dependency botocore.
# TODO: We can remove it once boto3 and aiobotocore both have compatible botocore version or
# boto3 have native async support and we move away from aio aiobotocore
Expand Down
6 changes: 5 additions & 1 deletion airflow/providers/apache/hive/provider.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,11 @@ dependencies:
- apache-airflow>=2.6.0
- apache-airflow-providers-common-sql>=1.3.1
- hmsclient>=0.1.0
- pandas>=1.2.5
# In pandas 2.2 minimal version of the sqlalchemy is 2.0
# https://pandas.pydata.org/docs/whatsnew/v2.2.0.html#increased-minimum-versions-for-dependencies
# However Airflow not fully supports it yet: https://github.com/apache/airflow/issues/28723
# In addition FAB also limit sqlalchemy to < 2.0
- pandas>=1.2.5,<2.2
- pyhive[hive_pure_sasl]>=0.7.0
- thrift>=0.9.2

Expand Down
6 changes: 5 additions & 1 deletion airflow/providers/common/sql/provider.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,11 @@ dependencies:
additional-extras:
- name: pandas
dependencies:
- pandas>=1.2.5
# In pandas 2.2 minimal version of the sqlalchemy is 2.0
# https://pandas.pydata.org/docs/whatsnew/v2.2.0.html#increased-minimum-versions-for-dependencies
# However Airflow not fully supports it yet: https://github.com/apache/airflow/issues/28723
# In addition FAB also limit sqlalchemy to < 2.0
- pandas>=1.2.5,<2.2

integrations:
- integration-name: Common SQL
Expand Down
6 changes: 5 additions & 1 deletion airflow/providers/exasol/provider.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,11 @@ dependencies:
- apache-airflow>=2.6.0
- apache-airflow-providers-common-sql>=1.10.0
- pyexasol>=0.5.1
- pandas>=1.2.5
# In pandas 2.2 minimal version of the sqlalchemy is 2.0
# https://pandas.pydata.org/docs/whatsnew/v2.2.0.html#increased-minimum-versions-for-dependencies
# However Airflow not fully supports it yet: https://github.com/apache/airflow/issues/28723
# In addition FAB also limit sqlalchemy to < 2.0
- pandas>=1.2.5,<2.2

integrations:
- integration-name: Exasol
Expand Down
6 changes: 5 additions & 1 deletion airflow/providers/google/provider.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -147,7 +147,11 @@ dependencies:
- json-merge-patch>=0.2
- looker-sdk>=22.2.0
- pandas-gbq
- pandas>=1.2.5
# In pandas 2.2 minimal version of the sqlalchemy is 2.0
# https://pandas.pydata.org/docs/whatsnew/v2.2.0.html#increased-minimum-versions-for-dependencies
# However Airflow not fully supports it yet: https://github.com/apache/airflow/issues/28723
# In addition FAB also limit sqlalchemy to < 2.0
- pandas>=1.2.5,<2.2
# A transient dependency of google-cloud-bigquery-datatransfer, but we
# further constrain it since older versions are buggy.
- proto-plus>=1.19.6
Expand Down
6 changes: 5 additions & 1 deletion airflow/providers/presto/provider.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,11 @@ dependencies:
- apache-airflow>=2.6.0
- apache-airflow-providers-common-sql>=1.3.1
- presto-python-client>=0.8.4
- pandas>=1.2.5
# In pandas 2.2 minimal version of the sqlalchemy is 2.0
# https://pandas.pydata.org/docs/whatsnew/v2.2.0.html#increased-minimum-versions-for-dependencies
# However Airflow not fully supports it yet: https://github.com/apache/airflow/issues/28723
# In addition FAB also limit sqlalchemy to < 2.0
- pandas>=1.2.5,<2.2

integrations:
- integration-name: Presto
Expand Down
6 changes: 5 additions & 1 deletion airflow/providers/salesforce/provider.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,11 @@ versions:
dependencies:
- apache-airflow>=2.6.0
- simple-salesforce>=1.0.0
- pandas>=1.2.5
# In pandas 2.2 minimal version of the sqlalchemy is 2.0
# https://pandas.pydata.org/docs/whatsnew/v2.2.0.html#increased-minimum-versions-for-dependencies
# However Airflow not fully supports it yet: https://github.com/apache/airflow/issues/28723
# In addition FAB also limit sqlalchemy to < 2.0
- pandas>=1.2.5,<2.2

integrations:
- integration-name: Salesforce
Expand Down
6 changes: 5 additions & 1 deletion airflow/providers/trino/provider.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,11 @@ versions:
dependencies:
- apache-airflow>=2.6.0
- apache-airflow-providers-common-sql>=1.3.1
- pandas>=1.2.5
# In pandas 2.2 minimal version of the sqlalchemy is 2.0
# https://pandas.pydata.org/docs/whatsnew/v2.2.0.html#increased-minimum-versions-for-dependencies
# However Airflow not fully supports it yet: https://github.com/apache/airflow/issues/28723
# In addition FAB also limit sqlalchemy to < 2.0
- pandas>=1.2.5,<2.2
- trino>=0.318.0

integrations:
Expand Down
6 changes: 5 additions & 1 deletion airflow/providers/weaviate/provider.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,11 @@ integrations:
dependencies:
- apache-airflow>=2.6.0
- weaviate-client>=3.24.2
- pandas>=1.2.5
# In pandas 2.2 minimal version of the sqlalchemy is 2.0
# https://pandas.pydata.org/docs/whatsnew/v2.2.0.html#increased-minimum-versions-for-dependencies
# However Airflow not fully supports it yet: https://github.com/apache/airflow/issues/28723
# In addition FAB also limit sqlalchemy to < 2.0
- pandas>=1.2.5,<2.2

hooks:
- integration-name: Weaviate
Expand Down
14 changes: 7 additions & 7 deletions generated/provider_dependencies.json
Original file line number Diff line number Diff line change
Expand Up @@ -148,7 +148,7 @@
"apache-airflow-providers-common-sql>=1.3.1",
"apache-airflow>=2.6.0",
"hmsclient>=0.1.0",
"pandas>=1.2.5",
"pandas>=1.2.5,<2.2",
"pyhive[hive_pure_sasl]>=0.7.0",
"thrift>=0.9.2"
],
Expand Down Expand Up @@ -455,7 +455,7 @@
"deps": [
"apache-airflow-providers-common-sql>=1.10.0",
"apache-airflow>=2.6.0",
"pandas>=1.2.5",
"pandas>=1.2.5,<2.2",
"pyexasol>=0.5.1"
],
"devel-deps": [],
Expand Down Expand Up @@ -566,7 +566,7 @@
"json-merge-patch>=0.2",
"looker-sdk>=22.2.0",
"pandas-gbq",
"pandas>=1.2.5",
"pandas>=1.2.5,<2.2",
"proto-plus>=1.19.6",
"sqlalchemy-bigquery>=1.2.1",
"sqlalchemy-spanner>=1.6.2"
Expand Down Expand Up @@ -932,7 +932,7 @@
"deps": [
"apache-airflow-providers-common-sql>=1.3.1",
"apache-airflow>=2.6.0",
"pandas>=1.2.5",
"pandas>=1.2.5,<2.2",
"presto-python-client>=0.8.4"
],
"devel-deps": [],
Expand Down Expand Up @@ -966,7 +966,7 @@
"salesforce": {
"deps": [
"apache-airflow>=2.6.0",
"pandas>=1.2.5",
"pandas>=1.2.5,<2.2",
"simple-salesforce>=1.0.0"
],
"devel-deps": [],
Expand Down Expand Up @@ -1140,7 +1140,7 @@
"deps": [
"apache-airflow-providers-common-sql>=1.3.1",
"apache-airflow>=2.6.0",
"pandas>=1.2.5",
"pandas>=1.2.5,<2.2",
"trino>=0.318.0"
],
"devel-deps": [],
Expand Down Expand Up @@ -1168,7 +1168,7 @@
"weaviate": {
"deps": [
"apache-airflow>=2.6.0",
"pandas>=1.2.5",
"pandas>=1.2.5,<2.2",
"weaviate-client>=3.24.2"
],
"devel-deps": [],
Expand Down
20 changes: 12 additions & 8 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -214,7 +214,11 @@ otel = [
"opentelemetry-exporter-prometheus",
]
pandas = [
"pandas>=1.2.5",
# In pandas 2.2 minimal version of the sqlalchemy is 2.0
# https://pandas.pydata.org/docs/whatsnew/v2.2.0.html#increased-minimum-versions-for-dependencies
# However Airflow not fully supports it yet: https://github.com/apache/airflow/issues/28723
# In addition FAB also limit sqlalchemy to < 2.0
"pandas>=1.2.5,<2.2",
]
password = [
"bcrypt>=2.0.0",
Expand Down Expand Up @@ -593,7 +597,7 @@ apache-hdfs = [ # source: airflow/providers/apache/hdfs/provider.yaml
apache-hive = [ # source: airflow/providers/apache/hive/provider.yaml
"apache-airflow[common_sql]",
"hmsclient>=0.1.0",
"pandas>=1.2.5",
"pandas>=1.2.5,<2.2",
"pyhive[hive_pure_sasl]>=0.7.0",
"thrift>=0.9.2",
]
Expand Down Expand Up @@ -690,7 +694,7 @@ elasticsearch = [ # source: airflow/providers/elasticsearch/provider.yaml
]
exasol = [ # source: airflow/providers/exasol/provider.yaml
"apache-airflow[common_sql]",
"pandas>=1.2.5",
"pandas>=1.2.5,<2.2",
"pyexasol>=0.5.1",
]
fab = [ # source: airflow/providers/fab/provider.yaml
Expand Down Expand Up @@ -761,7 +765,7 @@ google = [ # source: airflow/providers/google/provider.yaml
"json-merge-patch>=0.2",
"looker-sdk>=22.2.0",
"pandas-gbq",
"pandas>=1.2.5",
"pandas>=1.2.5,<2.2",
"proto-plus>=1.19.6",
"sqlalchemy-bigquery>=1.2.1",
"sqlalchemy-spanner>=1.6.2",
Expand Down Expand Up @@ -886,7 +890,7 @@ postgres = [ # source: airflow/providers/postgres/provider.yaml
]
presto = [ # source: airflow/providers/presto/provider.yaml
"apache-airflow[common_sql]",
"pandas>=1.2.5",
"pandas>=1.2.5,<2.2",
"presto-python-client>=0.8.4",
]
qdrant = [ # source: airflow/providers/qdrant/provider.yaml
Expand All @@ -896,7 +900,7 @@ redis = [ # source: airflow/providers/redis/provider.yaml
"redis>=4.5.2,<5.0.0,!=4.5.5",
]
salesforce = [ # source: airflow/providers/salesforce/provider.yaml
"pandas>=1.2.5",
"pandas>=1.2.5,<2.2",
"simple-salesforce>=1.0.0",
]
samba = [ # source: airflow/providers/samba/provider.yaml
Expand Down Expand Up @@ -950,15 +954,15 @@ teradata = [ # source: airflow/providers/teradata/provider.yaml
]
trino = [ # source: airflow/providers/trino/provider.yaml
"apache-airflow[common_sql]",
"pandas>=1.2.5",
"pandas>=1.2.5,<2.2",
"trino>=0.318.0",
]
vertica = [ # source: airflow/providers/vertica/provider.yaml
"apache-airflow[common_sql]",
"vertica-python>=0.5.1",
]
weaviate = [ # source: airflow/providers/weaviate/provider.yaml
"pandas>=1.2.5",
"pandas>=1.2.5,<2.2",
"weaviate-client>=3.24.2",
]
yandex = [ # source: airflow/providers/yandex/provider.yaml
Expand Down