Bug 2441402 - Review Request: python-qrcode8 - Python QR Code image generator
Summary: Review Request: python-qrcode8 - Python QR Code image generator
Keywords:
Status: ON_QA
Alias: None
Product: Fedora
Classification: Fedora
Component: Package Review
Version: rawhide
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Neal Gompa
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2026-02-20 17:33 UTC by Michel Lind
Modified: 2026-02-24 02:05 UTC (History)
2 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed:
Type: ---
Embargoed:
ngompa13: fedora-review+


Attachments (Terms of Use)

Description Michel Lind 2026-02-20 17:33:06 UTC
Spec URL: https://salimma.fedorapeople.org/python-qrcode8.spec
SRPM URL: https://salimma.fedorapeople.org/python-qrcode8-8.0-1.fc45.src.rpm
Upstream URL: https://github.com/lincolnloop/python-qrcode

Description:
This module uses the Python Imaging Library (PIL) to allow for the\
generation of QR Codes.

Fedora Account System Username: salimma

Comment 1 Michel Lind 2026-02-20 17:36:16 UTC
Note: This is intended for EPEL 9 only, needed for updating django-allauth

Diff from Rawhide spec (pillow is actually in EPEL now - https://src.fedoraproject.org/rpms/python-pillow - and pypng is getting built)

Since we can't replace existing c9s packages this is conflicting with the python3-qrcode-core that's in ELL9 instead

--- /home/michel/src/fedora/pkgs/main-admin/python-qrcode/python-qrcode.spec	2026-02-20 16:55:44.680193093 +0000
+++ python-qrcode8.spec	2026-02-20 17:30:48.711604740 +0000
@@ -1,9 +1,8 @@
-# RHEL does not include pillow or pypng
-%bcond extras %[%{undefined rhel} || %{defined epel}]
+%bcond extras 1
 
 %global pkgname qrcode
 
-Name:           python-%{pkgname}
+Name:           python-%{pkgname}8
 Version:        8.0
 Release:        %autorelease
 Summary:        Python QR Code image generator
@@ -23,21 +22,20 @@
 generation of QR Codes.
 
 
-%package -n python3-%{pkgname}
+%package -n python3-%{pkgname}8
 Summary:        Python QR Code image generator
-Obsoletes:      python3-qrcode-core < 7.4.2-2
-Provides:       python3-qrcode-core = %{version}-%{release}
+Conflicts:      python3-qrcode-core < 7.4.2-2
 %if %{with extras}
-Recommends:     (python3-%{pkgname}+pil or python3-%{pkgname}+png or python3-%{pkgname}+all)
+Recommends:     (python3-%{pkgname}8+pil or python3-%{pkgname}8+png or python3-%{pkgname}8+all)
 %endif
 
-%description -n python3-%{pkgname}
+%description -n python3-%{pkgname}8
 This module uses the Python Imaging Library (PIL) to allow for the
 generation of QR Codes. Python 3 version.
 
 
 %if %{with extras}
-%pyproject_extras_subpkg -n python3-%{pkgname} pil,png,all
+%pyproject_extras_subpkg -n python3-%{pkgname}8 pil,png,all
 %endif
 
 
@@ -69,7 +67,7 @@
 %pytest -v
 
 
-%files -n python3-%{pkgname} -f %{pyproject_files}
+%files -n python3-%{pkgname}8 -f %{pyproject_files}
 %doc README.rst CHANGES.rst
 %license LICENSE
 %{_bindir}/qr

Comment 2 Neal Gompa 2026-02-20 19:20:52 UTC
Package review notes:

* Package is forked from python-django-allauth, simplifying the review
* Package follows Fedora packaging guidelines
* Package follows Fedora Python packaging guidelines
* Package builds and installs
* No serious issues from rpmlint

PACKAGE APPROVED.

Comment 3 Fedora Admin user for bugzilla script actions 2026-02-23 14:57:06 UTC
The Pagure repository was created at https://src.fedoraproject.org/rpms/python-qrcode8

Comment 4 Fedora Update System 2026-02-23 16:32:12 UTC
FEDORA-EPEL-2026-8e235e20a2 (python-django-allauth-0.62.1-1.el9, python-pypng-0.0.21-1.el9, and 1 more) has been submitted as an update to Fedora EPEL 9.
https://bodhi.fedoraproject.org/updates/FEDORA-EPEL-2026-8e235e20a2

Comment 5 Fedora Update System 2026-02-24 02:05:17 UTC
FEDORA-EPEL-2026-8e235e20a2 has been pushed to the Fedora EPEL 9 testing repository.

You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-EPEL-2026-8e235e20a2

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


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