Skip to content

Commit

Permalink
Use pywbem 1.7.1
Browse files Browse the repository at this point in the history
Details:

* Increased the minimum version of pywbem to 1.7.1.

* Increased idna to 2.8 for consistency with pywbem.

* Replaced the use of the deprecated method_whitelist parameter
  of urllib3.Retry with the new allowed_methods parameter
  in test_pywbemcli_operations.py.

Signed-off-by: Andreas Maier <andreas.r.maier@gmx.de>
  • Loading branch information
andy-maier committed Apr 20, 2024
1 parent 7d4be87 commit 63f5554
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 4 deletions.
2 changes: 2 additions & 0 deletions docs/changes.rst
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,8 @@ Released: not yet

**Bug fixes:**

* Increased pywbem to 1.7.2 to pick up fixes. (issue #1304)

* Addressed safety issues up to 2024-03-25.

* Fixed coveralls issues with KeyError and HTTP 422 Unprocessable Entity.
Expand Down
4 changes: 2 additions & 2 deletions minimum-constraints-install.txt
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ wheel==0.38.1; python_version >= '3.7'

# Direct dependencies for install (must be consistent with requirements.txt)

pywbem==1.6.0
pywbem==1.7.2
# When using the GitHub master branch of pywbem, simply comment out the line
# above, since links are not allowed in constraint files - the minimum will be
# ensured by requirements.txt then.
Expand Down Expand Up @@ -110,4 +110,4 @@ wcwidth==0.1.7
typing-extensions==3.10.0

# requests 2.31 requires idna>=2.5,<4
idna==2.5
idna==2.8
2 changes: 1 addition & 1 deletion requirements.txt
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@

# Direct dependencies for install (must be consistent with minimum-constraints-install.txt)

pywbem>=1.6.0
pywbem>=1.7.2
# When using the GitHub master branch of pywbem, comment out the line above,
# activate the GitHub link based dependency below.
# In that case, some of the install tests need to be disabled by setting
Expand Down
2 changes: 1 addition & 1 deletion tests/unit/pywbemcli/test_pywbemcli_operations.py
Original file line number Diff line number Diff line change
Expand Up @@ -77,7 +77,7 @@
warnings.filterwarnings('error')
try:
if URLLIB3_VERSION.release < (2):
urllib3.Retry(method_whitelist={})
urllib3.Retry(allowed_methods={})
except (DeprecationWarning, TypeError):
RETRY_DEPRECATION = PYWBEM_VERSION.release < (1, 1)
else:
Expand Down

0 comments on commit 63f5554

Please sign in to comment.