Closed ssbarnea closed 5 months ago
I found the change in tox-ansible that triggered this error, and it was an auto-fix from ruff, replacing List[]
type annotation with list[]
, which is perfectly normal considering the used versions of python.
I will now check to see if I can change the type checking in tox itself to prevent it from happening anyway.
Issue
Stacktrace with tox when loading plugin configuration. Based on the error displayed I believe that is not the plugin fault. The loaded configuration option is a list, like below:
I am still trying to fully understand this python typing issue in order to know how to avoid it.
Environment
Provide at least:
Output of
```console ROOT: Using a default tox.ini file with tox-ansible plugin is not recommended. Consider using a tox-ansible.ini file and specify it on the command line (`tox --ansible -c tox-ansible.ini`) to avoid unintentionally overriding the tox-ansible environment configurations. Traceback (most recent call last): File "/Users/ssbarnea/.asdf/installs/python/3.12.3/bin/tox", line 8, inpip list
of the host Python, wheretox
is installedOutput of running tox
Output of
```console ```tox -rvv
Minimal example
https://github.com/ansible-collections/cisco.nxos/actions/runs/9277917412/job/25528009504