Bug 2161164 - Review Request: python-importlib-resources - Read resources from Python packages
Summary: Review Request: python-importlib-resources - Read resources from Python packages
Keywords:
Status: NEW
Alias: None
Product: Fedora
Classification: Fedora
Component: Package Review
Version: rawhide
Hardware: All
OS: Linux
unspecified
medium
Target Milestone: ---
Assignee: Nobody's working on this, feel free to take it
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks: 2161163
TreeView+ depends on / blocked
 
Reported: 2023-01-16 08:05 UTC by lichaoran
Modified: 2023-07-11 11:37 UTC (History)
2 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed:
Type: ---
Embargoed:


Attachments (Terms of Use)

Comment 1 Jakub Kadlčík 2023-01-16 15:30:23 UTC
Copr build:
https://copr.fedorainfracloud.org/coprs/build/5238040
(failed)

Build log:
https://download.copr.fedorainfracloud.org/results/@fedora-review/fedora-review-2161164-importlib-resources/srpm-builds/05238040/builder-live.log.gz

Please make sure the package builds successfully at least for Fedora Rawhide.

- If the build failed for unrelated reasons (e.g. temporary network
  unavailability), please ignore it.
- If the build failed because of missing BuildRequires, please make sure they
  are listed in the "Depends On" field


---
This comment was created by the fedora-review-service
https://github.com/FrostyX/fedora-review-service

Comment 4 Mattia Verga 2023-02-02 17:19:24 UTC
This package is completely useless in Fedora:
"importlib_resources is a backport of Python standard library importlib.resources module for older Pythons."

And for EPEL is already packaged:
https://koji.fedoraproject.org/koji/packageinfo?packageID=30226

Any package requiring importlib.resources should use conditionals in their import like https://github.com/p1c2u/openapi-spec-validator/commit/c4746e3aeea4c762292035751c9e358ed80afae7 so that standard library is used when available.


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