Skip to content

Commit e36464c

Browse files
authored
Replace unix socket package (#430)
* Replace unix socket package * Update aiobotocore
1 parent a76a4f2 commit e36464c

File tree

4 files changed

+12
-15
lines changed

4 files changed

+12
-15
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: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ name = "pypi"
55

66
[packages]
77
aiohttp = "==3.10.2"
8-
aiobotocore = "==2.5.0"
8+
aiobotocore = ">=2.13.0"
99
aiohttp-cors = "*"
1010
aiofiles = "*"
1111
azure-storage-blob = "*"
@@ -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: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ version = "0.9.2"
3535

3636
dependencies = [
3737
"aiohttp == 3.9.4",
38-
"aiobotocore == 2.13.0",
38+
"aiobotocore >= 2.13.0",
3939
"aiohttp_cors",
4040
"aiofiles",
4141
"azure-storage-blob",
@@ -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: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
aiohttp==3.9.4
2-
aiobotocore==2.13.0
2+
aiobotocore>=2.13.0
33
aiohttp_cors
44
aiofiles
55
azure-storage-blob
@@ -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)