Skip to content

Commit f4d70be

Browse files
authored
chore: Dependency fixes (#1216)
* `requests-unixsocket` was finally updated to fix the bug introduced by `requests`, meaning we no longer need the `requests-unixsocket2` fork * Pip dependency resolution bug has been fixed for several years, meaning we no longer need to micromanage the urllib3 dependency
1 parent e605c14 commit f4d70be

2 files changed

Lines changed: 2 additions & 5 deletions

File tree

‎requirements_test.txt‎

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,3 +10,4 @@ azure-iothub-provisioningserviceclient >= 1.2.0 # Only needed for provisioning
1010
azure-eventhub # Only needed for iothub e2e
1111
psutil # Only needed for iothub e2e
1212
six # Needed due to a missing dependency in azure-iot-hub
13+
urllib3<3.0.0 # Needed for mocking the requests stack

‎setup.py‎

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -71,14 +71,10 @@
7171
"Programming Language :: Python :: 3.12",
7272
],
7373
install_requires=[
74-
# Define sub-dependencies due to pip dependency resolution bug
75-
# https://github.com/pypa/pip/issues/988
76-
"urllib3>=2.2.2,<3.0.0",
77-
# Actual project dependencies
7874
"deprecation>=2.1.0,<3.0.0",
7975
"paho-mqtt>=2.0.0,<3.0.0",
8076
"requests>=2.32.3,<3.0.0",
81-
"requests-unixsocket2>=0.4.1",
77+
"requests-unixsocket>=0.4.1",
8278
"janus",
8379
"PySocks",
8480
"typing_extensions",

0 commit comments

Comments
 (0)