New version of python-jsonschema: Tests failing

Hi all, with a lot of help from you guys I got the dependencies needed for the new version of jsonschema working. I first built all of the dependencies with disabled checks, just to get to the point where jsonschema starts building at all. Now I enabled the %checks and tried to get them working. python-rpds-py, python-jsonschema-specifications and python-referencing are building fine and were already submitted to dlp. python-jsonschema still fails the checks:
https://build.opensuse.org/package/show/home:ojkastl_buildservice:Branch_dev...
[ 29s] resource = _SPECIFICATIONS.get(dialect_id.rstrip("#")) [ 29s] AttributeError: 'NoneType' object has no attribute 'rstrip'
I would be glad if someone could point me in the right direction... Kind Regards, Johannes -- Johannes Kastl Linux Consultant & Trainer Tel.: +49 (0) 151 2372 5802 Mail: kastl@b1-systems.de B1 Systems GmbH Osterfeldstraße 7 / 85088 Vohburg http://www.b1-systems.de GF: Ralph Dehner Unternehmenssitz: Vohburg / AG: Ingolstadt,HRB 3537

Hi, Am 26.03.23 um 14:57 schrieb Johannes Kastl:
Hi all,
with a lot of help from you guys I got the dependencies needed for the new version of jsonschema working.
I first built all of the dependencies with disabled checks, just to get to the point where jsonschema starts building at all.
Now I enabled the %checks and tried to get them working. python-rpds-py, python-jsonschema-specifications and python-referencing are building fine and were already submitted to dlp.
python-jsonschema still fails the checks:
https://build.opensuse.org/package/show/home:ojkastl_buildservice:Branch_dev...
[ 29s] resource = _SPECIFICATIONS.get(dialect_id.rstrip("#")) [ 29s] AttributeError: 'NoneType' object has no attribute 'rstrip'
I would be glad if someone could point me in the right direction...
You have to find out why dialect_id is None instead of a string. Run the test suite in osc shell or locally on your machine with a similar environemnt and debug. `pytest --pdb` might come in handy, despite the regular test suite is not run by pytest. - Ben
Kind Regards, Johannes
participants (2)
-
Ben Greiner
-
Johannes Kastl