Skip to content

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