Skip to content

Commit 52ebed1

Browse files
committed
Install pydantic v1 with pip
1 parent 5e83159 commit 52ebed1

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

trixie

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -566,6 +566,13 @@ function boring_workarounds() {
566566
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
567567
apt_install /tmp/python3-lexicon_3.17.0-1_all.deb
568568

569+
# ############################################# #
570+
# python3-pydantic is v2, we need v1 for now... #
571+
# ############################################# #
572+
# Install pydantic v1 with pip
573+
apt_install python3-pip
574+
pip install --break-system-packages "pydantic<2.0"
575+
569576
# Done
570577
printf "$resetline $bold${green}Done$normal"
571578
}

0 commit comments

Comments
 (0)