FS#73173 - [python-jsonschema] outdated version

Attached to Project: Community Packages
Opened by XazZ (XazZ) - Monday, 27 December 2021, 17:40 GMT
Last edited by David Thurstenson (thurstylark) - Saturday, 12 March 2022, 21:06 GMT
Task Type Bug Report
Category Packages
Status Closed
Assigned To No-one
Architecture All
Severity Low
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 0
Private No

Details

Description:
python-jsonschema 3.2.0 is more than 2 (two) years old.
Additionally it's missing some classes as it can seen with dt-doc-validate from https://aur.archlinux.org/packages/yaml-bindings-git/

Additional info:
* package version: 3.2.0-6
* dt-doc-validate error output:
$ dt-doc-validate
Traceback (most recent call last):
File "/usr/bin/dt-doc-validate", line 16, in <module>
import dtschema
File "/usr/lib/python3.10/site-packages/dtschema/__init__.py", line 1, in <module>
from dtschema.lib import (
File "/usr/lib/python3.10/site-packages/dtschema/lib.py", line 698, in <module>
DTVal = jsonschema.validators.extend(jsonschema.Draft201909Validator, {'typeSize': typeSize, 'phandle': phandle})
AttributeError: module 'jsonschema' has no attribute 'Draft201909Validator'. Did you mean: 'Draft3Validator'?

I am attaching a patch to update python-jsonschema to the latest upstream version which fixes above error.
This task depends upon

Closed by  David Thurstenson (thurstylark)
Saturday, 12 March 2022, 21:06 GMT
Reason for closing:  No response
Comment by Morten Linderud (Foxboron) - Tuesday, 28 December 2021, 12:03 GMT
Have you checked if the 33 dependent packages actually support >=4.0?

Loading...