If enum34 is a requirement of pyangbind, then pyangbind would not be able to support Python 3.6 / 3.7, since the lib enum34 is not compatible with Python 3.6 and later versions.
E.g. when I try to run an application in python 3.7 with pyangbind imported, I got the following error:
Traceback (most recent call last):
File "bin/generate_yang_modules", line 49, in
import app_scripts.generate_yang_modules
File "/bbnet/home/kchen34/git/bnop_driver/app_scripts/init.py", line 2, in
import("pkg_resources").declare_namespace(name)
File "/bb/bin/package/p/python3.7-venv-bnop/1.0.1+b20181029T17473333/libexec/python3.7-venv-bnop/lib/python3.7/site-packages/pkg_resources/init.py", line 24, in
import re
File "/bb/sys/package/p/python3.7-venv-bnop/1.0.1+b20181029T17473333/libexec/python3.7-venv-bnop/lib/python3.7/re.py", line 143, in
class RegexFlag(enum.IntFlag):
AttributeError: module 'enum' has no attribute 'IntFlag'
If enum34 is a requirement of pyangbind, then pyangbind would not be able to support Python 3.6 / 3.7, since the lib enum34 is not compatible with Python 3.6 and later versions.
E.g. when I try to run an application in python 3.7 with pyangbind imported, I got the following error:
Traceback (most recent call last):
File "bin/generate_yang_modules", line 49, in
import app_scripts.generate_yang_modules
File "/bbnet/home/kchen34/git/bnop_driver/app_scripts/init.py", line 2, in
import("pkg_resources").declare_namespace(name)
File "/bb/bin/package/p/python3.7-venv-bnop/1.0.1+b20181029T17473333/libexec/python3.7-venv-bnop/lib/python3.7/site-packages/pkg_resources/init.py", line 24, in
import re
File "/bb/sys/package/p/python3.7-venv-bnop/1.0.1+b20181029T17473333/libexec/python3.7-venv-bnop/lib/python3.7/re.py", line 143, in
class RegexFlag(enum.IntFlag):
AttributeError: module 'enum' has no attribute 'IntFlag'