Bug 2101786 - python-jsonschema-4.6.0-1.fc37 drops dist provides because it dropped the metadata directory
Summary: python-jsonschema-4.6.0-1.fc37 drops dist provides because it dropped the met...
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Fedora
Classification: Fedora
Component: python-jsonschema
Version: rawhide
Hardware: Unspecified
OS: Unspecified
unspecified
urgent
Target Milestone: ---
Assignee: Alan Pevec (Fedora)
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On: 2101999 2102060
Blocks:
TreeView+ depends on / blocked
 
Reported: 2022-06-28 11:12 UTC by Mattias Ellert
Modified: 2022-06-30 01:50 UTC (History)
4 users (show)

Fixed In Version: python-jsonschema-4.6.0-2.fc37
Clone Of:
Environment:
Last Closed: 2022-06-28 13:39:55 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)

Description Mattias Ellert 2022-06-28 11:12:54 UTC
Description of problem:

This update drops the dist provides, make other packages uninstallable. Please restore the missing provides promptly.

This update:

Provides:

    python-jsonschema = 4.6.0-1.fc37
    python3-jsonschema = 4.6.0-1.fc37
    python3.11-jsonschema = 4.6.0-1.fc37

Previous version:

Provides:

    python-jsonschema = 3.2.0-17.fc37
    python3-jsonschema = 3.2.0-17.fc37
    python3.11-jsonschema = 3.2.0-17.fc37
    python3.11dist(jsonschema) = 3.2
    python3dist(jsonschema) = 3.2

This leads to:

Problem: package python3-nbsphinx-0.8.7-3.fc37.noarch requires python3.11dist(nbformat), but none of the providers can be installed
- conflicting requests
- nothing provides python3.11dist(jsonschema) >= 2.6 needed by python3-nbformat-5.4.0-2.fc37.noarch


Version-Release number of selected component (if applicable):

python-jsonschema-4.6.0-1.fc37

How reproducible:

Always

Steps to Reproduce:
1. Try to install a package that depend on the missing dist-provides, e.g. python3-nbformat

Actual results:

Failure due to missing dependencies

Expected results:

Success

Comment 1 Orion Poplawski 2022-06-28 13:15:35 UTC
This was a shift to the pyproject macros.  Not sure why it caused it to drop the python3dist() provides.

Comment 2 Miro Hrončok 2022-06-28 13:27:06 UTC
I suspect you mean this commit: https://src.fedoraproject.org/rpms/python-jsonschema/c/7e0ee880fcbc0e128be92551283feac6581c02fb?branch=rawhide

It clearly removes the egg-info from the %files list but does not add the dist-info. That caused it.

As for why the missing dist-inf is not making the build fail, I'll investigate.

Comment 3 Miro Hrončok 2022-06-28 13:29:05 UTC
> As for why the missing dist-info is not making the build fail, I'll investigate.

Oh, because it is %ghosted in python3-jsonschema+format-4.6.0-1.fc37 and python3-jsonschema+format-nongpl-4.6.0-1.fc37.

Comment 4 Miro Hrončok 2022-06-28 13:34:44 UTC
I've pushed a fix and started a build but note that:

 Problem 1: conflicting requests
  - nothing provides python3.11dist(isoduration) needed by python3-jsonschema+format-nongpl-4.6.0-2.fc37.noarch
  - nothing provides python3.11dist(rfc3339-validator) needed by python3-jsonschema+format-nongpl-4.6.0-2.fc37.noarch
  - nothing provides python3.11dist(uri-template) needed by python3-jsonschema+format-nongpl-4.6.0-2.fc37.noarch
  - nothing provides python3.11dist(rfc3986-validator) > 0.1.0 needed by python3-jsonschema+format-nongpl-4.6.0-2.fc37.noarch
 Problem 2: conflicting requests
  - nothing provides python3.11dist(isoduration) needed by python3-jsonschema+format-4.6.0-2.fc37.noarch
  - nothing provides python3.11dist(rfc3339-validator) needed by python3-jsonschema+format-4.6.0-2.fc37.noarch
  - nothing provides python3.11dist(uri-template) needed by python3-jsonschema+format-4.6.0-2.fc37.noarch

Comment 5 Fedora Update System 2022-06-28 13:39:31 UTC
FEDORA-2022-55e648bc6b has been submitted as an update to Fedora 37. https://bodhi.fedoraproject.org/updates/FEDORA-2022-55e648bc6b

Comment 6 Fedora Update System 2022-06-28 13:39:55 UTC
FEDORA-2022-55e648bc6b has been pushed to the Fedora 37 stable repository.
If problem still persists, please make note of it in this bug report.

Comment 7 Parag Nemade 2022-06-28 13:43:02 UTC
Wow I have not expected so quick bug report and fix here.

Thank you all so much for helping here :)

Comment 8 Parag Nemade 2022-06-28 13:47:35 UTC
I will check on missing dependencies and will add new packages if needed in Fedora.


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