Spaces:
Running
Running
Commit
·
1efef06
1
Parent(s):
4e2ccbf
chore: Update httpx dependency and remove unused extras in pyproject.toml and uv.lock
Browse files- Changed httpx dependency to remove the http2 extra, now specifying only the base package.
- Updated comments in dependencies to clarify usage for PubMed and ClinicalTrials.gov.
- Removed unused package entries for h2, hpack, and hyperframe from uv.lock to streamline dependencies.
- pyproject.toml +2 -2
- uv.lock +2 -38
pyproject.toml
CHANGED
|
@@ -13,7 +13,7 @@ dependencies = [
|
|
| 13 |
"openai>=1.0.0",
|
| 14 |
"anthropic>=0.18.0",
|
| 15 |
# HTTP & Parsing
|
| 16 |
-
"httpx
|
| 17 |
"beautifulsoup4>=4.12", # HTML parsing
|
| 18 |
"xmltodict>=0.13", # PubMed XML -> dict
|
| 19 |
# UI
|
|
@@ -22,7 +22,7 @@ dependencies = [
|
|
| 22 |
"python-dotenv>=1.0", # .env loading
|
| 23 |
"tenacity>=8.2", # Retry logic
|
| 24 |
"structlog>=24.1", # Structured logging
|
| 25 |
-
"requests>=2.32.5",
|
| 26 |
]
|
| 27 |
|
| 28 |
[project.optional-dependencies]
|
|
|
|
| 13 |
"openai>=1.0.0",
|
| 14 |
"anthropic>=0.18.0",
|
| 15 |
# HTTP & Parsing
|
| 16 |
+
"httpx>=0.27", # Async HTTP client (PubMed)
|
| 17 |
"beautifulsoup4>=4.12", # HTML parsing
|
| 18 |
"xmltodict>=0.13", # PubMed XML -> dict
|
| 19 |
# UI
|
|
|
|
| 22 |
"python-dotenv>=1.0", # .env loading
|
| 23 |
"tenacity>=8.2", # Retry logic
|
| 24 |
"structlog>=24.1", # Structured logging
|
| 25 |
+
"requests>=2.32.5", # ClinicalTrials.gov (httpx blocked by WAF)
|
| 26 |
]
|
| 27 |
|
| 28 |
[project.optional-dependencies]
|
uv.lock
CHANGED
|
@@ -982,7 +982,7 @@ dependencies = [
|
|
| 982 |
{ name = "anthropic" },
|
| 983 |
{ name = "beautifulsoup4" },
|
| 984 |
{ name = "gradio" },
|
| 985 |
-
{ name = "httpx"
|
| 986 |
{ name = "openai" },
|
| 987 |
{ name = "pydantic" },
|
| 988 |
{ name = "pydantic-ai" },
|
|
@@ -1021,7 +1021,7 @@ requires-dist = [
|
|
| 1021 |
{ name = "beautifulsoup4", specifier = ">=4.12" },
|
| 1022 |
{ name = "chromadb", marker = "extra == 'embeddings'", specifier = ">=0.4.0" },
|
| 1023 |
{ name = "gradio", specifier = ">=5.0" },
|
| 1024 |
-
{ name = "httpx",
|
| 1025 |
{ name = "mypy", marker = "extra == 'dev'", specifier = ">=1.10" },
|
| 1026 |
{ name = "openai", specifier = ">=1.0.0" },
|
| 1027 |
{ name = "pre-commit", marker = "extra == 'dev'", specifier = ">=3.7" },
|
|
@@ -1584,19 +1584,6 @@ wheels = [
|
|
| 1584 |
{ url = "https://files.pythonhosted.org/packages/04/4b/29cac41a4d98d144bf5f6d33995617b185d14b22401f75ca86f384e87ff1/h11-0.16.0-py3-none-any.whl", hash = "sha256:63cf8bbe7522de3bf65932fda1d9c2772064ffb3dae62d55932da54b31cb6c86", size = 37515 },
|
| 1585 |
]
|
| 1586 |
|
| 1587 |
-
[[package]]
|
| 1588 |
-
name = "h2"
|
| 1589 |
-
version = "4.3.0"
|
| 1590 |
-
source = { registry = "https://pypi.org/simple" }
|
| 1591 |
-
dependencies = [
|
| 1592 |
-
{ name = "hpack" },
|
| 1593 |
-
{ name = "hyperframe" },
|
| 1594 |
-
]
|
| 1595 |
-
sdist = { url = "https://files.pythonhosted.org/packages/1d/17/afa56379f94ad0fe8defd37d6eb3f89a25404ffc71d4d848893d270325fc/h2-4.3.0.tar.gz", hash = "sha256:6c59efe4323fa18b47a632221a1888bd7fde6249819beda254aeca909f221bf1", size = 2152026 }
|
| 1596 |
-
wheels = [
|
| 1597 |
-
{ url = "https://files.pythonhosted.org/packages/69/b2/119f6e6dcbd96f9069ce9a2665e0146588dc9f88f29549711853645e736a/h2-4.3.0-py3-none-any.whl", hash = "sha256:c438f029a25f7945c69e0ccf0fb951dc3f73a5f6412981daee861431b70e2bdd", size = 61779 },
|
| 1598 |
-
]
|
| 1599 |
-
|
| 1600 |
[[package]]
|
| 1601 |
name = "hf-xet"
|
| 1602 |
version = "1.2.0"
|
|
@@ -1626,15 +1613,6 @@ wheels = [
|
|
| 1626 |
{ url = "https://files.pythonhosted.org/packages/cb/44/870d44b30e1dcfb6a65932e3e1506c103a8a5aea9103c337e7a53180322c/hf_xet-1.2.0-cp37-abi3-win_amd64.whl", hash = "sha256:e6584a52253f72c9f52f9e549d5895ca7a471608495c4ecaa6cc73dba2b24d69", size = 2905735 },
|
| 1627 |
]
|
| 1628 |
|
| 1629 |
-
[[package]]
|
| 1630 |
-
name = "hpack"
|
| 1631 |
-
version = "4.1.0"
|
| 1632 |
-
source = { registry = "https://pypi.org/simple" }
|
| 1633 |
-
sdist = { url = "https://files.pythonhosted.org/packages/2c/48/71de9ed269fdae9c8057e5a4c0aa7402e8bb16f2c6e90b3aa53327b113f8/hpack-4.1.0.tar.gz", hash = "sha256:ec5eca154f7056aa06f196a557655c5b009b382873ac8d1e66e79e87535f1dca", size = 51276 }
|
| 1634 |
-
wheels = [
|
| 1635 |
-
{ url = "https://files.pythonhosted.org/packages/07/c6/80c95b1b2b94682a72cbdbfb85b81ae2daffa4291fbfa1b1464502ede10d/hpack-4.1.0-py3-none-any.whl", hash = "sha256:157ac792668d995c657d93111f46b4535ed114f0c9c8d672271bbec7eae1b496", size = 34357 },
|
| 1636 |
-
]
|
| 1637 |
-
|
| 1638 |
[[package]]
|
| 1639 |
name = "httpcore"
|
| 1640 |
version = "1.0.9"
|
|
@@ -1699,11 +1677,6 @@ wheels = [
|
|
| 1699 |
{ url = "https://files.pythonhosted.org/packages/2a/39/e50c7c3a983047577ee07d2a9e53faf5a69493943ec3f6a384bdc792deb2/httpx-0.28.1-py3-none-any.whl", hash = "sha256:d909fcccc110f8c7faf814ca82a9a4d816bc5a6dbfea25d6591d6985b8ba59ad", size = 73517 },
|
| 1700 |
]
|
| 1701 |
|
| 1702 |
-
[package.optional-dependencies]
|
| 1703 |
-
http2 = [
|
| 1704 |
-
{ name = "h2" },
|
| 1705 |
-
]
|
| 1706 |
-
|
| 1707 |
[[package]]
|
| 1708 |
name = "httpx-sse"
|
| 1709 |
version = "0.4.0"
|
|
@@ -1749,15 +1722,6 @@ wheels = [
|
|
| 1749 |
{ url = "https://files.pythonhosted.org/packages/f0/0f/310fb31e39e2d734ccaa2c0fb981ee41f7bd5056ce9bc29b2248bd569169/humanfriendly-10.0-py2.py3-none-any.whl", hash = "sha256:1697e1a8a8f550fd43c2865cd84542fc175a61dcb779b6fee18cf6b6ccba1477", size = 86794 },
|
| 1750 |
]
|
| 1751 |
|
| 1752 |
-
[[package]]
|
| 1753 |
-
name = "hyperframe"
|
| 1754 |
-
version = "6.1.0"
|
| 1755 |
-
source = { registry = "https://pypi.org/simple" }
|
| 1756 |
-
sdist = { url = "https://files.pythonhosted.org/packages/02/e7/94f8232d4a74cc99514c13a9f995811485a6903d48e5d952771ef6322e30/hyperframe-6.1.0.tar.gz", hash = "sha256:f630908a00854a7adeabd6382b43923a4c4cd4b821fcb527e6ab9e15382a3b08", size = 26566 }
|
| 1757 |
-
wheels = [
|
| 1758 |
-
{ url = "https://files.pythonhosted.org/packages/48/30/47d0bf6072f7252e6521f3447ccfa40b421b6824517f82854703d0f5a98b/hyperframe-6.1.0-py3-none-any.whl", hash = "sha256:b03380493a519fce58ea5af42e4a42317bf9bd425596f7a0835ffce80f1a42e5", size = 13007 },
|
| 1759 |
-
]
|
| 1760 |
-
|
| 1761 |
[[package]]
|
| 1762 |
name = "identify"
|
| 1763 |
version = "2.6.15"
|
|
|
|
| 982 |
{ name = "anthropic" },
|
| 983 |
{ name = "beautifulsoup4" },
|
| 984 |
{ name = "gradio" },
|
| 985 |
+
{ name = "httpx" },
|
| 986 |
{ name = "openai" },
|
| 987 |
{ name = "pydantic" },
|
| 988 |
{ name = "pydantic-ai" },
|
|
|
|
| 1021 |
{ name = "beautifulsoup4", specifier = ">=4.12" },
|
| 1022 |
{ name = "chromadb", marker = "extra == 'embeddings'", specifier = ">=0.4.0" },
|
| 1023 |
{ name = "gradio", specifier = ">=5.0" },
|
| 1024 |
+
{ name = "httpx", specifier = ">=0.27" },
|
| 1025 |
{ name = "mypy", marker = "extra == 'dev'", specifier = ">=1.10" },
|
| 1026 |
{ name = "openai", specifier = ">=1.0.0" },
|
| 1027 |
{ name = "pre-commit", marker = "extra == 'dev'", specifier = ">=3.7" },
|
|
|
|
| 1584 |
{ url = "https://files.pythonhosted.org/packages/04/4b/29cac41a4d98d144bf5f6d33995617b185d14b22401f75ca86f384e87ff1/h11-0.16.0-py3-none-any.whl", hash = "sha256:63cf8bbe7522de3bf65932fda1d9c2772064ffb3dae62d55932da54b31cb6c86", size = 37515 },
|
| 1585 |
]
|
| 1586 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1587 |
[[package]]
|
| 1588 |
name = "hf-xet"
|
| 1589 |
version = "1.2.0"
|
|
|
|
| 1613 |
{ url = "https://files.pythonhosted.org/packages/cb/44/870d44b30e1dcfb6a65932e3e1506c103a8a5aea9103c337e7a53180322c/hf_xet-1.2.0-cp37-abi3-win_amd64.whl", hash = "sha256:e6584a52253f72c9f52f9e549d5895ca7a471608495c4ecaa6cc73dba2b24d69", size = 2905735 },
|
| 1614 |
]
|
| 1615 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1616 |
[[package]]
|
| 1617 |
name = "httpcore"
|
| 1618 |
version = "1.0.9"
|
|
|
|
| 1677 |
{ url = "https://files.pythonhosted.org/packages/2a/39/e50c7c3a983047577ee07d2a9e53faf5a69493943ec3f6a384bdc792deb2/httpx-0.28.1-py3-none-any.whl", hash = "sha256:d909fcccc110f8c7faf814ca82a9a4d816bc5a6dbfea25d6591d6985b8ba59ad", size = 73517 },
|
| 1678 |
]
|
| 1679 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1680 |
[[package]]
|
| 1681 |
name = "httpx-sse"
|
| 1682 |
version = "0.4.0"
|
|
|
|
| 1722 |
{ url = "https://files.pythonhosted.org/packages/f0/0f/310fb31e39e2d734ccaa2c0fb981ee41f7bd5056ce9bc29b2248bd569169/humanfriendly-10.0-py2.py3-none-any.whl", hash = "sha256:1697e1a8a8f550fd43c2865cd84542fc175a61dcb779b6fee18cf6b6ccba1477", size = 86794 },
|
| 1723 |
]
|
| 1724 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1725 |
[[package]]
|
| 1726 |
name = "identify"
|
| 1727 |
version = "2.6.15"
|