Skip to content

Commit

Permalink
Merge pull request #222 from opensafely-core/pin-pydantic-2
Browse files Browse the repository at this point in the history
re-revert pydantic<2
  • Loading branch information
bloodearnest authored Nov 6, 2023
2 parents 7b586b8 + 775c1ae commit d8b791a
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion justfile
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ requirements-dev *args: requirements-prod


# ensure prod requirements installed and up to date
prodenv: virtualenv
prodenv: virtualenv requirements-prod
#!/usr/bin/env bash
# exit if .txt file has not changed since we installed them (-nt == "newer than', but we negate with || to avoid error exit code)
test requirements.prod.txt -nt $VIRTUAL_ENV/.prod || exit 0
Expand Down
2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ classifiers = [
]
requires-python = ">=3.8"
dependencies = [
"pydantic<3",
"pydantic<2",
"ruyaml",
]
dynamic = ["version"]
Expand Down
4 changes: 2 additions & 2 deletions requirements.prod.txt
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
#
# This file is autogenerated by pip-compile with Python 3.8
# by the following command:
# This file is autogenerated by pip-compile with python 3.8
# To update, run:
#
# pip-compile --allow-unsafe --output-file=requirements.prod.txt pyproject.toml
#
Expand Down

0 comments on commit d8b791a

Please sign in to comment.