Open Zeitsperre opened 3 weeks ago
PR welcome to fix it 🤔
I'd be interested to try my hand at figuring out where the problem is, but I wouldn't know where to start. How exactly does the hook get called for tox-gh
? I'm guessing that tox.plugin.impl
is called during setup?
Yeah tox uses pluggy to allow code injection, see the impl annotations here https://github.com/tox-dev/tox-gh/blob/main/src/tox_gh/plugin.py#L64
https://tox.wiki/en/latest/plugins.html documents each end point and when is called
This seems to occur only with tox.ini
configuration. Migrating to pyproject.toml
resulted in proper operation.
It appears that some behaviour has changed in v1.4.4 and is preventing the proper environment from being run. See: https://github.com/Ouranosinc/figanos/actions/runs/11669868968/job/32492859426
Note in the logs that
tox-gh
is correctly identifying that it is running in GitHub Workflows:But after running the tests for the proper environment, it continues with others:
The previous versions running in my CI (tox==4.21.0, tox-gh==1.3.2) worked as expected.