Skip to content

depend: improve Windows pylib detection #4204

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

Closed
wants to merge 1 commit into from
Closed

depend: improve Windows pylib detection #4204

wants to merge 1 commit into from

Conversation

karolyi
Copy link

@karolyi karolyi commented Apr 29, 2019

Allow pylib detection when VERSION.dll is a dependency of python.exe
rather than pythonXY.dll

If libpython is not detected uses the dependency checker to look for a
dll matching the pattern pythonXY.dll using the same method as
automated detection.

Checks after automated detection and only on windows systems.

Fixes #3942
Refers #3956

Allow pylib detection when VERSION.dll is a dependency of python.exe
rather than pythonXY.dll

If libpython is not detected uses the dependency checker to look for a
dll matching the pattern pythonXY.dll using the same method as
automated detection.

Checks after automated detection and only on windows systems.

Fixes #3942
@karolyi
Copy link
Author

karolyi commented Apr 29, 2019

@lkollar
Copy link
Contributor

lkollar commented May 1, 2019

Looks like the build was failing because of the change in pip 19.1 which disables editable installations in PEP-517 builds. @bjones1 merged a workaround recently: 06f7da7. You should amend your change and force push to retrigger the build.

@karolyi
Copy link
Author

karolyi commented May 1, 2019

Nope, that commit is still breaking the CI. See #3956 (comment)

@lkollar
Copy link
Contributor

lkollar commented May 1, 2019

Apologies, I did not see the discussion on the issue. Hopefully pip 19.1.1 will be released soon and no pinning will be necessary anymore: pypa/pip#6449

@bjones1
Copy link
Contributor

bjones1 commented May 12, 2019

Thanks for your contribution! I merged this in 80941bc.

@bjones1 bjones1 closed this May 12, 2019
@github-actions github-actions bot locked as resolved and limited conversation to collaborators Nov 16, 2022
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

python .dll not found in virtual environment
3 participants