Skip to content
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

Library: removed "one path down" from library lookup #6549

Merged
merged 1 commit into from
Jul 1, 2024

Conversation

firewave
Copy link
Collaborator

No description provided.

@firewave
Copy link
Collaborator Author

CC @chrchr-github

I first assumed this is some ancient workaround for cases where we did not copy all the configuration files but this is not the case.

This was added in #5082 and looks quite suspect. Looking at how many commits where done it is possible this is just some leftover.

Also this is not a valid location for the files to exist in and if it were this would need to be applied to all paths and files we load but it is not.

As it was only introduced recently (exactly 13 months ago) and was applied inconsistently I do not think we need to do an intermediate deprecation or error step and can simply remove it.

I still would like to get the Python tests into the Cygwin and MinGW steps to make sure this actually works (testing it locally is next to impossible because of the abysmal linking times which are somehow a multiple of the ones seen in the CI).

@chrchr-github
Copy link
Collaborator

I have no idea why I added that anymore, presumably to fix a test. I'm fine with removing it.

@firewave firewave force-pushed the lib-rel branch 3 times, most recently from f78372a to f166cd1 Compare June 27, 2024 08:30
@firewave firewave force-pushed the lib-rel branch 2 times, most recently from 01eeb3c to 800eb9e Compare July 1, 2024 08:46
@firewave
Copy link
Collaborator Author

firewave commented Jul 1, 2024

Adding the tests highlights that we cannot hard-code the path separator in Windows binaries as it depends on the underlying command-line interface.

I made some changes in the past which normalized all internal paths into a front-slash but those were reverted shortly after.

So adding the tests needs to be be done separately and the actual change need to be applied without any tests for now.

@firewave firewave marked this pull request as ready for review July 1, 2024 12:06
@firewave firewave merged commit 5b86f87 into danmar:main Jul 1, 2024
63 checks passed
@firewave firewave deleted the lib-rel branch July 1, 2024 14:40
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants