-
Notifications
You must be signed in to change notification settings - Fork 40
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
poetry install
subtly fails to install python-ldap
#1510
Comments
I already discussed a (different, but related?) "
I had in mind that it was also necessary to install (some of) these as well (on Debian/Ubuntu):
Yes, I might recall this behaviour, I do not know the reason, and I agree that Poetry should fail with a clear error message.
That seems to make sense. And then again, I wonder what is the point of Maybe if it was possible to have the build dependencies of Also |
Well... that is not going well... :D |
Thanks for catching me up. Stupid question: could In the end, all I want is a development set-up of MXCuBE-Web that Just Works ™️, with commands I can copy-paste and as few surprises as possible. 😂 |
Yes that was what I wondered here as well:
Yes, of course, me too. But, from my point of view there is no such thing. Or at least, I have not found out how.
Yes... we thought we had something reasonable, but as you just demonstrated here, we were wrong... :'( ... I am not giving up yet :D |
I'm setting up
mxcubeweb
on a new machine again, and I'm hitting the same problem I hit every time, and which always takes me ages to figure out. Here are the steps I follow, as per the documentation (except withmicromamba
instead ofconda
):Clone
mxcubeweb
andcd
into it.Run:
Start the server:
After a while, it all comes back to me: I remember to run
poetry install
again, which reveals an error withpython-ldap
:The fix is easy:
From what I understand, there's no way around having to compile
python-ldap
. So to save me (and maybe others) some hair pulling next time, should we maybe update the documentation of MXCuBE-Web to recommend:build-essential
as a prerequisite;poetry install
twice in a row to reveal any errors that may have occurred the first time around?That being said, I'd be curious to know why poetry doesn't bring out the error more clearly the first time around... It really looks like the command completes normally. 😑
The text was updated successfully, but these errors were encountered: