ansible-test - Update sanity requirements (#86083)

This commit is contained in:
Matt Clay
2025-10-28 09:33:10 -07:00
committed by GitHub
parent 8d07ed6318
commit 12acd5c18f
8 changed files with 12 additions and 15 deletions

View File

@@ -0,0 +1,2 @@
minor_changes:
- ansible-test - Update the pylint sanity test to pylint 4.0.2.

View File

@@ -4,6 +4,6 @@ dill==0.4.0
isort==7.0.0
mccabe==0.7.0
platformdirs==4.5.0
pylint==4.0.0
pylint==4.0.2
PyYAML==6.0.3
tomlkit==0.13.3

View File

@@ -12,8 +12,8 @@ try:
SpecifierSet: t.Optional[t.Type[specifiers.SpecifierSet]] = specifiers.SpecifierSet
Version: t.Optional[t.Type[version.Version]] = version.Version
PACKAGING_IMPORT_ERROR = None
PACKAGING_IMPORT_ERROR = None # pylint: disable=invalid-name
except ImportError as ex:
SpecifierSet = None # pylint: disable=invalid-name
Version = None # pylint: disable=invalid-name
PACKAGING_IMPORT_ERROR = ex
PACKAGING_IMPORT_ERROR = ex # pylint: disable=invalid-name

View File

@@ -11,10 +11,10 @@ from functools import (
try:
import yaml as _yaml
YAML_IMPORT_ERROR = None
YAML_IMPORT_ERROR = None # pylint: disable=invalid-name
except ImportError as ex:
yaml_load = None # pylint: disable=invalid-name
YAML_IMPORT_ERROR = ex
YAML_IMPORT_ERROR = ex # pylint: disable=invalid-name
else:
try:
_SafeLoader: t.Union[t.Type[_yaml.CSafeLoader], t.Type[_yaml.SafeLoader]] = _yaml.CSafeLoader

View File

@@ -5,4 +5,4 @@ mypy_extensions==1.1.0
packaging==25.0
pathspec==0.12.1
platformdirs==4.5.0
pytokens==0.1.10
pytokens==0.2.0

View File

@@ -1,7 +1,7 @@
# edit "mypy.requirements.in" and generate with: hacking/update-sanity-requirements.py --test mypy
cffi==2.0.0
cryptography==46.0.2
iniconfig==2.1.0
cryptography==46.0.3
iniconfig==2.3.0
Jinja2==3.1.6
MarkupSafe==3.0.3
mypy==1.18.2

View File

@@ -2,9 +2,9 @@
application_properties==0.9.0
Columnar==1.4.1
pyjson5==2.0.0
pymarkdownlnt==0.9.32
pymarkdownlnt==0.9.33
PyYAML==6.0.3
tomli==2.3.0
toolz==1.0.0
toolz==1.1.0
typing_extensions==4.15.0
wcwidth==0.2.14

View File

@@ -114,11 +114,6 @@ test/integration/targets/win_script/files/test_script_with_args.ps1 pslint:PSAvo
test/integration/targets/win_script/files/test_script_with_splatting.ps1 pslint:PSAvoidUsingWriteHost # Keep
test/integration/targets/ssh_agent/fake_agents/ssh-agent-bad-shebang shebang # required for test
test/lib/ansible_test/_data/requirements/sanity.pslint.ps1 pslint:PSCustomUseLiteralPath # Uses wildcards on purpose
test/lib/ansible_test/_internal/compat/packaging.py pylint:invalid-name # pylint bug: https://github.com/pylint-dev/pylint/issues/10652
test/lib/ansible_test/_internal/compat/yaml.py pylint:invalid-name # pylint bug: https://github.com/pylint-dev/pylint/issues/10652
test/lib/ansible_test/_internal/init.py pylint:invalid-name # pylint bug: https://github.com/pylint-dev/pylint/issues/10652
test/lib/ansible_test/_internal/util.py pylint:invalid-name # pylint bug: https://github.com/pylint-dev/pylint/issues/10652
test/lib/ansible_test/_util/target/setup/requirements.py pylint:invalid-name # pylint bug: https://github.com/pylint-dev/pylint/issues/10652
test/support/windows-integration/collections/ansible_collections/ansible/windows/plugins/module_utils/WebRequest.psm1 pslint!skip
test/support/windows-integration/collections/ansible_collections/ansible/windows/plugins/modules/win_uri.ps1 pslint!skip
test/support/windows-integration/plugins/modules/async_status.ps1 pslint!skip