Skip to content

Commit 59fb3a3

Browse files
committed
adding the starlette constraint back
1 parent bebe3b6 commit 59fb3a3

3 files changed

Lines changed: 8 additions & 5 deletions

File tree

requirements/base.txt

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -342,8 +342,10 @@ sniffio==1.3.1
342342
# via anyio
343343
soupsieve==2.8
344344
# via beautifulsoup4
345-
starlette==0.47.3
346-
# via fastapi
345+
starlette==0.41.2
346+
# via
347+
# -c requirements/constraints.in
348+
# fastapi
347349
sympy==1.14.0
348350
# via
349351
# onnxruntime
@@ -387,7 +389,6 @@ typing-extensions==4.15.0
387389
# python-docx
388390
# python-oxmsg
389391
# python-pptx
390-
# starlette
391392
# torch
392393
# typing-inspect
393394
# typing-inspection

requirements/constraints.in

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,3 +4,5 @@
44
# words, if something does not require a constraint, it will not be installed.
55
####################################################################################################
66
numpy<2.0.0
7+
# later versions of Starlette break middleware
8+
starlette==0.41.2

requirements/test.txt

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -797,8 +797,9 @@ soupsieve==2.8
797797
# beautifulsoup4
798798
stack-data==0.6.3
799799
# via ipython
800-
starlette==0.47.3
800+
starlette==0.41.2
801801
# via
802+
# -c requirements/constraints.in
802803
# -r requirements/base.txt
803804
# fastapi
804805
sympy==1.14.0
@@ -899,7 +900,6 @@ typing-extensions==4.15.0
899900
# python-oxmsg
900901
# python-pptx
901902
# referencing
902-
# starlette
903903
# torch
904904
# typing-inspect
905905
# typing-inspection

0 commit comments

Comments
 (0)