This is a minimal package to reproduce a bug I am seeing with poetry, tox and overlapping extras.
To reproduce:
python3 -m venv .venv
./.venv/bin/python -m pip install "tox<4.1.2"
./.venv/bin/toxWill raise an error:
pip._vendor.packaging.markers.InvalidMarker: Invalid marker: 'or extra == "extras2"', parse error at 'or extra'This bug was fixed in tox 4.1.2 via #2792
Still seeing this bug in tox==4.1.3 when dependencies fall into >2 groups. Minimal example has been updated.