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
4 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
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
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 Clay
cd365057d3
Remove more Python 2.x compat code
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
9 months ago
Brian Coca
ddae41759c
Add FreeBSD 13.3 and 14.0 to ansible-test ( #82530 )
...
Co-authored-by: Matt Clay <matt@mystile.com>
9 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
1375861ec2
ansible-test - Update available platforms.
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
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
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
6513453310
ansible-test - Add support for remote Ubuntu VMs.
3 years ago
Matt Clay
b960641759
ansible-test - Support multiple coverage versions.
...
ci_complete
ci_coverage
3 years ago
Matt Clay
191d9a771a
ansible-test - Remove more Python 2.7 support.
3 years ago
Matt Clay
a06fa496d3
ansible-test - Code cleanup and refactoring. ( #77169 )
...
* Remove unnecessary PyCharm ignores.
* Ignore intentional undefined attribute usage.
* Add missing type hints. Fix existing type hints.
* Fix docstrings and comments.
* Use function to register completion handler.
* Pass strings to display functions.
* Fix CompositeAction handling of dest argument.
* Use consistent types in expressions/assignments.
* Use custom function to keep linters happy.
* Add missing raise for custom exception.
* Clean up key/value type handling in cloud plugins.
* Use dataclass instead of dict for results.
* Add custom type_guard function to check lists.
* Ignore return type that can't be checked (yet).
* Avoid changing types on local variables.
3 years ago
Matt Clay
68fb3bf90e
ansible-test - Fix consistency of managed venvs. ( #77028 )
3 years ago
Matt Clay
ef4c5cd61b
ansible-test - Use newer pip to bootstrap FreeBSD.
3 years ago
Matt Clay
0d5401d950
ansible-test - Remove unused code.
...
This was overlooked in a previous commit that removed FreeBSD 12.2 support.
3 years ago
Matt Clay
00a2b7788e
ansible-test - Remove cap on cryptography version.
3 years ago
Matt Clay
7e64c4fe55
ansible-test - Update bootstrap URL to not use S3.
3 years ago
Matt Clay
029c991b0d
ansible-test - Update outdated links in comments.
3 years ago
Matt Clay
3a891827b7
ansible-test - Remove AIX provisioning support. ( #76747 )
...
* ansible-test - Remove AIX provisioning support.
* Remove `skip/aix` integration test aliases.
* Remove build for AIX binary module.
3 years ago
Matt Clay
bab315b780
ansible-test - Add support for FreeBSD 12.3. ( #76745 )
...
* ansible-test - Add support for FreeBSD 12.3.
* Use OS package for yaml if available with CLoader.
* Make sure libyaml is available.
3 years ago
Jordan Borean
9985b8a975
ansible-test pssa update and new rules ( #76256 )
3 years ago
Matt Clay
730194e2b6
ansible-test - Add RHEL 9 support. ( #76217 )
...
* Move RHEL pip package install into function.
* Add RHEL 9 support to bootstrap script.
* ansible-test - Add RHEL 9 support.
* Add install and uninstall instructions for RHEL9 to paramiko tests
* Skip incidental_inventory_docker_swarm on RHEL 9.
* Update dnf tests for rhel9
* Fix prepare_http_tests on RHEL 9.
* fix RHEL9 Python discovery tests to match distro map
* Skip subversion test on RHEL 9.0b.
Co-authored-by: Matt Martz <matt@sivel.net>
Co-authored-by: Matt Davis <mrd@redhat.com>
3 years ago