Skip to content

Commit

Permalink
fix: support pydantic 2.7.0
Browse files Browse the repository at this point in the history
  • Loading branch information
tazlin committed Apr 12, 2024
1 parent eb4283e commit 482337c
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -41,6 +41,6 @@ repos:
- torch
- ruamel.yaml
- hordelib==2.8.1
- horde_sdk==0.9.2
- horde_sdk==0.9.3
- horde_model_reference==0.6.3
- semver
2 changes: 1 addition & 1 deletion horde-bridge.cmd
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ cd /d %~dp0
: This first call to runtime activates the environment for the rest of the script
call runtime python -s -m pip -V

call python -s -m pip install horde_sdk~=0.9.2 horde_model_reference~=0.6.3 hordelib~=2.8.1 -U
call python -s -m pip install horde_sdk~=0.9.3 horde_model_reference~=0.6.3 hordelib~=2.8.1 -U
if %ERRORLEVEL% NEQ 0 (
echo "Please run update-runtime.cmd."
GOTO END
Expand Down
4 changes: 2 additions & 2 deletions requirements.txt
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
torch>=2.1.2

horde_sdk~=0.9.2
horde_sdk~=0.9.3
horde_safety~=0.2.3
hordelib~=2.8.1
horde_model_reference~=0.6.3
Expand All @@ -11,7 +11,7 @@ semver

python-Levenshtein

pydantic==2.6.4
pydantic~=2.7.0
typing_extensions
requests
StrEnum
Expand Down

0 comments on commit 482337c

Please sign in to comment.