From edbba0d4f603126aee0d81172171094836473206 Mon Sep 17 00:00:00 2001 From: Simon Weber Date: Thu, 1 Jun 2023 20:58:49 -0400 Subject: [PATCH] constraint urllib3 < 2 fixes https://github.com/psf/cachecontrol/issues/292 and https://github.com/simon-weber/gpsoauth/issues/52 --- poetry.lock | 13 +++++-------- pyproject.toml | 1 + 2 files changed, 6 insertions(+), 8 deletions(-) diff --git a/poetry.lock b/poetry.lock index 8d54974..3a04137 100644 --- a/poetry.lock +++ b/poetry.lock @@ -508,15 +508,15 @@ python-versions = ">=3.7" [[package]] name = "urllib3" -version = "1.26.9" +version = "1.26.16" description = "HTTP library with thread-safe connection pooling, file post, and more." category = "main" optional = false -python-versions = ">=2.7, !=3.0.*, !=3.1.*, !=3.2.*, !=3.3.*, !=3.4.*, <4" +python-versions = ">=2.7, !=3.0.*, !=3.1.*, !=3.2.*, !=3.3.*, !=3.4.*, !=3.5.*" [package.extras] brotli = ["brotlicffi (>=0.8.0)", "brotli (>=1.0.9)", "brotlipy (>=0.6.0)"] -secure = ["pyOpenSSL (>=0.14)", "cryptography (>=1.3.4)", "idna (>=2.0.0)", "certifi", "ipaddress"] +secure = ["pyOpenSSL (>=0.14)", "cryptography (>=1.3.4)", "idna (>=2.0.0)", "certifi", "urllib3-secure-extra", "ipaddress"] socks = ["PySocks (>=1.5.6,!=1.5.7,<2.0)"] [[package]] @@ -548,7 +548,7 @@ python-versions = "!=3.0.*,!=3.1.*,!=3.2.*,!=3.3.*,!=3.4.*,>=2.7" [metadata] lock-version = "1.1" python-versions = "^3.8" -content-hash = "fafe09e8538da6dab93f52b2a06b117f87893e694c72f5e4a02c0d021176c5dd" +content-hash = "d0ff5452a76892b9147cc65df12e9496a61491b6a76e7f295ce4b896d743eee4" [metadata.files] astor = [ @@ -894,10 +894,7 @@ typing-extensions = [ {file = "typing_extensions-4.2.0-py3-none-any.whl", hash = "sha256:6657594ee297170d19f67d55c05852a874e7eb634f4f753dbd667855e07c1708"}, {file = "typing_extensions-4.2.0.tar.gz", hash = "sha256:f1c24655a0da0d1b67f07e17a5e6b2a105894e6824b92096378bb3668ef02376"}, ] -urllib3 = [ - {file = "urllib3-1.26.9-py2.py3-none-any.whl", hash = "sha256:44ece4d53fb1706f667c9bd1c648f5469a2ec925fcf3a776667042d645472c14"}, - {file = "urllib3-1.26.9.tar.gz", hash = "sha256:aabaf16477806a5e1dd19aa41f8c2b7950dd3c746362d7e3223dbe6de6ac448e"}, -] +urllib3 = [] virtualenv = [ {file = "virtualenv-20.14.1-py2.py3-none-any.whl", hash = "sha256:e617f16e25b42eb4f6e74096b9c9e37713cf10bf30168fb4a739f3fa8f898a3a"}, {file = "virtualenv-20.14.1.tar.gz", hash = "sha256:ef589a79795589aada0c1c5b319486797c03b67ac3984c48c669c0e4f50df3a5"}, diff --git a/pyproject.toml b/pyproject.toml index eaab71a..ab5aeaf 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -24,6 +24,7 @@ include = ["gpsoauth/py.typed"] python = "^3.8" pycryptodomex = ">= 3.0" requests = ">= 2.0.0" +urllib3 = "<2.0" [tool.poetry.dev-dependencies] pre-commit = "^2.11.1"