Skip to content

Commit

Permalink
Install pydantic v1 with pip
Browse files Browse the repository at this point in the history
  • Loading branch information
Salamandar committed Nov 5, 2024
1 parent 5e83159 commit 52ebed1
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions trixie
Original file line number Diff line number Diff line change
Expand Up @@ -566,6 +566,13 @@ function boring_workarounds() {
curl http://ftp.it.debian.org/debian/pool/main/l/lexicon/python3-lexicon_3.17.0-1_all.deb -o /tmp/python3-lexicon_3.17.0-1_all.deb
apt_install /tmp/python3-lexicon_3.17.0-1_all.deb

# ############################################# #
# python3-pydantic is v2, we need v1 for now... #
# ############################################# #
# Install pydantic v1 with pip
apt_install python3-pip
pip install --break-system-packages "pydantic<2.0"

# Done
printf "$resetline $bold${green}Done$normal"
}
Expand Down

0 comments on commit 52ebed1

Please sign in to comment.