Skip to content

Commit ee69f48

Browse files
committed
Update setup.py install_requires to require recent requests
1 parent 4e0a4e4 commit ee69f48

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

setup.py

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,6 +38,8 @@ def getVersion():
3838
"Programming Language :: Python :: 3",
3939
],
4040
include_package_data=True,
41-
install_requires=["csmlog", "requests", "deprecated"],
41+
# requests 2.27.0 changed the exception raised when .json() fails.
42+
# See https://github.com/psf/requests/pull/5856
43+
install_requires=["csmlog", "requests>=2.27", "deprecated"],
4244
entry_points={"console_scripts": ["pyhtcc = pyhtcc.__main__:main"]},
4345
)

0 commit comments

Comments
 (0)