Matt Clay
79f819dc54
ansible-test - Remove VyOS tests and support files ( #83650 )
...
The VyOS remote image required for running the tests is no longer functional.
4 months ago
Alexei Znamensky
d36dc70afc
remove ignore clauses for module find ( #83575 )
...
add testcase for expanding home dir names
4 months ago
Alexei Znamensky
eeb9b50669
remove ignore clauses for module lineinfile ( #83595 )
5 months ago
Alexei Znamensky
4408b2c3e1
replace - fix documentation and remove ignore clauses ( #83574 )
5 months ago
Alexei Znamensky
08de64076a
remove ignore clauses for module blockinfile ( #83577 )
5 months ago
Matt Clay
f4751766db
selinux compat - add ignore, proper ex chaining ( #83460 )
6 months ago
Martin Krizek
b2a289dcbb
Remove Python 3.10 support for the controller ( #83221 )
...
Fixes #83094
6 months ago
Matt Clay
cf265eb14d
Add Python 3.13 support ( #83416 )
...
* Add Python 3.13 support
* Add temporary work-around for yamllint test
6 months ago
Matt Clay
531bc9891f
Fix issues reported by mypy ( #83413 )
6 months ago
Martin Krizek
c5114e1819
Remove deprecated VariableManager._get_delegated_vars ( #83259 )
...
Fixes #82950
7 months ago
Abhijeet Kasurde
57a8eca3af
pymarkdown: update docs ( #83150 )
...
Signed-off-by: Abhijeet Kasurde <akasurde@redhat.com>
7 months ago
Matt Davis
889012e29e
clean up ansible-connection ( #82992 )
...
* clean up ansible-connection stuff
* eliminate unnecessary usage of pty/termios
* always use default pickle protocol
* remove unnecessary wire hashing
Co-authored-by: Kate Case <this.is@katherineca.se>
7 months ago
Abhijeet Kasurde
802e95f580
distro: remove pep8 ignore
...
* Remove unnecessary pep8 from ignore.txt
Fixes : #80840
Signed-off-by: Abhijeet Kasurde <akasurde@redhat.com>
7 months ago
Abhijeet Kasurde
628ce5a62e
assemble: update argument_spec with 'decrypt' option
...
* decrypt option is used by assemble action plugin.
Add this parameter to remove failure raised by
validate-modules:nonexistent-parameter-documented
Fixes : #80840
Signed-off-by: Abhijeet Kasurde <akasurde@redhat.com>
7 months ago
Abhijeet Kasurde
bb138b1f6e
play_context: remove deprecated PlayContext.verbosity ( #82993 )
...
Fixes : #82945
Signed-off-by: Abhijeet Kasurde <akasurde@redhat.com>
8 months ago
Sloane Hertel
61e18572bb
Play - remove deprecated ROLE_CACHE in favor of role_cache ( #82979 )
8 months ago
Sloane Hertel
971c49b711
Remove deprecated vars keyword syntax as a list of dictionaries, it is now required to be a single dictionary ( #82980 )
...
Update unit test
8 months ago
Abhijeet Kasurde
52529f0b8e
plugins: remove deprecated features ( #82976 )
...
* Remove deprecated REQUIRE_WHITELIST
* Remove deprecated module_blacklist
Fixes : #82947
Signed-off-by: Abhijeet Kasurde <akasurde@redhat.com>
8 months ago
Abhijeet Kasurde
ea55dddc6a
Remove deprecated 'loader' argument ( #82968 )
...
* remove deprecated 'loader' argument from listify_lookup_plugin_terms API
Fixes : #82949
Signed-off-by: Abhijeet Kasurde <akasurde@redhat.com>
8 months ago
Matt Clay
1c17fe2d53
Drop Python 3.7 support ( #82982 )
8 months ago
Matt Martz
76fe4e8a71
Bump devel to 2.18.0.dev0 ( #82934 )
...
* Bump devel to 2.18.0.dev0
* Add ignores for 2.18 deprecations
8 months ago
Abhijeet Kasurde
a870e7d0c6
Bump bundled distro version to 1.8.0 ( #81765 )
...
* Bump bundled distro version to 1.8.0
* Bump bundled distro version from to 1.8.0 from 1.6.0
Fixes : #81713
Signed-off-by: Abhijeet Kasurde <akasurde@redhat.com>
* Remove sanity entries
Signed-off-by: Abhijeet Kasurde <akasurde@redhat.com>
---------
Signed-off-by: Abhijeet Kasurde <akasurde@redhat.com>
8 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
Abhijeet Kasurde
aecffcb896
pylint: update for use-yield-from
...
* With Pylint 3.1.0, use-yield-from check is enabled
Signed-off-by: Abhijeet Kasurde <akasurde@redhat.com>
9 months ago
Martin Krizek
f024cf35d7
Remove the yum module, redirect it to dnf ( #81895 )
...
Fixes #81728
10 months ago
ShIRannx
aa40167f40
find - add encoding option to use in conjunction with contains ( #82284 )
...
* when doing a 'contains' search, determine the encoding of the files to be searched
* set default encoding to None for backwards compatibility
* changelog, error handling, tests added
* add sanity ignore.txt for non-utf-8 test
10 months ago
Martin Krizek
3f74bc08ce
Remove crypt support from ansible.utils.encrypt ( #81721 )
...
Fixes #81717
Co-authored-by: Matt Clay <matt@mystile.com>
11 months ago
Matt Clay
71d81e4a60
Add no-unwanted-characters sanity test for core ( #82557 )
11 months ago
Brian Coca
6e4a5acfbd
lineinfile, remove incorrect/unused 'others' option ( #82436 )
...
* move incorrect, unused 'others' option
this was to document 'file' options are usable .. but we already
import the file fragment to document those options.
* removed now bad ignore
11 months ago
Brian Coca
4479c9df13
Fix plugin set option ( #82300 )
...
* plugin config, ensure set_option correctly casts
until now we relied on plugin author getting the right type, now
the config system itself will process as it would for set_options
12 months ago
Matt Clay
9dd3eafa14
ansible-test - Use pylint unidiomatic-typecheck
...
This replaces the regex based check previously used within the validate-modules sanity test.
NOTE: The pylint check overlaps with a similar check for pep8.
Both are used, since the pep8 based check is more nuanced than the one in pylint.
For example, allowing `is` checks, but not `==` comparisons.
If the pylint check is ignored, the pep8 check would still be relevant.
1 year ago
Matt Clay
ac3ae94ae1
Ignore coverage on code intended never to execute ( #82128 )
...
* Ignore coverage on code intended never to execute
* Fail collection loader test if wrong code runs
* Update boilerplate test to accommodate nocover
1 year ago
Matt Clay
6e15fb0ebf
ansible-test - Removed no-basestring sanity test
1 year ago
Matt Clay
c349b91af3
ansible-test - Removed no-dict-* sanity tests
1 year ago
Matt Clay
9295bb5b5d
Unit test cleanup ( #81958 )
...
Remove obsolete Python 2.7 and 3.6 support code and fix up existing tests.
1 year ago
Sviatoslav Sydorenko
d2ba76c117
Remove Python `< 3.5` `selectors` fallbacks ( #81872 )
1 year ago
Sviatoslav Sydorenko
46623b0a96
Deprecate `pycompat24` ( #81896 )
1 year ago
Matt Clay
16b23d6779
Rename boilerplate sanity test ( #81903 )
...
The test covers more than just future boilerplate, so the shorter name is more appropriate.
1 year ago
Matt Clay
9f899f9492
Require `from __future__ import annotations` ( #81902 )
1 year ago
Matt Clay
921efce43a
ansible-test - Remove more Python 2.7 / 3.6 support ( #81898 )
1 year ago
Matt Clay
b94ee1cefd
Drop Python 2.7 and Python 3.6 support ( #81866 )
...
* Drop Python 2.7 and Python 3.6 support
* Remove obsolete _json_compat
1 year ago
Abhijeet Kasurde
d8f791d88c
Bump sanity test requirements for 3.12 ( #81846 )
1 year ago
Abhijeet Kasurde
ce3954ba74
Bump sanity test requirements for 3.12 ( #81843 )
1 year ago
Matt Clay
d6a356d7cd
ansible-test - Update sanity test requirements ( #81810 )
1 year ago
Abhijeet Kasurde
4b7705b07a
Remove deprecated APIs from ansible-doc ( #81729 )
...
* Removed add_collection_plugins
* Removed find_plugins
Fixes : #81716
Signed-off-by: Abhijeet Kasurde <akasurde@redhat.com>
1 year ago
Matt Martz
f7234968d2
bump devel to 2.17.0.dev0 ( #81712 )
1 year ago
Abhijeet Kasurde
3b608f97b1
sanity: update requirements ( #81680 )
...
Signed-off-by: Abhijeet Kasurde <akasurde@redhat.com>
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
f894ce89b4
Overhaul package-data sanity test ( #81427 )
...
The sanity test now only inspects the sdist and wheel instead of trying to install the sdist using setup.py.
1 year ago
Matt Clay
b9daa6891f
Remove unused sanity test code ( #81398 )
1 year ago