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

Vary commonmarker pin depending on Ruby version #761

Merged
merged 2 commits into from
Jan 7, 2025

Conversation

mjgiarlo
Copy link
Member

@mjgiarlo mjgiarlo commented Jan 7, 2025

Why was this change made?

Ruby 3.4 is unsupported in commonmarker until v2.0.2, but v2.0.2 breaks Ruby 3.3. See gjtorikian/commonmarker#333 for the underlying issue. This change allows cocina-models dependents to use either Ruby 3.3 or 3.4. Ultimately we hope that an eventual v2.0.3 release will work on both rubies, and we can remove this logic. I'm tracking the issues/pulls related to this bug, and will follow up when I see that it has been resolved.

How was this change tested?

CI

Ruby 3.4 is unsupported until commonmarker 2.0.2, but 2.0.2 breaks Ruby 3.3. See gjtorikian/commonmarker#333. This change allows cocina-models dependents to use either Ruby 3.3 or 3.4.
@mjgiarlo mjgiarlo force-pushed the unpin-commonmarker branch from fd3802d to f58a929 Compare January 7, 2025 20:19
@mjgiarlo mjgiarlo changed the title Unpin and bump commonmarker Vary commonmarker pin depending on Ruby version Jan 7, 2025
@justinlittman justinlittman merged commit fc8229a into main Jan 7, 2025
6 checks passed
@justinlittman justinlittman deleted the unpin-commonmarker branch January 7, 2025 20:23
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