-
Type: Task
-
Resolution: Fixed
-
Priority: Unknown
-
Affects Version/s: None
-
Component/s: Evergreen
-
None
tox succeeds even with invalid environment:
$ python -m tox -e does-not-exist .pkg: _optional_hooks> python /Users/shane/work/pycharm/pymongo-py311/lib/python3.11/site-packages/pyproject_api/_backend.py True setuptools.build_meta .pkg: get_requires_for_build_sdist> python /Users/shane/work/pycharm/pymongo-py311/lib/python3.11/site-packages/pyproject_api/_backend.py True setuptools.build_meta .pkg: build_sdist> python /Users/shane/work/pycharm/pymongo-py311/lib/python3.11/site-packages/pyproject_api/_backend.py True setuptools.build_meta does-not-exist: install_package_deps> python -I -m pip install 'dnspython<3.0.0,>=1.16.0' does-not-exist: install_package> python -I -m pip install --force-reinstall --no-deps /Users/shane/git/mongo-python-driver/.tox/.tmp/package/8/pymongo-4.5.0.dev0.tar.gz .pkg: _exit> python /Users/shane/work/pycharm/pymongo-py311/lib/python3.11/site-packages/pyproject_api/_backend.py True setuptools.build_meta does-not-exist: OK (6.12 seconds) congratulations :) (6.15 seconds)
Is there a way to make tox fail in this scenario?