From e96c02e4d4dad845fe2c46036f50c3f6275631af Mon Sep 17 00:00:00 2001 From: Chris Coutinho Date: Sat, 8 Nov 2025 22:18:31 +0100 Subject: [PATCH] fix: remove unnecessary urllib3<2.0 constraint MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit The urllib3<2.0 constraint was added unnecessarily during troubleshooting. urllib3 2.x works perfectly fine with qdrant-client. The import path for urllib3.util.Url and parse_url remains the same across 1.x and 2.x versions. Changes: - Remove urllib3<2.0 constraint from pyproject.toml - Upgrade to urllib3 2.5.0 (latest) - All integration tests pass with urllib3 2.x Verified: - from urllib3.util import Url, parse_url works in 2.5.0 - All 6 semantic search integration tests pass - qdrant-client 1.15.1 works correctly with urllib3 2.5.0 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude --- pyproject.toml | 3 +-- uv.lock | 8 +++----- 2 files changed, 4 insertions(+), 7 deletions(-) diff --git a/pyproject.toml b/pyproject.toml index edd2014..40513c4 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -21,8 +21,7 @@ dependencies = [ "pyjwt[crypto]>=2.8.0", "aiosqlite>=0.20.0", # Async SQLite for refresh token storage "authlib>=1.6.5", - "qdrant-client>=1.7.0", # Vector database for semantic search - "urllib3<2.0", + "qdrant-client>=1.7.0", ] classifiers = [ "Development Status :: 4 - Beta", diff --git a/uv.lock b/uv.lock index a3a1487..0f94096 100644 --- a/uv.lock +++ b/uv.lock @@ -1041,7 +1041,6 @@ dependencies = [ { name = "pyjwt", extra = ["crypto"] }, { name = "pythonvcard4" }, { name = "qdrant-client" }, - { name = "urllib3" }, ] [package.dev-dependencies] @@ -1073,7 +1072,6 @@ requires-dist = [ { name = "pyjwt", extras = ["crypto"], specifier = ">=2.8.0" }, { name = "pythonvcard4", specifier = ">=0.2.0" }, { name = "qdrant-client", specifier = ">=1.7.0" }, - { name = "urllib3", specifier = "<2.0" }, ] [package.metadata.requires-dev] @@ -2218,11 +2216,11 @@ wheels = [ [[package]] name = "urllib3" -version = "1.26.20" +version = "2.5.0" source = { registry = "https://pypi.org/simple" } -sdist = { url = "https://files.pythonhosted.org/packages/e4/e8/6ff5e6bc22095cfc59b6ea711b687e2b7ed4bdb373f7eeec370a97d7392f/urllib3-1.26.20.tar.gz", hash = "sha256:40c2dc0c681e47eb8f90e7e27bf6ff7df2e677421fd46756da1161c39ca70d32", size = 307380, upload-time = "2024-08-29T15:43:11.37Z" } +sdist = { url = "https://files.pythonhosted.org/packages/15/22/9ee70a2574a4f4599c47dd506532914ce044817c7752a79b6a51286319bc/urllib3-2.5.0.tar.gz", hash = "sha256:3fc47733c7e419d4bc3f6b3dc2b4f890bb743906a30d56ba4a5bfa4bbff92760", size = 393185, upload-time = "2025-06-18T14:07:41.644Z" } wheels = [ - { url = "https://files.pythonhosted.org/packages/33/cf/8435d5a7159e2a9c83a95896ed596f68cf798005fe107cc655b5c5c14704/urllib3-1.26.20-py2.py3-none-any.whl", hash = "sha256:0ed14ccfbf1c30a9072c7ca157e4319b70d65f623e91e7b32fadb2853431016e", size = 144225, upload-time = "2024-08-29T15:43:08.921Z" }, + { url = "https://files.pythonhosted.org/packages/a7/c2/fe1e52489ae3122415c51f387e221dd0773709bad6c6cdaa599e8a2c5185/urllib3-2.5.0-py3-none-any.whl", hash = "sha256:e6b01673c0fa6a13e374b50871808eb3bf7046c4b125b216f6bf1cc604cff0dc", size = 129795, upload-time = "2025-06-18T14:07:40.39Z" }, ] [[package]]