mirror of
https://salsa.debian.org/freeipa-team/freeipa.git
synced 2025-02-25 18:55:28 -06:00
Band-aid for pip dependency bug
pip install foo foo[more] does not install the extra dependencies 'more' of foo. It's a known bug in pip, see https://github.com/pypa/pip/issues/4391#issuecomment-290712930 and https://github.com/pypa/pip/issues/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> Reviewed-By: Martin Basti <mbasti@redhat.com>
This commit is contained in:
parent
26ab51ddf4
commit
994d24d288
@ -295,7 +295,7 @@ wheel_bundle: $(WHEELBUNDLEDIR) bdist_wheel .wheelconstraints
|
||||
--find-links $(WHEELDISTDIR) \
|
||||
--find-links $(WHEELBUNDLEDIR) \
|
||||
--wheel-dir $(WHEELBUNDLEDIR) \
|
||||
$(IPA_WHEEL_PACKAGES) $(IPA_EXTRA_WHEELS)
|
||||
$(IPA_EXTRA_WHEELS) $(IPA_WHEEL_PACKAGES)
|
||||
|
||||
pypi_packages: $(WHEELPYPIDIR) .wheelconstraints
|
||||
rm -f $(WHEELPYPIDIR)/*
|
||||
|
Loading…
Reference in New Issue
Block a user