File tree 3 files changed +8
-8
lines changed
packages/calitp-data-infra
3 files changed +8
-8
lines changed Original file line number Diff line number Diff line change 28
28
import humanize
29
29
import pendulum
30
30
from google .cloud import storage # type: ignore
31
- from pydantic import (
31
+ from pydantic . v1 import (
32
32
BaseModel ,
33
33
ConstrainedStr ,
34
34
Extra ,
37
37
ValidationError ,
38
38
validator ,
39
39
)
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
42
42
from requests import Request , Session
43
43
from typing_extensions import Annotated , Literal
44
44
Original file line number Diff line number Diff line change 1
1
[tool .poetry ]
2
2
name = " calitp-data-infra"
3
- version = " 2025.1.30 "
3
+ version = " 2025.2.4 "
4
4
description = " Shared code for developing data pipelines that process Cal-ITP data."
5
5
package-mode = true
6
6
authors = [" Andrew Vaccaro" ]
7
7
8
8
[tool .poetry .dependencies ]
9
9
python = " >=3.8,<3.12"
10
10
# Some of these are pinned oddly to play nicely with Composer
11
- pydantic = " ~ 1.9"
11
+ pydantic = " > 1.9"
12
12
tqdm = " ^4.64.1"
13
- pendulum = " ^ 2.1.2"
13
+ pendulum = " > 2.1.2"
14
14
humanize = " ^4.6.0"
15
15
backoff = " ^2.2.1"
16
16
google-api-core = " >=1.31.4"
17
17
typing-extensions = " >=3.10.0.2"
18
- google-cloud-secret-manager = " 2.16.4"
18
+ google-cloud-secret-manager = " > 2.16.4"
19
19
gcsfs = " !=2022.7.1"
20
20
21
21
[tool .poetry .group .dev .dependencies ]
Original file line number Diff line number Diff line change 1
1
import pendulum
2
2
import pytest
3
3
from calitp_data_infra .storage import GTFSDownloadConfig
4
- from pydantic import ValidationError
4
+ from pydantic . v1 import ValidationError
5
5
6
6
7
7
def test_gtfs_download_config () -> None :
You can’t perform that action at this time.
0 commit comments