8000 fix: normalize haskell libraries that have no version component by swest50 · Pull Request #52 · LLNL/dapper · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

fix: normalize haskell libraries that have no version component #52

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
Jan 31, 2025

Conversation

swest50
Copy link
Collaborator
@swest50 swest50 commented Jan 22, 2025

Some Haskell library names (libHS prefix) may only have the suffix denoting the ghc compiler version used (e.g. -ghc8.6.5).

This fixes a bug in the Python implementation of the Haskell name normalization.
Corresponds to PR #46 which fixed the same issue in the Rust library.

This change adds a test to check that this case is normalized correctly, and fixes the normalization function to treat the version number component as optional.

@nightlark nightlark merged commit 8b260ee into main Jan 31, 2025
9 checks passed
@nightlark nightlark deleted the fix-python-haskell-normalization branch January 31, 2025 18:33
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
0