Skip to content

Commit bed2a5b

Browse files
committed
Pin pydantic
1 parent 5e2ed70 commit bed2a5b

File tree

5 files changed

+7
-17
lines changed

5 files changed

+7
-17
lines changed

constraints.in

+1
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
pydantic < 2

dev-requirements.txt

+2-10
Original file line numberDiff line numberDiff line change
@@ -31,10 +31,6 @@ aniso8601==9.0.1
3131
# -c /tmp/requirements/requirements.txt
3232
# -r /tmp/requirements/requirements.in
3333
# graphene
34-
annotated-types==0.6.0
35-
# via
36-
# -c /tmp/requirements/requirements.txt
37-
# pydantic
3834
anyio==3.7.1
3935
# via
4036
# -c /tmp/requirements/requirements.txt
@@ -262,15 +258,12 @@ pycparser==2.21
262258
# via
263259
# -c /tmp/requirements/requirements.txt
264260
# cffi
265-
pydantic==2.5.2
261+
pydantic==1.10.13
266262
# via
263+
# -c /tmp/requirements/constraints.in
267264
# -c /tmp/requirements/requirements.txt
268265
# -r /tmp/requirements/requirements.in
269266
# fastapi
270-
pydantic-core==2.14.5
271-
# via
272-
# -c /tmp/requirements/requirements.txt
273-
# pydantic
274267
pygments==2.17.2
275268
# via ipython
276269
pyjwt==2.8.0
@@ -376,7 +369,6 @@ typing-extensions==4.9.0
376369
# -r /tmp/requirements/requirements.in
377370
# fastapi
378371
# pydantic
379-
# pydantic-core
380372
tzdata==2023.3
381373
# via
382374
# -c /tmp/requirements/requirements.txt

flowkit_ui_backend/models/heartbeat.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ class Heartbeat(BaseModel):
3535
python_version: The python_version of this Heartbeat [Optional].
3636
"""
3737

38-
datetime: Optional[datetime] = None
38+
datetime: Optional[datetime] = None # this breaks pydantic at least as far as 2.5.2
3939
docker_image: Optional[str] = None
4040
git_branch: Optional[str] = None
4141
git_commit: Optional[str] = None

requirements.in

+1
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
-c constraints.in
12
aiocsv
23
aiofiles
34
aiohttp

requirements.txt

+2-6
Original file line numberDiff line numberDiff line change
@@ -20,8 +20,6 @@ aniso8601==9.0.1
2020
# via
2121
# -r /tmp/requirements/requirements.in
2222
# graphene
23-
annotated-types==0.6.0
24-
# via pydantic
2523
anyio==3.7.1
2624
# via
2725
# fastapi
@@ -136,12 +134,11 @@ pyasn1==0.5.1
136134
# rsa
137135
pycparser==2.21
138136
# via cffi
139-
pydantic==2.5.2
137+
pydantic==1.10.13
140138
# via
139+
# -c /tmp/requirements/constraints.in
141140
# -r /tmp/requirements/requirements.in
142141
# fastapi
143-
pydantic-core==2.14.5
144-
# via pydantic
145142
pyjwt==2.8.0
146143
# via auth0-python
147144
pymysql==1.1.0
@@ -193,7 +190,6 @@ typing-extensions==4.9.0
193190
# -r /tmp/requirements/requirements.in
194191
# fastapi
195192
# pydantic
196-
# pydantic-core
197193
tzdata==2023.3
198194
# via pendulum
199195
ujson==5.9.0

0 commit comments

Comments
 (0)