Rodrigo Schmidt Nurmberg commited on
Commit
335beaf
·
1 Parent(s): bfca6db

deps: Pin Pydantic to <2.9.0

Browse files

A loose dependency on Pydantic (>=2.0) could pull in incompatible
newer versions, leading to a critical startup error. This manifested
as a "TypeError: bool is not iterable".

This commit pins the requirement to `<2.9.0` to ensure compatibility
with the current Gradio version. Version 2.8.x was the latest stable
series at the time of the Gradio 4.44.1 release.

Refs: gradio/gradio#10649, gradio/gradio#10662

Files changed (1) hide show
  1. requirements.txt +1 -0
requirements.txt CHANGED
@@ -1 +1,2 @@
1
  grote>=0.1.11
 
 
1
  grote>=0.1.11
2
+ pydantic<2.9.0