In 
https://github.com/openstreetmap/openstreetmap-website/commit/045f0ac1bec2797b1e8f743d88d1a58687af24c7
 we updated dry-schema from 1.13.4 to 1.14.0. We're now getting build failures 
with the message:

```
SyntaxError: 
/var/lib/gems/3.1.0/gems/dry-schema-1.14.0/lib/dry/schema/dsl.rb:185: no 
anonymous block parameter
```

I've checked that using an older version of dry-schema (and dry-validation, 
which depends on this) works fine:

```
gem "dry-schema", "= 1.13.0"
gem "dry-validation", "= 1.10.0"
```

I suspect this is due to https://bugs.ruby-lang.org/issues/18673 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).

https://packages.debian.org/bookworm/ruby3.1

I think options include pinning dry-schema to 1.13.4, or figuring out if debian 
need to update their ruby, or something else?

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

Message ID: <openstreetmap/openstreetmap-website/issues/[email protected]>
_______________________________________________
rails-dev mailing list
[email protected]
https://lists.openstreetmap.org/listinfo/rails-dev

Reply via email to