Bug 2370270

Summary: exifread can no longer be imported
Product: [Fedora] Fedora Reporter: Sjoerd Mullender <sjoerd>
Component: python-exifAssignee: Terje Rosten <terjeros>
Status: CLOSED ERRATA QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: medium Docs Contact:
Priority: unspecified    
Version: 42CC: ondrejj, terjeros
Target Milestone: ---Keywords: Regression
Target Release: ---   
Hardware: Unspecified   
OS: Linux   
Whiteboard:
Fixed In Version: python-exif-3.3.1-3.fc42 python-exif-3.3.1-3.fc41 Doc Type: ---
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2025-06-11 02:45:47 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Sjoerd Mullender 2025-06-04 16:53:02 UTC
This says it all:

$ python
Python 3.13.3 (main, Apr 22 2025, 00:00:00) [GCC 15.0.1 20250418 (Red Hat 15.0.1-0)] on linux
Type "help", "copyright", "credits" or "license" for more information.
>>> import exifread
Traceback (most recent call last):
  File "<python-input-0>", line 1, in <module>
    import exifread
  File "/usr/lib/python3.13/site-packages/exifread/__init__.py", line 8, in <module>
    from exifread.core.exceptions import ExifNotFound, InvalidExif
ModuleNotFoundError: No module named 'exifread.core'

There is no submodule core in the exifread package.
This happens since the update to python3-exif 3.3.1-1.

Reproducible: Always

Steps to Reproduce:
1.import exifread
2.
3.
Actual Results:
ModuleNotFoundError: No module named 'exifread.core'

Expected Results:
successful import

Comment 1 Jan ONDREJ 2025-06-07 19:30:07 UTC
+1 here

Looks like exifread* is required in pyproject.toml includes:

include = ["exifread*"]

Comment 2 Fedora Update System 2025-06-09 11:24:35 UTC
FEDORA-2025-f7a607f61a (python-exif-3.3.1-3.fc41) has been submitted as an update to Fedora 41.
https://bodhi.fedoraproject.org/updates/FEDORA-2025-f7a607f61a

Comment 3 Fedora Update System 2025-06-09 11:24:35 UTC
FEDORA-2025-3d32f04591 (python-exif-3.3.1-3.fc42) has been submitted as an update to Fedora 42.
https://bodhi.fedoraproject.org/updates/FEDORA-2025-3d32f04591

Comment 4 Fedora Update System 2025-06-10 01:31:35 UTC
FEDORA-2025-f7a607f61a has been pushed to the Fedora 41 testing repository.
Soon you'll be able to install the update with the following command:
`sudo dnf upgrade --enablerepo=updates-testing --refresh --advisory=FEDORA-2025-f7a607f61a`
You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2025-f7a607f61a

See also https://fedoraproject.org/wiki/QA:Updates_Testing for more information on how to test updates.

Comment 5 Fedora Update System 2025-06-10 02:02:00 UTC
FEDORA-2025-3d32f04591 has been pushed to the Fedora 42 testing repository.
Soon you'll be able to install the update with the following command:
`sudo dnf upgrade --enablerepo=updates-testing --refresh --advisory=FEDORA-2025-3d32f04591`
You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2025-3d32f04591

See also https://fedoraproject.org/wiki/QA:Updates_Testing for more information on how to test updates.

Comment 6 Fedora Update System 2025-06-11 02:45:47 UTC
FEDORA-2025-3d32f04591 (python-exif-3.3.1-3.fc42) has been pushed to the Fedora 42 stable repository.
If problem still persists, please make note of it in this bug report.

Comment 7 Fedora Update System 2025-06-19 01:20:41 UTC
FEDORA-2025-f7a607f61a (python-exif-3.3.1-3.fc41) has been pushed to the Fedora 41 stable repository.
If problem still persists, please make note of it in this bug report.