LangServe: Relax requirements (#11198)

Relax requirements
This commit is contained in:
Eugene Yurtsev 2023-09-28 21:27:19 -04:00 committed by GitHub
parent 5d7c6d1bca
commit e06e84b293
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 32 additions and 15 deletions

View File

@ -1002,13 +1002,13 @@ files = [
[[package]] [[package]]
name = "httpcore" name = "httpcore"
version = "0.18.0" version = "0.16.3"
description = "A minimal low-level HTTP client." description = "A minimal low-level HTTP client."
optional = false optional = false
python-versions = ">=3.8" python-versions = ">=3.7"
files = [ files = [
{file = "httpcore-0.18.0-py3-none-any.whl", hash = "sha256:adc5398ee0a476567bf87467063ee63584a8bce86078bf748e48754f60202ced"}, {file = "httpcore-0.16.3-py3-none-any.whl", hash = "sha256:da1fb708784a938aa084bde4feb8317056c55037247c787bd7e19eb2c2949dc0"},
{file = "httpcore-0.18.0.tar.gz", hash = "sha256:13b5e5cd1dca1a6636a6aaea212b19f4f85cd88c366a2b82304181b769aab3c9"}, {file = "httpcore-0.16.3.tar.gz", hash = "sha256:c5d6f04e2fc530f39e0c077e6a30caa53f1451096120f1f38b954afd0b17c0cb"},
] ]
[package.dependencies] [package.dependencies]
@ -1070,24 +1070,24 @@ test = ["Cython (>=0.29.24,<0.30.0)"]
[[package]] [[package]]
name = "httpx" name = "httpx"
version = "0.25.0" version = "0.23.3"
description = "The next generation HTTP client." description = "The next generation HTTP client."
optional = false optional = false
python-versions = ">=3.8" python-versions = ">=3.7"
files = [ files = [
{file = "httpx-0.25.0-py3-none-any.whl", hash = "sha256:181ea7f8ba3a82578be86ef4171554dd45fec26a02556a744db029a0a27b7100"}, {file = "httpx-0.23.3-py3-none-any.whl", hash = "sha256:a211fcce9b1254ea24f0cd6af9869b3d29aba40154e947d2a07bb499b3e310d6"},
{file = "httpx-0.25.0.tar.gz", hash = "sha256:47ecda285389cb32bb2691cc6e069e3ab0205956f681c5b2ad2325719751d875"}, {file = "httpx-0.23.3.tar.gz", hash = "sha256:9818458eb565bb54898ccb9b8b251a28785dd4a55afbc23d0eb410754fe7d0f9"},
] ]
[package.dependencies] [package.dependencies]
certifi = "*" certifi = "*"
httpcore = ">=0.18.0,<0.19.0" httpcore = ">=0.15.0,<0.17.0"
idna = "*" rfc3986 = {version = ">=1.3,<2", extras = ["idna2008"]}
sniffio = "*" sniffio = "*"
[package.extras] [package.extras]
brotli = ["brotli", "brotlicffi"] brotli = ["brotli", "brotlicffi"]
cli = ["click (==8.*)", "pygments (==2.*)", "rich (>=10,<14)"] cli = ["click (==8.*)", "pygments (==2.*)", "rich (>=10,<13)"]
http2 = ["h2 (>=3,<5)"] http2 = ["h2 (>=3,<5)"]
socks = ["socksio (==1.*)"] socks = ["socksio (==1.*)"]
@ -2837,6 +2837,23 @@ files = [
[package.dependencies] [package.dependencies]
six = "*" six = "*"
[[package]]
name = "rfc3986"
version = "1.5.0"
description = "Validating URI References per RFC 3986"
optional = false
python-versions = "*"
files = [
{file = "rfc3986-1.5.0-py2.py3-none-any.whl", hash = "sha256:a86d6e1f5b1dc238b218b012df0aa79409667bb209e58da56d0b94704e712a97"},
{file = "rfc3986-1.5.0.tar.gz", hash = "sha256:270aaf10d87d0d4e095063c65bf3ddbc6ee3d0b226328ce21e036f946e421835"},
]
[package.dependencies]
idna = {version = "*", optional = true, markers = "extra == \"idna2008\""}
[package.extras]
idna2008 = ["idna"]
[[package]] [[package]]
name = "rfc3986-validator" name = "rfc3986-validator"
version = "0.1.1" version = "0.1.1"
@ -3784,4 +3801,4 @@ server = ["fastapi", "sse-starlette"]
[metadata] [metadata]
lock-version = "2.0" lock-version = "2.0"
python-versions = ">3.8.1,<4" python-versions = ">3.8.1,<4"
content-hash = "269890acd7a232df29d3e807e29bcebd2464ecfadeec8a387a0cf2fc55a2dfc6" content-hash = "e8db4e6e8cd78f7082ac556cd561267c7e3ce1e80d2aa16adb5ff09834ef5d02"

View File

@ -9,12 +9,12 @@ repository = "https://github.com/langchain-ai/langchain"
[tool.poetry.dependencies] [tool.poetry.dependencies]
python = ">3.8.1,<4" python = ">3.8.1,<4"
httpx = "^0.25.0" httpx = "^0.23.0" # May be able to decrease this version
fastapi = {version = ">0.90.1", optional = true} fastapi = {version = ">0.90.1", optional = true}
sse-starlette = {version = "^1.6.5", optional = true} sse-starlette = {version = "^1.3.0", optional = true}
httpx-sse = {version = "^0.3.1", optional = true} httpx-sse = {version = "^0.3.1", optional = true}
pydantic = "^1" pydantic = "^1"
langchain = "^0.0.304" langchain = ">=0.0.304"
[tool.poetry.group.dev.dependencies] [tool.poetry.group.dev.dependencies]
jupyterlab = "^3.6.1" jupyterlab = "^3.6.1"