Skip to content

Commit

Permalink
Merge pull request #153 from phac-nml/fix_urllib3_method
Browse files Browse the repository at this point in the history
[CRITICAL] Fixed use of deprecated urllib3 method `method_whitelist` to `allowed_methods`
  • Loading branch information
ericenns authored May 15, 2023
2 parents 6d46761 + 30c00cd commit 50c953d
Show file tree
Hide file tree
Showing 5 changed files with 9 additions and 4 deletions.
5 changes: 5 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,11 @@
Changes
=======

Beta 0.9.2
----------
Bug Fixes:
* [CRITICAL] Fixed use of deprecated urllib3 method to `allowed_methods`

Beta 0.9.1
----------
Changes:
Expand Down
2 changes: 1 addition & 1 deletion iridauploader/__init__.py
Original file line number Diff line number Diff line change
@@ -1 +1 @@
VERSION_NUMBER = "0.9.1"
VERSION_NUMBER = "0.9.2"
2 changes: 1 addition & 1 deletion iridauploader/api/api_calls.py
Original file line number Diff line number Diff line change
Expand Up @@ -136,7 +136,7 @@ def _reinitialize_session(self):
total=self.http_max_retries,
backoff_factor=self.http_backoff_factor,
status_forcelist=[429, 500, 502, 503, 504],
method_whitelist=["HEAD", "GET", "PUT", "POST"], # by default POST is excluded
allowed_methods=["HEAD", "GET", "PUT", "POST"], # by default POST is excluded
)
# override retries built in max backoff value
Retry.DEFAULT_BACKOFF_MAX = self.http_backoff_factor
Expand Down
2 changes: 1 addition & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@

setuptools.setup(
name='iridauploader',
version='0.9.1',
version='0.9.2',
description='IRIDA uploader: upload NGS data to IRIDA system',
url='https://github.com/phac-nml/irida-uploader',
author='Jeffrey Thiessen',
Expand Down
2 changes: 1 addition & 1 deletion windows-installer.cfg
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[Application]
name=IRIDA Uploader GUI
version=0.9.1
version=0.9.2
entry_point=iridauploader.gui.gui:main
icon=iridauploader/gui/images/icon.ico
# Uncomment this to have a console show alongside the application
Expand Down

0 comments on commit 50c953d

Please sign in to comment.