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 installation/testing on Debian with OSSP::UUID #2

Merged
merged 1 commit into from Apr 25, 2024

Conversation

JRaspass
Copy link
Contributor

On Debian it's possible to install libossp-uuid-perl which provides a compatible Data::UUID interface. Historically I believe this was for license reasons but there are functional differences too like OSSP providing (and defaulting) to a version 4 (random) UUID which Data::UUID doesn't support.

Becuase the version numbers are wildly different, not specifying our minimum version makes packaging a lot easier also because OSSP correctly produces a lowercase UUID as per the spec then our tests fail without an added uppercase. There's an upstream issue on Data::UUID tracking the mismatched case - bleargh45/Data-UUID#34

This PR is very similar to #1 but with the added uc to make the tests pass on Debian under libossp-uuid-perl.

On Debian it's possible to install libossp-uuid-perl which provides a
compatible Data::UUID interface. Historically I believe this was for
license reasons but there are functional differences too like OSSP
providing (and defaulting) to a version 4 (random) UUID which Data::UUID
doesn't support.

Becuase the version numbers are wildly different, not specifying our
minimum version makes packaging a lot easier also because OSSP correctly
produces a lowercase UUID as per the spec then our tests fail without an
added uppercase. There's an upstream issue on Data::UUID tracking the
mismatched case - bleargh45/Data-UUID#34
@exodist exodist merged commit 556af7b into Test-More:master Apr 25, 2024
exodist added a commit that referenced this pull request Apr 25, 2024
    - Fix a debian issue (#2)
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.

None yet

2 participants