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

Fix hidden windows failures #359

Closed

Conversation

dalito
Copy link
Contributor

@dalito dalito commented Jan 11, 2025

This fixes two Windows path-related issues that were undetected because of the gh-action.

See runs in #358 for the hidden failures that are fixed by this PR.

Closes linkml/linkml#2490

@dalito dalito force-pushed the issue2460-fix-hidden-windows-failures branch from d60d1a2 to cf9e94b Compare January 11, 2025 10:46
@dalito dalito changed the title Issue2460 fix hidden windows failures Fix hidden windows failures Jan 11, 2025
@dalito dalito closed this Jan 11, 2025
@dalito dalito deleted the issue2460-fix-hidden-windows-failures branch January 11, 2025 10:51
@dalito
Copy link
Contributor Author

dalito commented Jan 11, 2025

Closed because of wrong issue number in branch name.

@@ -152,7 +152,7 @@ def LOCAL_PATH_FOR(source: Source, fmt: Format) -> str:


def GITHUB_IO_PATH_FOR(source: Source, fmt: Format, version="latest") -> str:
path = '/'.join([version, 'linkml_model', *_build_path(source, fmt)])
Copy link
Contributor

Choose a reason for hiding this comment

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

This is for a URL, not an OS path, which is why it joins on / rather than using pathlib. Looks like the pathlib impl should be equivalent but just explaining the manual string munging

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.

[linkml-runtime] Hidden Windows failures in gh-actions
2 participants