Matt Clay
9d249432c4
Increase scope of mypy sanity test ( #84288 )
...
* Increase scope of mypy sanity test
* Fix issues reported by mypy
3 weeks ago
Matt Clay
a98801903d
ansible-test - Replace FreeBSD 13.3 with 13.4 ( #84236 )
...
* ansible-test - Replace FreeBSD 13.3 with 13.4
* ansible-test - Fix typos in bootstrap.sh
* Skip libfaketime on FreeBSD except FreeBSD 14
3 weeks 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
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
Lee Garrett
7e3916b767
Typo fixes and other bits and bobs ( #83672 )
...
Co-authored-by: Lee Garrett <lgarrett@rocketjump.eu>
4 months ago
Matt Clay
a121a169e3
ansible-test - Replace FreeBSD 14.0 with 14.1 ( #83477 )
5 months ago
Matt Clay
dad6f07731
ansible-test - Update tested platforms ( #83446 )
...
* ansible-test - Update tested platforms
* Add work-around for Alpine tests
* Fix prepare_http_tests on Fedora
* Fix deb-src setup for Ubuntu 24.04+
* Set multiarch_test_pkg for Ubuntu 24.04
* Update AZP test matrix
5 months ago
Martin Krizek
b2a289dcbb
Remove Python 3.10 support for the controller ( #83221 )
...
Fixes #83094
6 months ago
Matt Clay
738180d240
ansible-test - Fix unit test coverage collection ( #83433 )
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
14df8c2cf2
ansible-test - Prepare for Python 3.13 ( #83414 )
...
Includes an update to `coverage` and pinned Python requirements.
6 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
Matt Clay
cd365057d3
Remove more Python 2.x compat code
8 months ago
Matt Clay
1c17fe2d53
Drop Python 3.7 support ( #82982 )
8 months ago
Matt Clay
ca168eb367
ansible-test - Fix Alpine libexpat bootstrapping
8 months ago
Matt Clay
a1ad7100df
ansible-test - Handle externally managed Python ( #82883 )
...
Remove EXTERNALLY-MANAGED marker in ansible-test managed environments
Additional changes:
- Test the Alpine 3.19 container
- Stop testing Alpine 3.18 container and remote
- Add missing changelog entry the Alpine 3.19 container
8 months ago
Brian Coca
ddae41759c
Add FreeBSD 13.3 and 14.0 to ansible-test ( #82530 )
...
Co-authored-by: Matt Clay <matt@mystile.com>
8 months ago
Matt Clay
21247c828e
ansible-test - Bypass PEP 668 checks
...
When ansible-test installs requirements, it now instructs pip to allow installs on externally managed environments as defined by PEP 668.
This only occurs in ephemeral environments managed by ansible-test, such as containers,
or when the `--requirements` option is used.
11 months ago
Matt Clay
f5c742cdfd
ansible-test - Clean up old Python 2 compat code ( #81962 )
...
* Update generated code __future__ import
* Remove Python 2.x compat from compile sanity test
* Remove __metaclass__ from pylint good names list
* Remove Python 2.x compat from ansible-test injector
* Remove Python 2.x compat from ansible-test importer
* Remove Python 2.x compat from ansible-test units
* Remove Python 2.x compat from validate-modules
* Remove Python 2.x compat from pylint plugins
* Remove more Python 2.x compat from ansible-test
* Remove Python 2.x openssl detection in ansible-test
* Remove obsolete Python 2.x comment
* Remove obsolete ansible-test Python 2.x support
* Remove unused bootstrap script functions
* Keep mypy happy
* Remove unused imports
* Keep pylint happy
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
Sloane Hertel
48dfe8e215
add Python 3.12 support to ansible-test ( #80834 )
...
* update docker containers versions to use newer ansible-test ref in the pre-built venvs
* Allow invoking ansible-test with Python 3.12
* Add python3.12 to the INTERPRETER_PYTHON_FALLBACK
* changelog
* add Python 3.12 as a non-default Python version for the test containers
* Update mypy ignores for Python 3.12
* Add Python 3.12 to CI matrix for unit tests, generic tests, and galaxy
* Update unit test for using the Python 2 collection loader path with Python 3.
Skip the existing test on Python 3.12, since find_module is removed.
Suppress the pre-existing deprecation warnings using the Python 2
codepath with Python 3.
Add a test for Python >= 3.12, which doesn't call find_module.
* Ignore sanity test errors on systems without libselinux present.
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
08307de366
ansible-test - Remove obsolete WinRM setup script ( #81249 )
...
The WinRM setup is handled internally by ansible-core-ci now.
1 year ago
Matt Clay
72e038e823
Remove `docs` and `examples` directories ( #81011 )
...
* Remove docs dir
* Updates to reflect docs removal
* Fix integration test
* Remove examples dir
* Updates to reflect examples removal
* Remove build_library and build-ansible.py
* Remove refs to build_library and build-ansible.py
* Remove obsolete template
* Remove obsolete template reference
* Remove the now obsolete rstcheck sanity test
1 year ago
Sloane Hertel
67b78a17c4
Remove Python 3.9 support for the controller ( #80973 )
...
* Remove obsolete Python <=3.9 controller code
* Remove Python 3.9 test controller bootstrapping
* Update test requirements
Co-authored-by: Matt Clay <matt@mystile.com>
1 year ago
Martin Krizek
cde15f3c81
Add test support for Python 3.11 on RHEL 8.8/9.2 ( #80990 )
...
Fixes #80412
Fixes #80413
1 year ago
Sloane Hertel
ecbbd7e5d1
Remove Python 3.5 support ( #80972 )
...
* Remove Python 3.5 support
* changelog
* add requested changes
* Update changelogs/fragments/remove-python3.5.yml
Co-authored-by: Matt Clay <matt@mystile.com>
* remove Python3 < 3.5 error handling
* remove Python3 < 3.5 error handling in TE too
---------
Co-authored-by: Matt Clay <matt@mystile.com>
1 year ago
Matt Clay
abc58c026b
ansible-test - Use FreeBSD packaged setuptools ( #80615 )
...
This will avoid issues during bootstrapping caused by breaking changes in setuptools.
2 years ago
Matt Clay
676b731e6f
ansible-test - Replace pytest-forked ( #80525 )
...
- Unit tests now report warnings generated during test runs.
- Python 3.12 warnings about `os.fork` usage with threads (due to `pytest-xdist`) are suppressed.
- Added integration tests to verify forked test behavior.
2 years ago
Sviatoslav Sydorenko
c05d813661
Fix #80020 typos confusing `pylint` for `pytest` ( #80056 )
2 years ago
Matt Clay
fe2732b91e
ansible-test - Support pylint assertion rewriting ( #80020 )
...
Add support for `pylint` assertion rewriting when running unit tests on Python 3.5 and later.
2 years ago
Matt Clay
c9f20aedc0
ansible-test - Fix various type hinting issues. ( #79798 )
...
* ansible-test - Add missing type hints.
* ansible-test - Remove redundant type hints.
* ansible-test - Fix return type annotations.
* ansible-test - Add assert, casts to assist mypy.
* ansible-test - Fix incorrect type hints.
* ansible-test - Remove no-op code.
* ansible-test - Fix incorrect types.
* ansible-test - Fix method signature mismatch.
2 years ago
Matt Clay
1375861ec2
ansible-test - Update available platforms.
2 years ago
Matt Davis
1424484be0
Prevent stdio deadlock in forked children ( #79522 )
...
* background threads writing to stdout/stderr can cause children to deadlock if a thread in the parent holds the internal lock on the BufferedWriter wrapper
* prevent writes to std handles during fork by monkeypatching stdout/stderr during display startup to require a mutex lock with fork(); this ensures no background threads can hold the lock during a fork operation
* add integration test that fails reliably on Linux without this fix
2 years ago
Matt Clay
cda16cc5e9
ansible-test - Improve container management. ( #78550 )
...
See changelogs/fragments/ansible-test-container-management.yml for details.
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
d683c5bd21
ansible-test - Fix Ubuntu 20.04 bootstrapping. ( #78551 )
2 years ago
Matt Clay
69ceb31600
ansible-test - Update sanity test requirements. ( #78528 )
2 years ago
Matt Clay
89862fda3b
ansible-test - Sanity test code cleanup. ( #78497 )
2 years ago
Matt Clay
90ef914f77
ansible-test - Drop Python 3.8 controller support. ( #78237 )
2 years ago
Matt Clay
f3f4ad9332
ansible-test - Use sudo for all remotes. ( #78310 )
2 years ago
Matt Clay
8565deaae3
ansible-test - Install `acl` on Alpine remotes. ( #78303 )
2 years ago
Matt Clay
8bb20fe06b
ansible-test - Enable ACL support on more remotes. ( #78299 )
2 years ago
Matt Clay
b63812bc08
ansible-test - Enable ACLs on FreeBSD remotes.
...
This allows integration tests to switch from one unprivileged user
to another, sharing files between the users using ACLs.
2 years ago
Matt Clay
b9d13d222c
ansible-test - Improve pip bootstrap download.
2 years ago
Matt Clay
24d91f552c
ansible-test - Add support for more remotes.
2 years ago
Don Naro
3cd2c494bd
issue #72449 winrm script rm ( #77931 )
2 years ago
Matt Clay
13d03c3c22
ansible-test - Add RHEL 9 / FreeBSD 13.1 remotes. ( #77851 )
3 years ago
Matt Clay
dfde4be444
Add Python 3.11 support.
...
ci_complete
ci_coverage
3 years ago