Skip to content

fixed #12753 - do not look for extension-less library files #7538

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

Merged
merged 1 commit into from
Jun 6, 2025

Conversation

firewave
Copy link
Collaborator

No description provided.

@firewave firewave force-pushed the lib-noext branch 6 times, most recently from e596241 to b623647 Compare May 31, 2025 17:41
@firewave

This comment was marked as resolved.

@firewave firewave changed the title fixed #12753 - do not look for extension-less library files / added more tests fixed #12753 - do not look for extension-less library files May 31, 2025
@firewave firewave force-pushed the lib-noext branch 2 times, most recently from 5636d40 to 445378d Compare June 2, 2025 08:22
@firewave firewave marked this pull request as ready for review June 2, 2025 08:23
@firewave
Copy link
Collaborator Author

firewave commented Jun 2, 2025

@ludviggunne maybe also review since you looked into something related. Thanks!


// TODO: what if the extension is not .cfg?
// only append extension when we provide the library name and not a path - TODO: handle relative paths?
if (!is_abs_path && Path::getFilenameExtension(fullfilename).empty())
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Maybe only allow extensionless as a shorthand if it's a single word? If you're supplying a path you might as well supply the whole filename.

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I was thinking the same thing. That's what the TODO is about. Will file a ticket about it and address it as a whole when the behavior is mostly aligned (i.e. no more TODO/skip/xfail in the Python test).

@firewave firewave merged commit 41a9689 into danmar:main Jun 6, 2025
53 checks passed
@firewave firewave deleted the lib-noext branch June 6, 2025 11:20
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