Matt Clay
50604e8461
ansible-test - Update astroid for pylint sanity test ( #84054 )
2 months ago
Matt Clay
9406ed3109
ansible-test - Update sanity tests and default Python ( #83998 )
...
* ansible-test - Update sanity test requirements
* ansible-test - Default to Python 3.13 in base/default containers
* ansible-test - Fix incorrect AnyStr type hints
2 months ago
Matt Clay
cf2a4a85da
ansible-test - Update sanity test requirements ( #83921 )
2 months ago
Matt Clay
da02611c48
ansible-test - Update sanity test requirements ( #83795 )
...
* Remove PyYAML pin for yamllint sanity test
* Freeze sanity test requirements
3 months ago
Matt Clay
717f1092e3
ansible-test - Update venv management and sanity requirements ( #83729 )
...
* ansible-test - Update venv management
* Upgrade from pip 24.0 to 24.2
* Omit `wheel` and `setuptools` from ansible-test managed virtual environments
* Drop pre-release hacks
* Update mypy requirements
* Freeze sanity test requirements
* Update sanity test configuration
* Update sanity ignores
4 months ago
Abhijeet Kasurde
b8b12c4be3
Update sanity requirements ( #82296 )
...
* Update sanity requirements
* Drop Python 3.7 for mypy
Signed-off-by: Abhijeet Kasurde <akasurde@redhat.com>
8 months ago
Matt Davis
d8484f0af7
Update default test container Python to 3.12 and support for PyLint 3.0.1 ( #81953 )
...
* temporary PyLint plugin to mask 3.12 finalizer noise
* ansible-test - Default to Python 3.12 for base/default
* ansible-test - Update pylint requirements
* ansible-test - Remove obsoleted changelog entry
* Add changelog fragment for pylint work-around
1 year ago
Abhijeet Kasurde
d8f791d88c
Bump sanity test requirements for 3.12 ( #81846 )
1 year ago
Matt Clay
d6a356d7cd
ansible-test - Update sanity test requirements ( #81810 )
1 year ago
Abhijeet Kasurde
493c678795
Sanity: Bump version to match Python 3.12 ( #81399 )
...
Signed-off-by: Abhijeet Kasurde <akasurde@redhat.com>
1 year ago
Matt Clay
e964078a83
ansible-test - Pre-build PyYAML wheels ( #81300 )
...
This works around Cython failures when attempting to install PyYAML >= 5.4 <= 6.0.
1 year ago
Matt Clay
372fc99686
ansible-test - Update pylint to 2.17.3 ( #80632 )
2 years ago
Matt Clay
ba47dd9ef4
ansible-test - Update pylint to 2.17.2 ( #80555 )
2 years ago
Matt Clay
49b5c80c41
ansible-test - Update sanity test requirements ( #80354 )
2 years ago
Matt Clay
cf8fa5e75c
ansible-test - Update sanity test requirements ( #80279 )
2 years ago
Matt Clay
c564c6e21e
ansible-test - Update pylint requirements ( #80172 )
2 years ago
Matt Clay
ecf66c6f82
ansible-test - Update mypy and pylint requirements ( #80049 )
2 years ago
Matt Clay
0a53309f47
ansible-test - Update pylint to 2.16.0 ( #79878 )
2 years ago
Matt Clay
739bc8bb6c
ansible-test - Update sanity test requirements ( #79819 )
...
Also update core sanity test requirements, except mypy (already updated) and docs-build (update separately).
2 years ago
Matt Clay
645b6b8581
ansible-test - Fix pylint support on Python 3.11.
2 years ago
Matt Clay
14e7f05318
ansible-test - Update pylint to 2.15.4.
2 years ago
Matt Clay
4d25233ece
ansible-test - Update Python 3.11 support. ( #78840 )
...
- Update sanity test requirements to fully support Python 3.11.
- Make Python 3.11 the default in the base and default test containers.
2 years ago
Matt Clay
e5e87a3927
ansible-test - Update pylint to 2.15.3. ( #78811 )
2 years ago
Matt Clay
c56b35598f
ansible-test - Upgrade pylint. ( #78727 )
...
This version of pylint now supports Python 3.11.
2 years ago
Matt Clay
69ceb31600
ansible-test - Update sanity test requirements. ( #78528 )
2 years ago
Matt Clay
bb63c97c16
ansible-test - Update import test and sanity requirements. ( #76308 )
...
* Add script to freeze sanity requirements.
* Declare sanity test requirements and freeze
* Use pinned requirements for import.plugin test.
* Expand scope of import test for ansible-core.
* Add ignores for galaxy import errors.
* Update test-constraints sanity test.
3 years ago
Matt Clay
4ea8d9a782
ansible-test - split controller/target testing ( #75605 )
3 years ago
Matt Clay
2b463ef197
ansible-test - Upgrade pylint to 2.9.3. ( #75480 )
...
* ansible-test - Upgrade `pylint` to 2.9.3.
* Update pylint ignores due to rule name change.
* Disable pylint deprecated-class for compat code.
* Add pylint ignores for test support content.
* Add ignores for arguments-renamed in lib/ansible/
* Add pylint ignores for collection_loader.
* ansible-test - Ignore deprecations in legacy collection loader.
* ansible-test - Suppress pylint consider-using-with
* ansible-test - Suppress pylint false positive.
* ansible-test - Suppress pylint consider-using-with.
* ansible-test - Suppress pylint deprecated-module
* Disable some of the new pylint suggestions.
* Remove unnecessary six usage from string_format pylint plugin.
* Remove obsolete ignore entry.
3 years ago
Matt Clay
2c3a3bdd9c
Update pylint sanity test to work on Python 3.10.
4 years ago
Matt Clay
f533d46572
Fix ansible-test constraints issues. ( #73578 )
...
* Silence Python 3.5 EOL notice in pip.
* Skip import test on compat/selinux.py utils.
* Improve Python version skip warning.
* Use Python 3.6 as minimum Python for sanity tests.
* Improve min Python handling for code-smell tests.
* Overhaul test-constraints sanity test.
* Merge sanity test constraints with requirements.
* Remove legacy content specific constraints.
* Add changelog fragment.
4 years ago
Matt Clay
37d09f2488
Update ansible-test pylint Python support. ( #72972 )
...
* Update ansible-test pylint Python support.
* Python 3.8 is now officially supported.
* Python 3.9 is now skipped with a warning.
4 years ago
Matt Martz
4a4a11d282
Add mccabe complexity testing ( #64623 )
...
* Add mccabe complexity testing
* Make mccabe complexity an optional error
* Add mccabe to new sanity pylint requirements
* Add a changelog fragment.
Co-authored-by: Matt Clay <matt@mystile.com>
5 years ago
Matt Clay
7bff3d312f
Split out and install sanity test requirements. ( #69971 )
...
* Split out sanity test requirements.
* Run each --venv test separately.
This provides verification that the requirements for each test are properly specified.
* Use a separate requirements file per sanity test.
* Skip setuptools/cryptography setup for sanity.
* Eliminate pyyaml missing warning.
* Eliminate more pip noise.
* Fix conflicting generate_pip_install commands.
* Add changelog fragment.
5 years ago