Bug 1213196 - python-jsonschema 4.18 breaks python-asdf
Summary: python-jsonschema 4.18 breaks python-asdf
Status: RESOLVED FIXED
Alias: None
Product: openSUSE Tumbleweed
Classification: openSUSE
Component: Python (show other bugs)
Version: Current
Hardware: Other Other
: P5 - None : Normal (vote)
Target Milestone: ---
Assignee: Daniel Garcia
QA Contact: E-mail List
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2023-07-11 06:37 UTC by Daniel Garcia
Modified: 2023-07-18 05:21 UTC (History)
4 users (show)

See Also:
Found By: ---
Services Priority:
Business Priority:
Blocker: ---
Marketing QA Status: ---
IT Deployment: ---
mcepl: needinfo? (daniel.garcia)


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Daniel Garcia 2023-07-11 06:37:28 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/
Comment 1 Daniel Garcia 2023-07-11 06:41:15 UTC
There's a work in progress PR upstream to solve this issue: https://github.com/asdf-format/asdf/pull/1490
Comment 2 Markéta Machová 2023-07-11 07:59:52 UTC
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
Comment 3 Oliver Schwabedissen 2023-07-14 04:39:22 UTC
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.
Comment 4 Daniel Garcia 2023-07-14 06:26:21 UTC
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.
Comment 6 Daniel Garcia 2023-07-18 05:21:23 UTC
The new package jsonschema417-4.17.3-1.1.noarch fixes the issue.