Skip to content

Commit ffec4f2

Browse files
committed
Replace unix socket package
1 parent ca929a9 commit ffec4f2

File tree

4 files changed

+9
-12
lines changed

4 files changed

+9
-12
lines changed

.github/workflows/python-package.yml

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -213,11 +213,6 @@ jobs:
213213
run: |
214214
pip install -e .
215215
216-
# Requests 2.32.0 breaks requests-unixsocket, used by HSDS for socket connections
217-
# - name: Fix requests version
218-
# run: |
219-
# pip install requests==2.31.0
220-
221216
- name: Run HSDS unit tests
222217
shell: bash
223218
run: |

Pipfile

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,9 +19,11 @@ psutil = "*"
1919
pyjwt = "*"
2020
pytz = "*"
2121
pyyaml = "*"
22-
requests-unixsocket = "*"
22+
requests = "<=2.32.4"
23+
requests-unixsocket2 = {git = "https://gitlab.com/thelabnyc/requests-unixsocket2.git"}
2324
simplejson = "*"
2425
s3fs = "*"
26+
urllib3 = ">=2.4.0,<3.0"
2527

2628
[dev-packages]
2729

pyproject.toml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -49,11 +49,11 @@ dependencies = [
4949
"pyjwt",
5050
"pytz",
5151
"pyyaml",
52-
"requests <= 2.31.0",
53-
"requests-unixsocket",
52+
"requests <= 2.32.4",
53+
"requests-unixsocket2 @ git+https://gitlab.com/thelabnyc/requests-unixsocket2.git",
5454
"simplejson",
5555
"s3fs",
56-
"urllib3 < 2.0.0"
56+
"urllib3 >= 2.4.0, < 3.0"
5757
]
5858

5959
[project.optional-dependencies]

requirements.txt

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -11,8 +11,8 @@ psutil
1111
pyjwt
1212
pytz
1313
pyyaml
14-
requests<=2.31.0
15-
requests-unixsocket
14+
requests<=2.32.4
15+
requests-unixsocket2 @ git+https://gitlab.com/thelabnyc/requests-unixsocket2.git
1616
simplejson
1717
s3fs
18-
urllib3<2.0.0
18+
urllib3>=2.4.0,<3.0

0 commit comments

Comments
 (0)