Skip to content

Commit 4507d1e

Browse files
committed
Bump urllib3 dependency from 1.x to >=2,<3
urllib3 is only used transitively via requests, which already supports urllib3 2.x. The old pin (<1.27) was also conflicting with the `id` package (requires urllib3>=2).
1 parent 95c10f4 commit 4507d1e

File tree

3 files changed

+3
-2
lines changed

3 files changed

+3
-2
lines changed

askbot/__init__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -55,7 +55,7 @@
5555
'regex': 'regex',
5656
'tldextract': 'tldextract==5.1.2',
5757
'unidecode': 'unidecode',
58-
'urllib3': 'urllib3<1.27,>=1.21.1'
58+
'urllib3': 'urllib3>=2,<3'
5959
}
6060

6161
def get_install_directory():

askbot/doc/source/changelog.rst

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,7 @@ Development (not yet released)
55
------------------------------
66
* Removed legacy ``askbot/container/`` directory and ``askbot_requirements.txt``
77
* Added test to verify ``askbot.REQUIREMENTS`` and ``pyproject.toml`` dependencies stay in sync
8+
* Bumped ``urllib3`` dependency from ``>=1.21.1,<1.27`` to ``>=2,<3``
89
* Fixed ``encode_jwt``/``decode_jwt`` compatibility with PyJWT 2.x
910
* Added tests for ``encode_jwt`` and ``decode_jwt``
1011

pyproject.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -72,7 +72,7 @@ dependencies = [
7272
"responses>=0.9.0,<=0.23.1",
7373
"tldextract==5.1.2",
7474
"unidecode",
75-
"urllib3<1.27,>=1.21.1",
75+
"urllib3>=2,<3",
7676
]
7777

7878
[project.scripts]

0 commit comments

Comments
 (0)