Uploaded image for project: 'Python Driver'
  1. Python Driver
  2. PYTHON-3793

tox succeeds even with invalid environment

    • Type: Icon: Task Task
    • Resolution: Fixed
    • Priority: Icon: Unknown Unknown
    • 4.5
    • 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?

            Assignee:
            noah.stapp@mongodb.com Noah Stapp
            Reporter:
            shane.harvey@mongodb.com Shane Harvey
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: