Bugzilla – Bug 1213196
python-jsonschema 4.18 breaks python-asdf
Last modified: 2023-07-18 05:21:23 UTC
python-asdf is not compatible with python-jsonschema 4.18 [1]. The latest update breaks the python-asdf installation in tumbleweed making it impossible to install python-asdf and giving error on distribution update for people with that package installed. # zypper in python310-asdf Loading repository data... Reading installed packages... Resolving package dependencies... Problem: nothing provides '(python310-jsonschema >= 4.0.1 with python310-jsonschema < 4.18)' needed by the to be installed python310-asdf-2.15.0-1.3.noarch Solution 1: do not install python310-asdf-2.15.0-1.3.noarch Solution 2: break python310-asdf-2.15.0-1.3.noarch by ignoring some of its dependencies Choose from above solutions by number or cancel [1/2/c/d/?] (c): I found this bug in the opensuse reddit community [2] [1] https://github.com/asdf-format/asdf/issues/1485 [2] https://www.reddit.com/r/openSUSE/comments/14vtmqt/issue_with_package_conflict_when_running_dup_on/
There's a work in progress PR upstream to solve this issue: https://github.com/asdf-format/asdf/pull/1490
Now we have jsonschema417 as a workaround in devel:languages:python (soon in Factory): https://build.opensuse.org/package/show/devel:languages:python/python-jsonschema417
Similar problem here for me when trying to do a 'dup' from snapshot 20230710 to the next snapshot 20230712: 2 Problems: Problem: the to be installed python310-nbformat-5.9.0-2.1.noarch requires '(python310-jsonschema > 2.6 with python310-jsonschema < 4.18)', but this requirement cannot be provided Problem: the to be installed python311-nbformat-5.9.0-2.1.noarch requires '(python311-jsonschema > 2.6 with python311-jsonschema < 4.18)', but this requirement cannot be provided python31?-jsonschema 4.18 was installed on July 9th as part of snapshot 20230707. Should I wait for a downgrade to python-jsonschema417 or lock python31?-nbformat (currently installed 5.9.0-1.2) as this conflict blocks installation of the current snapshot.
This should be fixed now in Tumbleweed. I've tested and now the package python311-jsonschema417-4.17.3-1.1.noarch should be available in the repository. It'll conflict with the python-jsonschema, so some packages will be incompatibles because of this.
The new package jsonschema417-4.17.3-1.1.noarch fixes the issue.