Open tomkralidis opened 3 months ago
regex
is replaced by pattern
when migrating from v1
to v2
docs. Atm, pygeoapi
relies only to pydantic v1 while we are waiting for the debian package for v2 (the one based on rust)
The current version in Debian sid
is the latest v1 version 1.10.17
, which already has the renaming from regex
to pattern
included before v2.
Sorry @pantierra, looking at the v1.10.17 tag in the field class I do see a regex
parameter. Can you help me to find where it is the renamed pattern
?
As discussed at FOSS4G Europe 2024 with @EdwardBetts and @pantierra (in support of pygeoapi on Debian):
https://hachyderm.io/@edward/112728302761775798
@EdwardBetts @pantierra can you confirm the Debian version?
On jammy (our current baseline):
And a small script to test/reproduce (Debian sid):