json-schema-org / json-schema-spec

The JSON Schema specification
http://json-schema.org/
Other
3.82k stars 266 forks source link

validating format of date-time produces irregular result between python versions #1427

Closed FreyGeospatial closed 1 year ago

FreyGeospatial commented 1 year ago

I am using jsonschema with some unit tests. I expect "2023-07-28" to fail against format keyword with value date-time. In Python 3.10, this fails as expected. In python 3.8 and 3.8.10, this does NOT fail.