See
https://lists.fedoraproject.org/archives/list/python-devel@lists.fedorapr...
particularly:
copr-backend
copr-frontend
copr-dist-git
copr-frontend
copr-keygen
copr-rpmbuild
python-copr
use:
python3-mock
python3-simplejson
Could you please see how hard it is to get rid of those? For
compatibility with Python 2 + 3, you can always do:
try:
from unittest import mock
except ImportError:
# Python 2 version depends on mock
import mock
and:
try:
# Python 2 version depends on simplejson
import simplejson as json
except ImportError:
import json
If you have dependencies in setup.py, you can do something like:
https://github.com/zopefoundation/ZEO/blob/master/setup.py#L137
https://github.com/qtile/qtile/blob/develop/setup.py#L95
or
https://www.python.org/dev/peps/pep-0508/
See also
https://hynek.me/articles/conditional-python-dependencies/
Thank you,
--
Miro Hrončok
--
Phone: +420777974800
IRC: mhroncok