From b960acec107154a2c04d56f2f17a9bb91bbc6bee Mon Sep 17 00:00:00 2001 From: Copilot <198982749+Copilot@users.noreply.github.com> Date: Sun, 22 Mar 2026 23:53:20 +0100 Subject: [PATCH] Pin requests-toolbelt>=1.0.0 to fix urllib3 v2 incompatibility (#2316) * Initial plan * Add requests-toolbelt ^1.0.0 as explicit dependency to fix urllib3 v2 appengine ImportError Co-authored-by: soxoj <31013580+soxoj@users.noreply.github.com> Agent-Logs-Url: https://github.com/soxoj/maigret/sessions/458d41b2-c135-4b51-b0b1-b1832490c808 --------- Co-authored-by: copilot-swe-agent[bot] <198982749+Copilot@users.noreply.github.com> Co-authored-by: soxoj <31013580+soxoj@users.noreply.github.com> --- poetry.lock | 5 +++-- pyproject.toml | 1 + 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/poetry.lock b/poetry.lock index cce42de..cd4a471 100644 --- a/poetry.lock +++ b/poetry.lock @@ -1,4 +1,4 @@ -# This file is automatically @generated by Poetry 2.2.1 and should not be changed by hand. +# This file is automatically @generated by Poetry 2.3.2 and should not be changed by hand. [[package]] name = "about-time" @@ -694,6 +694,7 @@ files = [ {file = "colorama-0.4.6-py2.py3-none-any.whl", hash = "sha256:4f1d9991f5acc0ca119f9d443620b77f9d6b33703e51011c16baf57afb285fc6"}, {file = "colorama-0.4.6.tar.gz", hash = "sha256:08695f5cb7ed6e0531a20572697297273c47b8cae5a63ffc6d6ed5c201be6e44"}, ] +markers = {dev = "platform_system == \"Windows\" or sys_platform == \"win32\""} [[package]] name = "coverage" @@ -3624,4 +3625,4 @@ propcache = ">=0.2.1" [metadata] lock-version = "2.1" python-versions = "^3.10" -content-hash = "f301651d69bc3fceacce509ba49c288d421991ba35847bc6968cf6d66af62d12" +content-hash = "59582b6936e2e1fc8239f75fccc09379931c36f49f18607fbad5da0fc7286136" diff --git a/pyproject.toml b/pyproject.toml index aaee2f8..b393c0c 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -55,6 +55,7 @@ PySocks = "^1.7.1" python-bidi = "^0.6.3" requests = "^2.32.4" requests-futures = "^1.0.2" +requests-toolbelt = "^1.0.0" six = "^1.17.0" socid-extractor = "^0.0.27" soupsieve = "^2.6"