RHEL Engineering is moving the tracking of its product development work on RHEL 6 through RHEL 9 to Red Hat Jira (issues.redhat.com). If you're a Red Hat customer, please continue to file support cases via the Red Hat customer portal. If you're not, please head to the "RHEL project" in Red Hat Jira and file new tickets here. Individual Bugzilla bugs in the statuses "NEW", "ASSIGNED", and "POST" are being migrated throughout September 2023. Bugs of Red Hat partners with an assigned Engineering Partner Manager (EPM) are migrated in late September as per pre-agreed dates. Bugs against components "kernel", "kernel-rt", and "kpatch" are only migrated if still in "NEW" or "ASSIGNED". If you cannot log in to RH Jira, please consult article #7032570. That failing, please send an e-mail to the RH Jira admins at rh-issues@redhat.com to troubleshoot your issue as a user management inquiry. The email creates a ServiceNow ticket with Red Hat. Individual Bugzilla bugs that are migrated will be moved to status "CLOSED", resolution "MIGRATED", and set with "MigratedToJIRA" in "Keywords". The link to the successor Jira issue will be found under "Links", have a little "two-footprint" icon next to it, and direct you to the "RHEL project" in Red Hat Jira (issue links are of type "https://issues.redhat.com/browse/RHEL-XXXX", where "X" is a digit). This same link will be available in a blue banner at the top of the page informing you that that bug has been migrated.
Bug 2107998 - Update python-jsonschema to version 4.10.0
Summary: Update python-jsonschema to version 4.10.0
Keywords:
Status: CLOSED WONTFIX
Alias: None
Product: Red Hat Enterprise Linux 9
Classification: Red Hat
Component: python-jsonschema
Version: unspecified
Hardware: Unspecified
OS: Unspecified
medium
medium
Target Milestone: rc
: ---
Assignee: Tomáš Hozza
QA Contact: Release Test Team
URL:
Whiteboard:
Depends On:
Blocks: 2105205
TreeView+ depends on / blocked
 
Reported: 2022-07-18 08:33 UTC by chedi toueiti
Modified: 2022-11-11 09:16 UTC (History)
3 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2022-11-11 09:16:14 UTC
Type: Bug
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Issue Tracker RHELPLAN-127959 0 None None None 2022-07-18 08:38:10 UTC

Description chedi toueiti 2022-07-18 08:33:31 UTC
Description of problem:


I'm a Fedora packager trying to build python-ansible-compat in EPEL9 which depends on python-jsonschema (version 4.6.0 the current one being 3.2.0).

I was wondering if there is any plan on upgrading this package in the future (lifetime of RHEL9).

PS: my package is required to build ansible-lint (see Bugzilla link)

https://bugzilla.redhat.com/show_bug.cgi?id=2105205

Comment 1 Tomáš Hozza 2022-11-07 14:47:27 UTC
Hi.

Thanks for the report.

I discussed this request within the development part of our team and the we are open to updating python3-jsonschema to newer version, since there is only `osbuild` package depending on it in el9 and we maintain it as well.

I wanted to ask whether you would be willing to make a MR in c9s once this bug gets approved for inclusion in the upcoming minor release of RHEL-9? Specifically in https://gitlab.com/redhat/centos-stream/rpms/python-jsonschema

In addition to that, I wanted to ask whether you have any particular 4.x version on your mind? I would propose to take some version from Fedora 37, e.g. https://koji.fedoraproject.org/koji/packageinfo?packageID=13973...

Comment 3 chedi toueiti 2022-11-07 15:27:14 UTC
Hi Tomáš,

I'll be happy to make the MR when the time comes, as for the version, my particular requirement is for 
jsonschema >= 4.6.0 so any of the latest build from f37 will do.

Comment 4 Parag Nemade 2022-11-07 16:51:30 UTC
I would like to request to update to jsonschema-4.10.0 release that is this build https://koji.fedoraproject.org/koji/buildinfo?buildID=2047311 in RHEL-9

Reason: I keep getting requests to keep updated ansible-lint package in EPEL also and it is the upstream who always quick in adapting all new upstream dependencies.

Please consider update jsonschema to 4.10.0 version.

Comment 5 Tomáš Hozza 2022-11-10 15:00:00 UTC
So I gave it a try and tried to update the python-jsonschema in c9s to 4.10.0.

The result is that since version 4.6.0 (specifically https://github.com/python-jsonschema/jsonschema/pull/957) it added requires on "hatchling" and "hatch-vcs". None of them is available in RHEL-9.

I'm not going to request that these packages are added to RHEL-9 and I'm not going to maintain them, nor is our team. The reason is that this would mean additional work and we don't really need newer python-jsonschema in RHEL-9.

So the end result is that even updating to 4.6.0 won't work because of this. And version lower than 4.6.0 won't help much based on comment #3.

I'm sorry, but I don't see may options how to solve this (other than some team within Red Hat that needs this to step up and package these new dependencies and maintain them going forward, ideally also taking on the maintenance of python-jsonschema if there would be need to update it more regularly).

I'll let everyone comment before I close this as WONTFIX.

Comment 6 chedi toueiti 2022-11-10 17:38:14 UTC
Hi @thozza 

First, thanks for the attempt, it's understandable that you can't maintain those extra dependencies. 

Second, since you are stuck in using version 3, could we, as in EPEL9 maintainers, add a new package named python-jsonschema4 more in synch with upstream. 

Either way, feel free to close this bug, unless @pnemade has something to add.

Comment 7 Parag Nemade 2022-11-11 04:35:40 UTC
Thanks Tomáš and Chedi for your update here.

I don't think I have any capacity to maintain it within RHEL currently. But I am happy to help for any Fedora or EPEL work as its voluntary work :)

Comment 8 Tomáš Hozza 2022-11-11 09:16:14 UTC
(In reply to chedi toueiti from comment #6)
> Hi @thozza 
> 
> First, thanks for the attempt, it's understandable that you can't maintain
> those extra dependencies. 

No problem. I naively hoped for this bug to be trivial to resolve, but it as it turned out it's not.

> Second, since you are stuck in using version 3, could we, as in EPEL9
> maintainers, add a new package named python-jsonschema4 more in synch with
> upstream. 

We are in fact stuck with any version prior to 4.6.0 AFAICT. I don't see it happening, but we may end up updating python-jsonschema to a 4.x version, but lower than 4.6.0 in the future.

Personally, I don't see any issue with the newer package being added to EPEL-9 under a different name. However it may be against the policy (it may have to conflict with the RHEL-9 package?). Given the situation in el9 and the discussion in this bug, I think that you could at least try asking FESCo for an exception if your request gets denied.

Good luck!

Closing as WONTFIX


Note You need to log in before you can comment on or make changes to this bug.