Skip to content

Tags: ansible/tox-ansible

Tags

v26.6.0

Toggle v26.6.0's commit message

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature.
chore(deps): update all dependencies to df4cb1c (#560)

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Sudhir Verma <9924513+sudhirverma@users.noreply.github.com>

v26.3.0

Toggle v26.3.0's commit message

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature.
chore: update test deps (#537)

v26.2.2

Toggle v26.2.2's commit message

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature.
fix: handle tox 4.47+ conflicting version factors in env names (#535)

* fix: set ignore_base_python_conflict to resolve tox 4.47+ version factor conflicts

* fix: explicitly set base_python to prevent tox 4.47+ version conflicts

tox 4.47.1 treats bare version numbers like 2.16 as Python versions,
causing environment names like sanity-py3.10-2.16 to fail with
"conflicting factors py3.10, 2.16" error.

The previous fix (ignore_base_python_conflict=True) suppressed the error
but caused tox to fall back to the default Python (3.10), which fails
when ansible-core requires a newer Python version.

This fix explicitly sets base_python for each environment based on the
Python version factor (e.g., py3.11 → base_python=py3.11), ensuring tox
uses the correct Python interpreter.

Made-with: Cursor

* fix: use expected_factors constant to satisfy linter

Made-with: Cursor

* fix: shorten lines to satisfy 100 char limit

Made-with: Cursor

* fix: exclude empty base_python from loader to avoid config failures

When base_python is empty (e.g., for the galaxy environment which
doesn't follow the {test_type}-py{version}-{ansible} naming pattern),
including it in the MemoryLoader causes tox to fail finding a Python
interpreter. Only include base_python when we have a specific version.

Made-with: Cursor

* test: add coverage for galaxy env without base_python

Add test case for environments like 'galaxy' that don't follow the
standard {test_type}-py{version}-{ansible} naming pattern. This
ensures base_python is excluded from the loader when not applicable.

Made-with: Cursor

* chore: trigger CI

Made-with: Cursor

* ensure we use correct tox versions

---------

Co-authored-by: anushka-shukla-03 <anshukla@redhat.com>
Co-authored-by: Sorin Sbarnea <sorin.sbarnea@gmail.com>

v26.2.1

Toggle v26.2.1's commit message

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature.
chore(deps): update all dependencies (#532)

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>

v26.2.0

Toggle v26.2.0's commit message

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature.
chore: remove sugar argument on pytest (#530)

As pytest-ansible remove dependency on pytest-sugar, we stop using
it.

v26.1.0

Toggle v26.1.0's commit message

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature.
Enable 2.16 still supported by AAP 2.5 (#517)

* Enable 2.16 still supported by AAP 2.5

* tes

* Update size

* Update workflow to ignore tests

* Only ignore for 2.16

v25.12.0

Toggle v25.12.0's commit message

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature.
chore: Add check for platform version (#513)

v25.11.1

Toggle v25.11.1's commit message

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature.
Expects ansible-compat as dependency (#509)

v25.11.0

Toggle v25.11.0's commit message

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature.
Add ansible-core==2.20 (#508)

* Add ansible-core==2.20

* test fix 1

v25.8.0

Toggle v25.8.0's commit message

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature.
Bump actions/checkout from 4 to 5 (#476)

Bumps [actions/checkout](https://github.com/actions/checkout) from 4 to 5.
- [Release notes](https://github.com/actions/checkout/releases)
- [Changelog](https://github.com/actions/checkout/blob/main/CHANGELOG.md)
- [Commits](actions/checkout@v4...v5)

---
updated-dependencies:
- dependency-name: actions/checkout
  dependency-version: '5'
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>