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

Ouverte
#89 2 commentaires 1 réaction 0 personnes assignées Voir sur GitHub

Personne n'a encore pris cette issue.

Évaluation

Difficulté
4/5
Temps estimé
3-5 jours
Accessibilité débutants
35/100
Type d'issue
Fonctionnalité
Clarté
Plutôt claire
Activité
À l'abandon
Stack technique
python
Domaine
backend, testing

Piste de recherche

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.

Rédigé par le modèle d'indexation à partir du texte de l'issue.

Description

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 😭

Langage dominant
Python
Étoiles
281
Forks
35
Métriques de merge des PR
Aucune PR mergée en 30 j

Préparer son environnement

Par où commencer

  1. Lisez l'issue en entier, puis le guide de contribution du projet.
  2. Signalez en commentaire que vous la prenez — cela évite que deux personnes fassent le même travail.
  3. Forkez le dépôt et travaillez sur une branche.
  4. Ouvrez une pull request qui référence le numéro de l'issue.

Autres issues de python-jsonschema/hypothesis-jsonschema

Toutes les issues de python-jsonschema/hypothesis-jsonschema

Issues similaires

Plus d'issues Python

Recevez les nouvelles issues par e-mail

Un résumé court des issues GitHub adaptées aux débutants.