diff --git a/lib/ansible/module_utils/urls.py b/lib/ansible/module_utils/urls.py index 78cf9e5d9f5..42ef55b0e0e 100644 --- a/lib/ansible/module_utils/urls.py +++ b/lib/ansible/module_utils/urls.py @@ -129,13 +129,13 @@ if not HAS_SSLCONTEXT: try: from urllib3.contrib.pyopenssl import PyOpenSSLContext except Exception: - from requests.packages.urllib3.contrib.pyopenssl import PyOpenSSLContext + from requests.packages.urllib3.contrib.pyopenssl import PyOpenSSLContext # type: ignore[no-redef] HAS_URLLIB3_PYOPENSSLCONTEXT = True except Exception: # urllib3<1.15,>=1.6 try: try: - from urllib3.contrib.pyopenssl import ssl_wrap_socket + from urllib3.contrib.pyopenssl import ssl_wrap_socket # type: ignore[attr-defined] except Exception: from requests.packages.urllib3.contrib.pyopenssl import ssl_wrap_socket HAS_URLLIB3_SSL_WRAP_SOCKET = True diff --git a/test/lib/ansible_test/_data/requirements/sanity.ansible-doc.txt b/test/lib/ansible_test/_data/requirements/sanity.ansible-doc.txt index 2d4add19db1..66801459769 100644 --- a/test/lib/ansible_test/_data/requirements/sanity.ansible-doc.txt +++ b/test/lib/ansible_test/_data/requirements/sanity.ansible-doc.txt @@ -1,5 +1,5 @@ # edit "sanity.ansible-doc.in" and generate with: hacking/update-sanity-requirements.py --test ansible-doc Jinja2==3.1.2 MarkupSafe==2.1.3 -packaging==23.1 +packaging==23.2 PyYAML==6.0.1 diff --git a/test/lib/ansible_test/_data/requirements/sanity.changelog.txt b/test/lib/ansible_test/_data/requirements/sanity.changelog.txt index 8f8b89540c0..d763bad2425 100644 --- a/test/lib/ansible_test/_data/requirements/sanity.changelog.txt +++ b/test/lib/ansible_test/_data/requirements/sanity.changelog.txt @@ -1,7 +1,7 @@ # edit "sanity.changelog.in" and generate with: hacking/update-sanity-requirements.py --test changelog antsibull-changelog==0.23.0 docutils==0.18.1 -packaging==23.1 +packaging==23.2 PyYAML==6.0.1 rstcheck==5.0.0 semantic-version==2.10.0 diff --git a/test/lib/ansible_test/_data/requirements/sanity.mypy.txt b/test/lib/ansible_test/_data/requirements/sanity.mypy.txt index 6efcbe96fd1..f6a47fb08b7 100644 --- a/test/lib/ansible_test/_data/requirements/sanity.mypy.txt +++ b/test/lib/ansible_test/_data/requirements/sanity.mypy.txt @@ -5,14 +5,14 @@ Jinja2==3.1.2 MarkupSafe==2.1.3 mypy==1.5.1 mypy-extensions==1.0.0 -packaging==23.1 +packaging==23.2 pycparser==2.21 tomli==2.0.1 types-backports==0.1.3 types-paramiko==3.3.0.0 types-PyYAML==6.0.12.12 -types-requests==2.31.0.6 +types-requests==2.31.0.7 types-setuptools==68.2.0.0 types-toml==0.10.8.7 -types-urllib3==1.26.25.14 typing_extensions==4.8.0 +urllib3==2.0.6 diff --git a/test/sanity/code-smell/package-data.requirements.txt b/test/sanity/code-smell/package-data.requirements.txt index 5440ff739e8..ce0fb9cffe0 100644 --- a/test/sanity/code-smell/package-data.requirements.txt +++ b/test/sanity/code-smell/package-data.requirements.txt @@ -4,7 +4,7 @@ build==1.0.3 docutils==0.18.1 Jinja2==3.1.2 MarkupSafe==2.1.3 -packaging==23.1 +packaging==23.2 pyproject_hooks==1.0.0 PyYAML==6.0.1 resolvelib==1.0.1 diff --git a/test/sanity/code-smell/pymarkdown.requirements.txt b/test/sanity/code-smell/pymarkdown.requirements.txt index 314cdab17e2..f906e14001a 100644 --- a/test/sanity/code-smell/pymarkdown.requirements.txt +++ b/test/sanity/code-smell/pymarkdown.requirements.txt @@ -6,4 +6,4 @@ PyYAML==6.0.1 tomli==2.0.1 toolz==0.12.0 typing_extensions==4.8.0 -wcwidth==0.2.6 +wcwidth==0.2.8 diff --git a/test/sanity/code-smell/update-bundled.requirements.txt b/test/sanity/code-smell/update-bundled.requirements.txt index 1d3860bb6d4..53f1e434213 100644 --- a/test/sanity/code-smell/update-bundled.requirements.txt +++ b/test/sanity/code-smell/update-bundled.requirements.txt @@ -1,2 +1,2 @@ # edit "update-bundled.requirements.in" and generate with: hacking/update-sanity-requirements.py --test update-bundled -packaging==23.1 +packaging==23.2