Skip to content

Commit

Permalink
Add Lower Bound for httpcore
Browse files Browse the repository at this point in the history
  • Loading branch information
Bibo-Joshi committed Nov 23, 2023
1 parent da3bc69 commit b28e3f2
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions requirements.txt
Original file line number Diff line number Diff line change
Expand Up @@ -7,3 +7,9 @@

# httpx has no stable release yet, so let's be cautious for now
httpx ~= 0.25.1
# https://github.com/encode/httpx/commit/280a89a4d13b65852b065b3e1aaa53d388946a88 removed version
# pinning for httpcore in the httpx library, leading to problems with the new `socket_options`
# parameter in httpx 0.25.1 if an old version of httpcore is installed.
# Hence, we pin this here to avoid problems for PTB users. Can be removed once we bump httpx as
# the issue was addressed in https://github.com/encode/httpx/pull/2937.
httpcore >= 0.17.2

0 comments on commit b28e3f2

Please sign in to comment.