Skip to content

Conversation

@stotko
Copy link
Member

@stotko stotko commented Oct 16, 2024

When collecting the list of DLL directories for all potential dependencies on Windows, relative paths such as . may be part of them. However, these will raise an exception when they are passed to the DLL search paths via os.add_dll_directory(...). Filter relative paths and ignore them as their corresponding absolute paths will not be reliable anyways due to the unpredictable base directory that is picked.

@stotko stotko added the fixed label Oct 16, 2024
@stotko stotko merged commit 624362d into main Oct 16, 2024
24 checks passed
@stotko stotko deleted the absolute_dll_path branch October 16, 2024 09:27
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants