Skip to content

Commit

Permalink
Bump minimum urllib3 version to 1.26.0.
Browse files Browse the repository at this point in the history
  • Loading branch information
mikedarcy committed Jul 19, 2023
1 parent fd423df commit 82d7bad
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 3 deletions.
2 changes: 1 addition & 1 deletion deriva/core/utils/core_utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -203,7 +203,7 @@ def get_new_requests_session(url=None, session_config=DEFAULT_SESSION_CONFIG):
read=session_config['retry_read'],
backoff_factor=session_config['retry_backoff_factor'],
status_forcelist=session_config['retry_status_forcelist'],
method_whitelist=Retry.DEFAULT_METHOD_WHITELIST if
allowed_methods=Retry.DEFAULT_ALLOWED_METHODS if
# Passing False to method_whitelist means allow all methods
not session_config.get("allow_retry_on_all_methods", False) else False,
raise_on_status=True)
Expand Down
6 changes: 4 additions & 2 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,7 @@ def get_readme_contents():
'requests',
'certifi',
'pika',
'urllib3>=1.1.5,<2.0',
'urllib3>=1.26.0,<2.0',
'portalocker>=1.2.1',
'portalocker<2.0; python_version <= "3.5"',
'scandir; python_version <= "2.7"',
Expand All @@ -89,6 +89,8 @@ def get_readme_contents():
'Programming Language :: Python :: 3.6',
'Programming Language :: Python :: 3.7',
'Programming Language :: Python :: 3.8',
'Programming Language :: Python :: 3.9'
'Programming Language :: Python :: 3.9',
'Programming Language :: Python :: 3.10',
'Programming Language :: Python :: 3.11'
]
)

0 comments on commit 82d7bad

Please sign in to comment.