New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Correct PyPI package dependencies #702
Conversation
|
For backport to 4.5 ticket and agreement on ticket triage must be done |
|
With recent changes, 4.5 needs a different patch. Let's merge this one and I'll prepare a new one with a ticket another time. |
|
Pylint targets are failing with following errror |
* Remove unused install requires from ipapython * Add missing requirements to ipaserver * Correct dependencies for yubico otptoken * Add explicit dependency on cffi for csrgen * Python 2 uses python-ldap, Python 3 pyldap https://pagure.io/freeipa/issue/6875 Signed-off-by: Christian Heimes <cheimes@redhat.com>
pip install foo foo[more] does not install the extra dependencies 'more' of foo. It's a known bug in pip, see pypa/pip#4391 (comment) and pypa/pip#988 The same bug applies to pip wheel. As a workaround pip wheel first builds extra dependencies, then wheel dependencies. This ensures that ipaclient[otptoken_yubikey] dependencies get built properly. Signed-off-by: Christian Heimes <cheimes@redhat.com>
|
You are running into a pip bug. I've added band-aid for the issue. To speed up testing, tox caches packages. I guess I never ran into the problem because I had the packages pre-build and cached. |
Signed-off-by: Christian Heimes cheimes@redhat.com
Needs backport to 4.5 for 4.5.1 PyPI packaging.