-
-
Notifications
You must be signed in to change notification settings - Fork 312
Closed
Labels
Milestone
Description
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):
dpkg -l | grep -i pydantic
ii python3-pydantic 1.8.2-1 all Data validation and settings management using Python type hintingAnd a small script to test/reproduce (Debian sid):
docker run -it debian:sid
apt update -y && apt install python3-pydanticfrom pydantic import BaseModel, Field
class Foo(BaseModel):
api_version: str = Field(regex=r'^\d+\.\d+\..+$',
description="Semantic API version number.")
f = Foo(api_version='1.0.0')Reactions are currently unavailable