Skip to content

Commit

Permalink
add pydantic>2
Browse files Browse the repository at this point in the history
Signed-off-by: Future-Outlier <[email protected]>
  • Loading branch information
Future-Outlier committed Nov 20, 2024
1 parent 844d2d3 commit 9a03f51
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 5 deletions.
2 changes: 1 addition & 1 deletion dev-requirements.in
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ coverage
pre-commit
codespell
mock
pydantic
pydantic>2
pytest
mypy
mashumaro
Expand Down
2 changes: 1 addition & 1 deletion examples/data_types_and_io/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ RUN python3 -m venv ${VENV}
ENV PATH="${VENV}/bin:$PATH"

RUN --mount=type=cache,sharing=locked,mode=0777,target=/root/.cache/pip,id=pip \
pip install flytekit pandas pyarrow pydantic
pip install flytekit pandas pyarrow pydantic>2
RUN --mount=type=cache,sharing=locked,mode=0777,target=/root/.cache/pip,id=pip \
pip install torch --index-url https://download.pytorch.org/whl/cpu

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,9 +3,8 @@

image_spec = ImageSpec(
registry="ghcr.io/flyteorg",
packages=["pydantic"],
packages=["pydantic>2"],
)
image_spec = "localhost:30000/flytekit:dev"


@task(container_image=image_spec)
Expand Down
2 changes: 1 addition & 1 deletion examples/data_types_and_io/requirements.in
Original file line number Diff line number Diff line change
Expand Up @@ -3,4 +3,4 @@ torch
tabulate
tensorflow
pyarrow
pydantic
pydantic>2

0 comments on commit 9a03f51

Please sign in to comment.