diff --git a/docs/changelog.rst b/docs/changelog.rst index fba604a1..b2ba15ee 100644 --- a/docs/changelog.rst +++ b/docs/changelog.rst @@ -21,6 +21,8 @@ To avail of fixes in an unreleased version, please download a ZIP file In progress (unreleased) ------------------------ +* :gh:issue:`1287` tests: Bump dependencies + v0.3.28 (2025-09-17) -------------------- diff --git a/tests/ansible/requirements.txt b/tests/ansible/requirements.txt index 11457e66..98184e89 100644 --- a/tests/ansible/requirements.txt +++ b/tests/ansible/requirements.txt @@ -1,5 +1,6 @@ paramiko==2.12.0; python_version <= '2.7' -paramiko==3.5.0; python_version >= '3.6' +paramiko==3.5.1; python_version >= '3.6' and python_version <= '3.8' +paramiko==4.0.0; python_version >= '3.9' # Incompatible with pip >= 72, due to removal of `setup.py test`: # ModuleNotFoundError: No module named 'setuptools.command.test' @@ -7,7 +8,8 @@ paramiko==3.5.0; python_version >= '3.6' hdrhistogram==0.6.1 ncclient==0.6.13; python_version <= '2.7' -ncclient==0.6.16; python_version > '2.7' +ncclient==0.6.19; python_version >= '3.5' PyYAML==3.11; python_version < '2.7' -PyYAML==5.3.1; python_version >= '2.7' # Latest release (Jan 2021) +PyYAML==5.4.1; python_version >= '2.7' and python_version <= '3.7' +PyYAML==6.0.2; python_version >= '3.8' diff --git a/tests/requirements.txt b/tests/requirements.txt index c5671b37..571f89d9 100644 --- a/tests/requirements.txt +++ b/tests/requirements.txt @@ -1,25 +1,25 @@ -cffi==1.15.1; python_version < '3.8' -cffi==1.17.1; python_version >= '3.8' - coverage==5.5; python_version == '2.7' coverage==6.2; python_version == '3.6' coverage==7.2.7; python_version == '3.7' -coverage==7.4.3; python_version >= '3.8' +coverage==7.5.4; python_version == '3.8' +coverage==7.10.6; python_version >= '3.9' Django==1.11.29; python_version < '3.0' Django==3.2.20; python_version >= '3.6' mock==3.0.5; python_version == '2.7' -mock==5.1.0; python_version >= '3.6' +mock==5.2.0; python_version >= '3.6' -pexpect==4.8 +pexpect==4.9 -psutil==5.9.8 +psutil==6.1.1; python_version <= '2.7' +psutil==7.1.0; python_version >= '3.6' pytest==4.6.11; python_version == '2.7' pytest==7.0.1; python_version == '3.6' pytest==7.4.4; python_version == '3.7' -pytest==8.0.2; python_version >= '3.8' +pytest==8.3.5; python_version == '3.8' +pytest==8.4.2; python_version >= '3.9' subprocess32==3.5.4; python_version < '3.0' timeoutcontext==1.2.0 @@ -32,4 +32,5 @@ idna==2.7; python_version < '2.7' virtualenv==20.15.1; python_version == '2.7' virtualenv==20.17.1; python_version == '3.6' -virtualenv==20.25.1; python_version >= '3.7' +virtualenv==20.26.6; python_version == '3.7' +virtualenv==20.34.0; python_version >= '3.8' diff --git a/tox.ini b/tox.ini index 9fa61dc6..da44ff0d 100644 --- a/tox.ini +++ b/tox.ini @@ -12,7 +12,7 @@ # 2.7 <= 2.11 <= 2.16 <= 5.5 <= 1.11.29 <= 2.11.3 <= 20 <= 4.6.11 <= 3.28 <= 20.15² # 3.5 <= 2.11 <= 2.15 <= 5.5 <= 2.2.28 <= 2.11.3 <= 20 <= 5.9.5 <= 6.1.0 <= 3.28 <= 20.15² # 3.6 <= 2.11 <= 2.16 <= 6.2 <= 3.2.20 <= 3.0.3 <= 21 <= 7.0.1 <= 3.28 <= 20.17² -# 3.7 <= 2.12 <= 2.17 <= 7.2.7 <= 3.2.20 <= 7.4.4 <= 4.8.0 +# 3.7 <= 2.12 <= 2.17 <= 7.2.7 <= 3.2.20 <= 7.4.4 <= 4.8.0 <= 20.26.6² # 3.8 <= 2.12 # 3.9 <= 2.15 # 3.10 <= 2.17 @@ -31,8 +31,10 @@ # Python 3.12 removed deprecated httplib.HTTPSConnection() arguments. # https://github.com/ansible/ansible/pull/80751 # -# 2. Higher virtualenv versions cannot run under this Python version. They can -# still generate virtual environments for it. +# 2. Higher Virtualenv versions do not support this Python as *host* Python. +# Virtualenv <= 20.21.1 supports creating virtualenvs with any *target* Python. +# Virtualenv >= 20.22 supports creating virtualenvs with target Python >= 3.7. +# https://virtualenv.pypa.io/en/latest/#compatibility # Ansible Dependency # ================== ====================== @@ -88,7 +90,7 @@ deps = ans9: ansible~=9.0 ans10: ansible~=10.0 ans11: ansible~=11.0 - ans12: ansible>=12.0.0b2 + ans12: ansible~=12.0 install_command = python -m pip --no-python-version-warning --disable-pip-version-check install {opts} {packages} commands_pre =