============================= test session starts ============================== platform linux -- Python 3.10.1, pytest-6.2.5, py-1.11.0, pluggy-0.13.1 rootdir: /build/gunicorn/src/gunicorn-20.1.0, configfile: setup.cfg, testpaths: tests/ plugins: cov-2.12.1 collected 224 items tests/test_arbiter.py ............ [ 5%] tests/test_config.py ................................................... [ 28%] .... [ 29%] tests/test_http.py .................... [ 38%] tests/test_invalid_requests.py ....................... [ 49%] tests/test_logger.py ...... [ 51%] tests/test_pidfile.py ..... [ 54%] tests/test_reload.py .. [ 54%] tests/test_sock.py ..... [ 57%] tests/test_ssl.py ....... [ 60%] tests/test_statsd.py ....... [ 63%] tests/test_systemd.py .... [ 65%] tests/test_util.py .......................................... [ 83%] tests/test_valid_requests.py .................................. [ 99%] tests/workers/test_geventlet.py F [ 99%] tests/workers/test_ggevent.py . [100%] =================================== FAILURES =================================== _________________________________ test_import __________________________________ # -*- coding: utf-8 - # # This file is part of gunicorn released under the MIT license. # See the NOTICE for more information. from functools import partial import sys try: > import eventlet E ModuleNotFoundError: No module named 'eventlet' gunicorn/workers/geventlet.py:10: ModuleNotFoundError During handling of the above exception, another exception occurred: def test_import(): > __import__('gunicorn.workers.geventlet') tests/workers/test_geventlet.py:7: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ # -*- coding: utf-8 - # # This file is part of gunicorn released under the MIT license. # See the NOTICE for more information. from functools import partial import sys try: import eventlet except ImportError: > raise RuntimeError("eventlet worker requires eventlet 0.24.1 or higher") E RuntimeError: eventlet worker requires eventlet 0.24.1 or higher gunicorn/workers/geventlet.py:12: RuntimeError =============================== warnings summary =============================== ../../../../usr/lib/python3.10/site-packages/packaging/version.py:111: 260 warnings /usr/lib/python3.10/site-packages/packaging/version.py:111: DeprecationWarning: Creating a LegacyVersion has been deprecated and will be removed in the next major release warnings.warn( -- Docs: https://docs.pytest.org/en/stable/warnings.html ---------- coverage: platform linux, python 3.10.1-final-0 ----------- Coverage XML written to file coverage.xml =========================== short test summary info ============================ FAILED tests/workers/test_geventlet.py::test_import - RuntimeError: eventlet ... ============ 1 failed, 223 passed, 260 warnings in 85.44s (0:01:25) ============ ==> ERROR: A failure occurred in check().  Aborting...