Skip to content

Commit

Permalink
(DE-420) update deprecated packages (#3178)
Browse files Browse the repository at this point in the history
* (DE-420) update deprecated packages

* add sqlfluff

* remove sqlfluff from dbt requirements

* add dbt
  • Loading branch information
LucileRainteau authored Sep 20, 2024
1 parent c00d13a commit 7bff95b
Show file tree
Hide file tree
Showing 4 changed files with 17 additions and 68 deletions.
19 changes: 9 additions & 10 deletions orchestration/airflow/orchestration-requirements.in
Original file line number Diff line number Diff line change
@@ -1,17 +1,16 @@
--constraint https://raw.githubusercontent.com/apache/airflow/constraints-2.9.1/constraints-3.10.txt
apache-airflow[gcp]==2.9.1
sshtunnel~=0.4
sshtunnel==0.4.0
# tests
pytest~=7.4
pytest-cov==5.0
mock~=4.0.2
apache-airflow-providers-ssh~=3.7
apache-airflow-providers-mysql~=5.1
apache-airflow-providers-postgres~=5.2
google-cloud-secret-manager~=2.16
pytest==7.4.4
pytest-cov==5.0.0
mock==4.0.2
apache-airflow-providers-ssh==3.10.1
apache-airflow-providers-mysql==5.5.4
apache-airflow-providers-postgres==5.10.2
google-cloud-secret-manager==2.20.0
# extras
psycopg2-binary>=2.8
# addons
psycopg2-binary==2.9.9
dbt-core==1.8.6
dbt-bigquery==1.8.1
sqlfluff==3.1.1
Expand Down
14 changes: 7 additions & 7 deletions orchestration/airflow/orchestration-requirements.txt
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# This file was autogenerated by uv via the following command:
# uv pip compile orchestration-requirements.in -o orchestration-requirements.txt --python-platform=linux
agate==1.7.1
agate==1.9.1
# via
# dbt-adapters
# dbt-common
Expand Down Expand Up @@ -236,13 +236,13 @@ db-dtypes==1.2.0
# -c https://raw.githubusercontent.com/apache/airflow/constraints-2.9.1/constraints-3.10.txt
# google-cloud-bigquery
# pandas-gbq
dbt-adapters==1.4.1
dbt-adapters==1.6.1
# via
# dbt-bigquery
# dbt-core
dbt-bigquery==1.8.1
# via -r orchestration-requirements.in
dbt-common==1.7.0
dbt-common==1.9.0
# via
# dbt-adapters
# dbt-bigquery
Expand Down Expand Up @@ -270,7 +270,7 @@ deprecated==1.2.14
# opentelemetry-api
# opentelemetry-exporter-otlp-proto-grpc
# opentelemetry-exporter-otlp-proto-http
diff-cover==9.1.1
diff-cover==9.2.0
# via sqlfluff
dill==0.3.1.1
# via
Expand Down Expand Up @@ -924,14 +924,14 @@ methodtools==0.4.7
# apache-airflow
minimal-snowplow-tracker==0.0.2
# via dbt-core
mock==4.0.3
mock==4.0.2
# via -r orchestration-requirements.in
more-itertools==10.2.0
# via
# -c https://raw.githubusercontent.com/apache/airflow/constraints-2.9.1/constraints-3.10.txt
# apache-airflow-providers-common-sql
# dbt-semantic-interfaces
msgpack==1.0.5
msgpack==1.1.0
# via mashumaro
multidict==6.0.5
# via
Expand Down Expand Up @@ -1422,7 +1422,7 @@ tabulate==0.9.0
# via
# -c https://raw.githubusercontent.com/apache/airflow/constraints-2.9.1/constraints-3.10.txt
# apache-airflow
tblib==2.0.0
tblib==3.0.0
# via sqlfluff
tenacity==8.2.3
# via
Expand Down
2 changes: 0 additions & 2 deletions orchestration/dags/data_gcp_dbt/dbt-requirements.in
Original file line number Diff line number Diff line change
@@ -1,6 +1,4 @@
dbt-core==1.8.6
dbt-bigquery==1.8.1
click==8.0.2
sqlfluff==3.1.1
sqlfluff-templater-dbt==3.1.1
elementary-data[bigquery]==0.16.1
50 changes: 1 addition & 49 deletions orchestration/dags/data_gcp_dbt/dbt-requirements.txt
Original file line number Diff line number Diff line change
Expand Up @@ -11,8 +11,6 @@ alive-progress==2.3.1
# via elementary-data
annotated-types==0.7.0
# via pydantic
appdirs==1.4.4
# via sqlfluff
attrs==23.2.0
# via
# jsonschema
Expand All @@ -39,10 +37,6 @@ certifi==2024.7.4
# via requests
cffi==1.17.1
# via cryptography
chardet==5.2.0
# via
# diff-cover
# sqlfluff
charset-normalizer==3.3.2
# via requests
click==8.0.2
Expand All @@ -51,11 +45,8 @@ click==8.0.2
# dbt-core
# dbt-semantic-interfaces
# elementary-data
# sqlfluff
colorama==0.4.6
# via
# dbt-common
# sqlfluff
# via dbt-common
cryptography==43.0.1
# via azure-storage-blob
daff==1.3.46
Expand All @@ -80,19 +71,14 @@ dbt-core==1.8.6
# -r dbt-requirements.in
# dbt-bigquery
# elementary-data
# sqlfluff-templater-dbt
dbt-extractor==0.5.1
# via dbt-core
dbt-semantic-interfaces==0.5.1
# via dbt-core
deepdiff==7.0.1
# via dbt-common
diff-cover==9.1.1
# via sqlfluff
elementary-data==0.16.1
# via -r dbt-requirements.in
exceptiongroup==1.2.2
# via pytest
future==1.0.0
# via parsedatetime
google-api-core==2.19.1
Expand Down Expand Up @@ -150,8 +136,6 @@ idna==3.7
# via requests
importlib-metadata==6.11.0
# via dbt-semantic-interfaces
iniconfig==2.0.0
# via pytest
isodate==0.6.1
# via
# agate
Expand All @@ -162,11 +146,6 @@ jinja2==3.1.4
# dbt-common
# dbt-core
# dbt-semantic-interfaces
# diff-cover
# jinja2-simple-tags
# sqlfluff
jinja2-simple-tags==0.6.1
# via sqlfluff-templater-dbt
jmespath==1.0.1
# via
# boto3
Expand Down Expand Up @@ -213,7 +192,6 @@ packaging==24.0
# dbt-core
# elementary-data
# google-cloud-bigquery
# pytest
pandas==2.2.2
# via
# db-dtypes
Expand All @@ -225,11 +203,6 @@ pathspec==0.11.2
# via
# dbt-common
# dbt-core
# sqlfluff
pluggy==1.5.0
# via
# diff-cover
# pytest
posthog==2.5.0
# via elementary-data
proto-plus==1.24.0
Expand Down Expand Up @@ -267,12 +240,8 @@ pydantic-core==2.23.3
# via pydantic
pyfiglet==0.8.post1
# via elementary-data
pygments==2.18.0
# via diff-cover
pymsteams==0.2.3
# via elementary-data
pytest==8.3.2
# via sqlfluff
python-dateutil==2.8.2
# via
# botocore
Expand All @@ -294,15 +263,12 @@ pyyaml==6.0.1
# via
# dbt-core
# dbt-semantic-interfaces
# sqlfluff
ratelimit==2.2.1
# via elementary-data
referencing==0.35.1
# via
# jsonschema
# jsonschema-specifications
regex==2024.7.24
# via sqlfluff
requests==2.32.3
# via
# azure-core
Expand Down Expand Up @@ -338,26 +304,12 @@ slack-sdk==3.32.0
# via elementary-data
soupsieve==2.6
# via beautifulsoup4
sqlfluff==3.1.1
# via
# -r dbt-requirements.in
# sqlfluff-templater-dbt
sqlfluff-templater-dbt==3.1.1
# via -r dbt-requirements.in
sqlparse==0.5.1
# via dbt-core
tabulate==0.9.0
# via elementary-data
tblib==3.0.0
# via sqlfluff
text-unidecode==1.3
# via python-slugify
toml==0.10.2
# via sqlfluff
tomli==2.0.1
# via pytest
tqdm==4.66.5
# via sqlfluff
typing-extensions==4.12.2
# via
# azure-core
Expand Down

0 comments on commit 7bff95b

Please sign in to comment.