Bug 2271500 - Missing dep in dnf package
Summary: Missing dep in dnf package
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Fedora
Classification: Fedora
Component: python-qrcode
Version: 39
Hardware: Unspecified
OS: Linux
unspecified
medium
Target Milestone: ---
Assignee: Michel Lind
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2024-03-25 18:03 UTC by langdon
Modified: 2024-08-30 15:29 UTC (History)
5 users (show)

Fixed In Version: python-qrcode-7.4.2-12.fc39 python-qrcode-7.4.2-12.fc40
Doc Type: ---
Doc Text:
Clone Of:
Environment:
Last Closed: 2024-04-10 04:04:33 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)

Description langdon 2024-03-25 18:03:34 UTC
I think you are missing the dependency on the png package.

$ qrcode --output ~/Downloads/cow.png http://www.google.com
Traceback (most recent call last):
  File "/usr/bin/qrcode", line 8, in <module>
    sys.exit(main())
             ^^^^^^
  File "/usr/lib/python3.12/site-packages/qrcode/console_scripts.py", line 113, in main
    img = qr.make_image()
          ^^^^^^^^^^^^^^^
  File "/usr/lib/python3.12/site-packages/qrcode/main.py", line 365, in make_image
    from qrcode.image.pure import PyPNGImage
  File "/usr/lib/python3.12/site-packages/qrcode/image/pure.py", line 3, in <module>
    import png
ModuleNotFoundError: No module named 'png'


Reproducible: Always

Steps to Reproduce:
1. dnf install python-qrcode
2. qrcode --output ~/Downloads/cow.png http://www.google.com
3.
Actual Results:  
Traceback (most recent call last):
  File "/usr/bin/qrcode", line 8, in <module>
    sys.exit(main())
             ^^^^^^
  File "/usr/lib/python3.12/site-packages/qrcode/console_scripts.py", line 113, in main
    img = qr.make_image()
          ^^^^^^^^^^^^^^^
  File "/usr/lib/python3.12/site-packages/qrcode/main.py", line 365, in make_image
    from qrcode.image.pure import PyPNGImage
  File "/usr/lib/python3.12/site-packages/qrcode/image/pure.py", line 3, in <module>
    import png
ModuleNotFoundError: No module named 'png'


Expected Results:  
new png

Comment 1 Fedora Update System 2024-03-26 09:13:13 UTC
FEDORA-2024-3a8d53c92c (python-qrcode-7.4.2-12.fc39) has been submitted as an update to Fedora 39.
https://bodhi.fedoraproject.org/updates/FEDORA-2024-3a8d53c92c

Comment 2 Fedora Update System 2024-03-26 09:13:14 UTC
FEDORA-2024-cbbf86a8e3 (python-qrcode-7.4.2-12.fc40) has been submitted as an update to Fedora 40.
https://bodhi.fedoraproject.org/updates/FEDORA-2024-cbbf86a8e3

Comment 3 Fedora Update System 2024-03-27 02:34:58 UTC
FEDORA-2024-cbbf86a8e3 has been pushed to the Fedora 40 testing repository.
Soon you'll be able to install the update with the following command:
`sudo dnf upgrade --enablerepo=updates-testing --refresh --advisory=FEDORA-2024-cbbf86a8e3`
You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2024-cbbf86a8e3

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

Comment 4 Fedora Update System 2024-03-27 02:35:16 UTC
FEDORA-2024-3a8d53c92c has been pushed to the Fedora 39 testing repository.
Soon you'll be able to install the update with the following command:
`sudo dnf upgrade --enablerepo=updates-testing --refresh --advisory=FEDORA-2024-3a8d53c92c`
You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2024-3a8d53c92c

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

Comment 5 Fedora Update System 2024-04-10 04:04:33 UTC
FEDORA-2024-3a8d53c92c (python-qrcode-7.4.2-12.fc39) has been pushed to the Fedora 39 stable repository.
If problem still persists, please make note of it in this bug report.

Comment 6 Fedora Update System 2024-04-19 21:22:08 UTC
FEDORA-2024-cbbf86a8e3 (python-qrcode-7.4.2-12.fc40) has been pushed to the Fedora 40 stable repository.
If problem still persists, please make note of it in this bug report.

Comment 7 Adam Martin 2024-08-30 15:29:34 UTC
As far as I can tell this dep is still missing?
```
$ dnf repoquery --releasever 39 --requires python3-qrcode-0:7.4.2-12.fc39.noarch
Last metadata expiration check: 0:29:17 ago on Fri 30 Aug 2024 10:52:04 AM EDT.
/usr/bin/python3
python(abi) = 3.12
python3.12dist(typing-extensions)

$ dnf repoquery --releasever 40 --requires python3-qrcode-0:7.4.2-12.fc40.noarch
Last metadata expiration check: 0:05:52 ago on Fri 30 Aug 2024 11:22:42 AM EDT.
/usr/bin/python3
python(abi) = 3.12
python3.12dist(typing-extensions)
```


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