Bug 2370270 - exifread can no longer be imported
Summary: exifread can no longer be imported
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Fedora
Classification: Fedora
Component: python-exif
Version: 42
Hardware: Unspecified
OS: Linux
unspecified
medium
Target Milestone: ---
Assignee: Terje Rosten
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2025-06-04 16:53 UTC by Sjoerd Mullender
Modified: 2025-06-19 01:20 UTC (History)
2 users (show)

Fixed In Version: python-exif-3.3.1-3.fc42 python-exif-3.3.1-3.fc41
Clone Of:
Environment:
Last Closed: 2025-06-11 02:45:47 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Github ianare exif-py issues 230 0 None open ModuleNotFoundError: No module named 'exifread.core' 2025-06-07 19:33:40 UTC

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.


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