Use the `jsonschema==4.0` interface and test against new schema versions

Offen
#89 2 Kommentare 1 Reaktion 0 zugewiesene Personen Auf GitHub ansehen

Dieses Issue hat noch niemand übernommen.

Bewertung

Schwierigkeit
4/5
Geschätzter Aufwand
3-5 Tage
Anfängerfreundlichkeit
35/100
Issue-Typ
Feature
Klarheit
Größtenteils klar
Aktivitätsstatus
Veraltet
Tech-Stack
python
Bereich
backend, testing

Rechercherichtung

Read the linked jsonschema 4.0 changelog, then inspect the tests and gen_schemas mentioned in the issue. Check how the project handles Drafts 2020-12 and 2019-09, including the changed items semantics and schema keywords. Done means tests cover the supported draft behavior and obsolete skips or workarounds are removed where the validation fix permits.

Vom Indexierungsmodell aus dem Issue-Text verfasst.

Beschreibung

See https://github.com/Julian/jsonschema/blob/main/CHANGELOG.rst#v400 and update tests etc. to check for the (partially) supported Drafts 2020-12 and 2019-09. Also maybe the False != 0 validation fix will allow some test skips or workarounds to be removed?

array items have changed semantics in new drafts too, yay; we'll need to test against more schemas and update gen_schemas to support the new keywords 😭

Vorherrschende Sprache
Python
Sterne
281
Forks
35
PR-Merge-Kennzahlen
Keine gemergten PRs in 30 T.

Entwicklungsumgebung

Erste Schritte

  1. Lesen Sie das ganze Issue und danach den Beitragsleitfaden des Projekts.
  2. Schreiben Sie ins Issue, dass Sie es übernehmen — das erspart doppelte Arbeit.
  3. Forken Sie das Repository und arbeiten Sie in einem Branch.
  4. Öffnen Sie einen Pull Request, der die Issue-Nummer nennt.

Mehr aus python-jsonschema/hypothesis-jsonschema

Alle Issues in python-jsonschema/hypothesis-jsonschema

Ähnliche Issues

Weitere Issues zu Python

Neue Issues direkt in Ihr Postfach

Eine kurze Übersicht über anfängerfreundliche GitHub-Issues.