[Freeipa-devel] [freeipa PR#671][comment] Slim down dependencies

MartinBasti freeipa-github-notification at redhat.com
Tue May 2 15:46:04 UTC 2017


  URL: https://github.com/freeipa/freeipa/pull/671
Title: #671: Slim down dependencies

MartinBasti commented:
"""
Due missing jinja, tox tests failed

```
ERROR:   py27: commands failed
ERROR:   py35: commands failed
ERROR:   py36: commands failed
ERROR:   pylint2: commands failed
ERROR:   pylint3: commands failed
```

Tests
```
ImportError while importing test module '/tmp/freeipa/.tox/py36/lib/python3.6/site-packages/ipatests/test_ipaclient/test_csrgen.py'.
Hint: make sure your test modules/packages have valid Python names.
Traceback:
test_ipaclient/test_csrgen.py:8: in <module>
    from ipaclient import csrgen
../ipaclient/csrgen.py:23: in <module>
    import jinja2
E   ModuleNotFoundError: No module named 'jinja2'

```

pylint
```
************* Module ipaclient.csrgen
lib/python3.5/site-packages/ipaclient/csrgen.py:23: [E0401(import-error), ] Unable to import 'jinja2')
lib/python3.5/site-packages/ipaclient/csrgen.py:24: [E0401(import-error), ] Unable to import 'jinja2.ext')
lib/python3.5/site-packages/ipaclient/csrgen.py:25: [E0401(import-error), ] Unable to import 'jinja2.sandbox')
```
"""

See the full comment at https://github.com/freeipa/freeipa/pull/671#issuecomment-298675008


More information about the Freeipa-devel mailing list