Skip to content

Commit 6718738

Browse files
authored
chore: Relax dependencies for installation (#150)
This commit relaxes dependencies, not pinning them to a specific version, so they can work with newer versions, and requiring requests>=2.23, urllib3>=1.25.8 instead of requests==2.24, urllib3==1.25.10
1 parent 0f7d12b commit 6718738

File tree

3 files changed

+98
-84
lines changed

3 files changed

+98
-84
lines changed

Pipfile

+2-1
Original file line numberDiff line numberDiff line change
@@ -14,10 +14,11 @@ sdcclient = {editable = true, path = "."}
1414
coverage = "*"
1515

1616
[packages]
17-
requests = "*"
17+
requests = ">=2.23.0"
1818
pyaml = "*"
1919
requests-toolbelt = "*"
2020
tatsu = "*"
21+
urllib3 = ">=1.25.8"
2122

2223
[requires]
2324
python_version = "3.8"

Pipfile.lock

+86-73
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

setup.py

+10-10
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

33
setup(
44
name="sdcclient",
5-
version="0.13.0",
5+
version="0.13.1",
66
description="Python client for Sysdig Cloud",
77
url="http://github.com/sysdiglabs/sysdig-sdk-python",
88
author="Sysdig Inc.",
@@ -23,15 +23,15 @@
2323
),
2424
python_requires=">=3.8, <4",
2525
install_requires=[
26-
"certifi==2020.6.20",
27-
"chardet==3.0.4",
28-
"idna==2.10; python_version >= '2.7' and python_version not in '3.0, 3.1, 3.2, 3.3'",
29-
"pyaml==20.4.0",
30-
"pyyaml==5.3.1",
31-
"requests==2.24.0",
32-
"requests-toolbelt==0.9.1",
33-
"tatsu==5.5.0",
34-
"urllib3==1.25.10; python_version >= '2.7' and python_version not in '3.0, 3.1, 3.2, 3.3, 3.4' and python_version < '4'",
26+
"certifi>=2020.6.20",
27+
"chardet>=3.0.4",
28+
"idna>=2.10; python_version >= '2.7' and python_version not in '3.0, 3.1, 3.2, 3.3'",
29+
"pyaml>=20.4.0",
30+
"pyyaml>=5.3.1",
31+
"requests>=2.23.0",
32+
"requests-toolbelt>=0.9.1",
33+
"tatsu>=5.5.0",
34+
"urllib3>=1.25.8",
3535
],
3636
extras_require={"dev": []},
3737
project_urls={

0 commit comments

Comments
 (0)