action #89206
Updated by livdywan almost 4 years ago
## Observation
from https://travis-ci.org/github/os-autoinst/openqa_review/builds/760568521?utm_source=github_status&utm_medium=notification
```
ImportError while importing test module '/home/travis/build/os-autoinst/openqa_review/tests/test_tumblesle_release.py'.
Hint: make sure your test modules/packages have valid Python names.
Traceback:
tests/test_tumblesle_release.py:15: in <module>
from openqa_review import tumblesle_release # SUT
.tox/py27/lib/python2.7/site-packages/openqa_review/tumblesle_release.py:38: in <module>
import pika
.tox/py27/lib/python2.7/site-packages/pika/__init__.py:10: in <module>
from pika.connection import ConnectionParameters
.tox/py27/lib/python2.7/site-packages/pika/connection.py:15: in <module>
import pika.callback
.tox/py27/lib/python2.7/site-packages/pika/callback.py:8: in <module>
from pika import frame
.tox/py27/lib/python2.7/site-packages/pika/frame.py:7: in <module>
from pika import spec
.tox/py27/lib/python2.7/site-packages/pika/spec.py:18: in <module>
from pika.exchange_type import ExchangeType
.tox/py27/lib/python2.7/site-packages/pika/exchange_type.py:1: in <module>
from enum import Enum
E ImportError: No module named enum
!!!!!!!!!!!!!!!!!!! Interrupted: 1 errors during collection !!!!!!!!!!!!!!!!!!!!
=========================== 1 error in 0.58 seconds ============================
ERROR: InvocationError for command /home/travis/build/os-autoinst/openqa_review/.tox/py27/bin/py.test (exited with code 2)
```
## Suggestion
- Reproduce [openqa_review](https://github.com/os-autoinst/openqa_review) build locally
- Investigate breakage
- Drop Python2 support (`.travis.yml`, `tox.ini`)