Hi Brian, Enums are a Python 3 feature (3.4 to be precise). No enum in Python 2.x: https://docs.python.org/2/library/index.html
But there exists a Python 2.7 backport: the enum34 package (there are others but I think this one is the most used and standard). See https://pypi.python.org/pypi/enum34/1.1.6 Regards, Nicolas. 2017-05-16 11:39 GMT+02:00 Brian May <br...@linuxpenguins.xyz>: > Hello, > > Trying to build the python-parse-type package on Sid (source is in git > for DPMT), required by python-pytest-bdd, I get the following error > repeated a number of times: > > Traceback: > tests/test_parse_util.py:7: in <module> > from .parse_type_test import TestCase, unittest > tests/parse_type_test.py:3: in <module> > from parse_type import TypeBuilder > parse_type/__init__.py:3: in <module> > from parse_type.cardinality import Cardinality > parse_type/cardinality.py:8: in <module> > from enum import Enum > E ImportError: No module named enum > > Huh? I thought enum is a standed python feature for both versions (2.7 > and 3.5) of python in Sid. > > Any ideas? > -- > Brian May <br...@linuxpenguins.xyz> > https://linuxpenguins.xyz/brian/ > >