<p></p>
<p dir="auto">In <a class="commit-link" data-hovercard-type="commit" data-hovercard-url="https://github.com/openstreetmap/openstreetmap-website/commit/045f0ac1bec2797b1e8f743d88d1a58687af24c7/hovercard" href="https://github.com/openstreetmap/openstreetmap-website/commit/045f0ac1bec2797b1e8f743d88d1a58687af24c7"><tt>045f0ac</tt></a> we updated dry-schema from 1.13.4 to 1.14.0. We're now getting build failures with the message:</p>
<pre class="notranslate"><code class="notranslate">SyntaxError: /var/lib/gems/3.1.0/gems/dry-schema-1.14.0/lib/dry/schema/dsl.rb:185: no anonymous block parameter
</code></pre>
<p dir="auto">I've checked that using an older version of dry-schema (and dry-validation, which depends on this) works fine:</p>
<pre class="notranslate"><code class="notranslate">gem "dry-schema", "= 1.13.0"
gem "dry-validation", "= 1.10.0"
</code></pre>
<p dir="auto">I suspect this is due to <a href="https://bugs.ruby-lang.org/issues/18673" rel="nofollow">https://bugs.ruby-lang.org/issues/18673</a> which is fixed in ruby 3.1.3, but in debian/bookworm we currently have 3.1.2-7 (and it's not clear to me how to find out which patches debian have backported from 3.1.3 to their version of 3.1.2).</p>
<p dir="auto"><a href="https://packages.debian.org/bookworm/ruby3.1" rel="nofollow">https://packages.debian.org/bookworm/ruby3.1</a></p>
<p dir="auto">I think options include pinning dry-schema to 1.13.4, or figuring out if debian need to update their ruby, or something else?</p>
<p style="font-size:small;-webkit-text-size-adjust:none;color:#666;">—<br />Reply to this email directly, <a href="https://github.com/openstreetmap/openstreetmap-website/issues/5482">view it on GitHub</a>, or <a href="https://github.com/notifications/unsubscribe-auth/AAK2OLKJD4GQ5BEWKQX24HD2JVAYVAVCNFSM6AAAAABU2GKJ5GVHI2DSMVQWIX3LMV43ASLTON2WKOZSG43TKNZQGEZDGNI">unsubscribe</a>.<br />You are receiving this because you are subscribed to this thread.<img src="https://github.com/notifications/beacon/AAK2OLOJ4ODRDFGGY7XB3DL2JVAYVA5CNFSM6AAAAABU2GKJ5GWGG33NNVSW45C7OR4XAZNFJFZXG5LFVJRW63LNMVXHIX3JMTHKK4OW6M.gif" height="1" width="1" alt="" /><span style="color: transparent; font-size: 0; display: none; visibility: hidden; overflow: hidden; opacity: 0; width: 0; height: 0; max-width: 0; max-height: 0; mso-hide: all">Message ID: <span><openstreetmap/openstreetmap-website/issues/5482</span><span>@</span><span>github</span><span>.</span><span>com></span></span></p>
<script type="application/ld+json">[
{
"@context": "http://schema.org",
"@type": "EmailMessage",
"potentialAction": {
"@type": "ViewAction",
"target": "https://github.com/openstreetmap/openstreetmap-website/issues/5482",
"url": "https://github.com/openstreetmap/openstreetmap-website/issues/5482",
"name": "View Issue"
},
"description": "View this Issue on GitHub",
"publisher": {
"@type": "Organization",
"name": "GitHub",
"url": "https://github.com"
}
}
]</script>