Skip to content

Commit a38d34d

Browse files
authored
chore: Upgrade all Python dependencies to latest versions (#184)
### Summary Upgrades all deployed Python dependencies with the exception of pyarrow. Pyarrow pinned @ 21.0.0 due to bug with s3 uploads. See #183. Fixes #178 Fixes #183 <!-- This is an auto-generated comment: release notes by coderabbit.ai --> ## Summary by CodeRabbit * **Chores** * Updated project dependencies for improved stability and compatibility. <sub>✏️ Tip: You can customize this high-level summary in your review settings.</sub> <!-- end of auto-generated comment: release notes by coderabbit.ai -->
1 parent 2d810b0 commit a38d34d

10 files changed

Lines changed: 3489 additions & 3109 deletions

File tree

elt-common/pyproject.toml

Lines changed: 14 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -9,14 +9,15 @@ description = "A set of common utility routines for data pipelines."
99
readme = "README.md"
1010
requires-python = ">=3.13"
1111
dependencies = [
12-
"dlt[parquet,s3]~=1.20.0",
13-
"pyiceberg~=0.9.1",
12+
"dlt[parquet,s3]>=1.20,<2",
13+
"pyarrow==21.0.0", # See https://github.com/ISISNeutronMuon/analytics-data-platform/issues/183
14+
"pyiceberg==0.9.1", # Upgrade when https://github.com/apache/iceberg-python/issues/2544 is fixed
1415
]
1516

1617

1718
[project.optional-dependencies]
18-
iceberg-maintenance = ["click~=8.2.1", "sqlalchemy~=2.0.43", "trino~=0.336.0"]
19-
m365 = ["authlib~=1.6.1", "httpx~=0.28.1", "tenacity~=9.1.2"]
19+
iceberg-maintenance = ["click>=8.2.1", "sqlalchemy>=2.0.43", "trino>=0.336.0"]
20+
m365 = ["authlib>=1.6.1", "httpx>=0.28.1", "tenacity>=9.1.2"]
2021

2122
[project.entry-points.pytest11]
2223
elt_common = "elt_common.testing.fixtures"
@@ -26,15 +27,15 @@ iceberg-maintenance = "elt_common.iceberg.maintenance:cli"
2627

2728
[dependency-groups]
2829
dev = [
29-
"minio~=7.2.16",
30-
"prek>=0.1.6",
31-
"pydantic-settings~=2.10.1",
32-
"pytest~=8.3.5",
33-
"pytest-httpx~=0.35.0",
34-
"pytest-mock~=3.14.1",
35-
"requests~=2.32.3",
36-
"requests-mock~=1.12.1",
37-
"ruff~=0.11.11",
30+
"minio>=7.2.20",
31+
"prek>=0.2.27",
32+
"pydantic-settings>=2.10.1",
33+
"pytest>=9.0.2",
34+
"pytest-httpx>=0.36.0",
35+
"pytest-mock>=3.15.1",
36+
"requests>=2.32.5",
37+
"requests-mock>=1.12.1",
38+
"ruff>=0.14.10",
3839
]
3940

4041

elt-common/uv.lock

Lines changed: 871 additions & 567 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

warehouses/accelerator/extract_load/accelerator_sharepoint/extract_and_load.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
# /// script
22
# requires-python = ">=3.13"
33
# dependencies = [
4-
# "openpyxl>=3.1.5,<3.2",
5-
# "pandas>=2.2.3,<2.3.0",
4+
# "openpyxl",
5+
# "pandas",
66
# "elt-common[m365]",
77
# ]
88
#

warehouses/accelerator/extract_load/accelerator_sharepoint/extract_and_load.py.lock

Lines changed: 797 additions & 559 deletions
Large diffs are not rendered by default.

warehouses/accelerator/extract_load/electricity_sharepoint/extract_and_load.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,9 @@
11
# /// script
22
# requires-python = ">=3.13"
33
# dependencies = [
4-
# "pandas~=2.3.1",
4+
# "pandas",
55
# "elt-common[m365]",
6-
# "python-calamine~=0.4.0",
6+
# "python-calamine",
77
# ]
88
#
99
# [tool.uv.sources]

warehouses/accelerator/extract_load/electricity_sharepoint/extract_and_load.py.lock

Lines changed: 817 additions & 558 deletions
Large diffs are not rendered by default.

warehouses/accelerator/extract_load/opralogweb/extract_and_load.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -3,10 +3,10 @@
33
# requires-python = "==3.13.*"
44
# dependencies = [
55
# "dlt[sql-database]",
6-
# "html2text==2025.4.15",
7-
# "pandas~=2.3.1",
6+
# "html2text",
7+
# "pandas",
88
# "elt-common",
9-
# "pymssql~=2.3.4",
9+
# "pymssql",
1010
# ]
1111
#
1212
# [tool.uv.sources]

warehouses/accelerator/extract_load/opralogweb/extract_and_load.py.lock

Lines changed: 503 additions & 713 deletions
Large diffs are not rendered by default.

warehouses/accelerator/extract_load/statusdisplay/extract_and_load.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
# /// script
33
# requires-python = "==3.13.*"
44
# dependencies = [
5-
# "pandas>=2.2.3,<2.3.0",
5+
# "pandas",
66
# "elt-common",
77
# ]
88
#

warehouses/accelerator/extract_load/statusdisplay/extract_and_load.py.lock

Lines changed: 479 additions & 691 deletions
Large diffs are not rendered by default.

0 commit comments

Comments
 (0)