[openstreetmap/openstreetmap-website] Restrict version of dry-schema for ruby 3.1.2 compatibility (PR #5483)

Andy Allan notifications at github.com
Wed Jan 8 16:23:33 UTC 2025


https://bugs.ruby-lang.org/issues/18673 affects some methods using anonymous blocks, and was fixed in ruby 3.1.3. However, debian/bookworm ruby 3.1 package is based on 3.1.2 and does not yet contain this fix.

Since bookworm is used in our Docker build, and also used in production by OSMF, then we can restrict dry-schema to a version that does not use anonymous blocks.

Fixes #5482

You can view, comment on, or merge this pull request online at:

  https://github.com/openstreetmap/openstreetmap-website/pull/5483

-- Commit Summary --

  * Restrict version of dry-schema for ruby 3.1.2 compatibility

-- File Changes --

    M Gemfile (1)
    M Gemfile.lock (19)

-- Patch Links --

https://github.com/openstreetmap/openstreetmap-website/pull/5483.patch
https://github.com/openstreetmap/openstreetmap-website/pull/5483.diff

-- 
Reply to this email directly or view it on GitHub:
https://github.com/openstreetmap/openstreetmap-website/pull/5483
You are receiving this because you are subscribed to this thread.

Message ID: <openstreetmap/openstreetmap-website/pull/5483 at github.com>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstreetmap.org/pipermail/rails-dev/attachments/20250108/237f4e78/attachment-0001.htm>


More information about the rails-dev mailing list