-
Notifications
You must be signed in to change notification settings - Fork 35
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
libadalang test runner on Windows with Python3.8+ cannot find dlls #579
Comments
It seems that we will indeed need to do something similar. We’ll take care of it, thank you for bringing this to our attention! |
Additional find - mypy 0.800 used by the langkit tests is too old for
|
Hello! We are unsure about the best course of action for this issue. For the moment we think that making the Python bindings call With this in mind, our conclusion so far would be that there is nothing to do in Langkit. |
Hello, Some time ago, we introduced a |
Seems that Python changed how it handles dll dependencies in 3.8, and now extra paths need to be added explicitly:
https://docs.python.org/3/library/os.html#os.add_dll_directory
Currently it fails with a message something along the lines of:
As a cheap and nasty hack, the following in module_py.mako just above the LoadLibrary call seems to work, but could probably be improved:
langkit/langkit/templates/python_api/module_py.mako
Line 79 in d79dfd3
The text was updated successfully, but these errors were encountered: