Skip to content

Commit c6abea5

Browse files
committed
Update calitp-data-infra package dependencies for latest Cloud Composer image compatibility
1 parent ecbb0c0 commit c6abea5

File tree

3 files changed

+8
-8
lines changed

3 files changed

+8
-8
lines changed

packages/calitp-data-infra/calitp_data_infra/storage.py

+3-3
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@
2828
import humanize
2929
import pendulum
3030
from google.cloud import storage # type: ignore
31-
from pydantic import (
31+
from pydantic.v1 import (
3232
BaseModel,
3333
ConstrainedStr,
3434
Extra,
@@ -37,8 +37,8 @@
3737
ValidationError,
3838
validator,
3939
)
40-
from pydantic.class_validators import root_validator
41-
from pydantic.tools import parse_obj_as
40+
from pydantic.v1.class_validators import root_validator
41+
from pydantic.v1.tools import parse_obj_as
4242
from requests import Request, Session
4343
from typing_extensions import Annotated, Literal
4444

packages/calitp-data-infra/pyproject.toml

+4-4
Original file line numberDiff line numberDiff line change
@@ -1,21 +1,21 @@
11
[tool.poetry]
22
name = "calitp-data-infra"
3-
version = "2025.1.30"
3+
version = "2025.2.4"
44
description = "Shared code for developing data pipelines that process Cal-ITP data."
55
package-mode = true
66
authors = ["Andrew Vaccaro"]
77

88
[tool.poetry.dependencies]
99
python = ">=3.8,<3.12"
1010
# Some of these are pinned oddly to play nicely with Composer
11-
pydantic = "~1.9"
11+
pydantic = ">1.9"
1212
tqdm = "^4.64.1"
13-
pendulum = "^2.1.2"
13+
pendulum = ">2.1.2"
1414
humanize = "^4.6.0"
1515
backoff = "^2.2.1"
1616
google-api-core = ">=1.31.4"
1717
typing-extensions = ">=3.10.0.2"
18-
google-cloud-secret-manager = "2.16.4"
18+
google-cloud-secret-manager = ">2.16.4"
1919
gcsfs = "!=2022.7.1"
2020

2121
[tool.poetry.group.dev.dependencies]

packages/calitp-data-infra/tests/test_storage.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
import pendulum
22
import pytest
33
from calitp_data_infra.storage import GTFSDownloadConfig
4-
from pydantic import ValidationError
4+
from pydantic.v1 import ValidationError
55

66

77
def test_gtfs_download_config() -> None:

0 commit comments

Comments
 (0)