-
Notifications
You must be signed in to change notification settings - Fork 1
Installation via pip : a transitive dependency not installed in a very specific case #388
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
Comments
There is a mystery with this base image |
Perhaps the native packages |
I've tried this but I found an interesting path : In this datatool spark image, When this package is removed before installing khiops-python, the 3 python modules are installed by pip as transitive dependencies with the correct versions : cryptography-44.0.2, cffi-1.17.1, pycparser-2.22. To me it means that we have to ask for a minimal version of cryptography |
Or perhaps using the Conda package in a Conda environment could provide a better insulation from the underlying system? Or else, for a system-wide + Pip setup, force the installation, via Pip, of the correct |
@MathieuCoupe : could you please take into account the latest suggestions (instead of forcing the sole installation of cffi 1.17.1) and ask to close this issue if you are satisfied with the proposal ? At the project level we do not see what modification could handle such subtle specificity of the target environement. |
A possible resolution path consists in pinning However, we need to investigate whether this constraint should also be enforced in the Conda package metadata, via an addition of |
Description
When installing khiops-python via pip, it appears that the required transitive dependency "cffi" is not installed in a very specific case (and an exception is raised at runtime) :
The cffi package is missing
In a successful installation (say with base image
dockerproxy.repos.tech.orange/python:3.9-slim-bullseye
), it seems fineWe can see also the following packages are missing in the bogus case :
The text was updated successfully, but these errors were encountered: