Bug 2572049 - Review Request: python-formerly - Deprecate a class that users inherit from
Summary: Review Request: python-formerly - Deprecate a class that users inherit from
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Fedora
Classification: Fedora
Component: Package Review
Version: rawhide
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Miroslav Suchý
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks: 2568426
TreeView+ depends on / blocked
 
Reported: 2026-11-12 01:57 UTC by Eduardo Echeverria
Modified: 2026-11-18 03:26 UTC (History)
3 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed: 2026-11-17 13:42:06 UTC
Type: Bug
Embargoed:
msuchy: fedora-review+


Attachments (Terms of Use)

Description Eduardo Echeverria 2026-11-12 01:57:46 UTC
Spec URL: https://echevemaster.fedorapeople.org/review/python-formerly/python-formerly.spec
SRPM URL: https://echevemaster.fedorapeople.org/review/python-formerly/python-formerly-0.1.0-1.fc46.src.rpm

Description:
formerly renames a class that users inherit from, without breaking them.
It provides a deprecated alias for the old class name that keeps working
for isinstance() and issubclass() checks and for subclassing, while
emitting a deprecation warning when the old name is used.

Fedora Account System Username: echevemaster

Koji scratch build (rawhide): https://koji.fedoraproject.org/koji/taskinfo?taskID=152192062

This is a new dependency of Scrapy 2.20.0 (bug 2568426), which I maintain as python-scrapy.

rpmlint only reports spelling false positives (isinstance, issubclass, subclassing).

Comment 1 Gonza 2026-11-13 16:36:31 UTC
Non-binding review. Someone else must approve.

PASS

Package Review
==============

Legend:
[x] = Pass, [!] = Fail, [-] = Not applicable, [?] = Not evaluated
[ ] = Manual review needed



===== MUST items =====

Generic:
[x]: Package is licensed with an open-source compatible license and meets
     other legal requirements as defined in the legal section of Packaging
     Guidelines.
[x]: License field in the package spec file matches the actual license.
     Note: Checking patched sources after %prep for licenses. Licenses
     found: "Unknown or generated", "BSD 3-Clause License". 9 files have
     unknown license. Detailed output of licensecheck in
     /home/grafuls/Sources/quads-upstream/2572049-python-
     formerly/licensecheck.txt
[x]: Package must own all directories that it creates.
     Note: Directories without known owners: /usr/lib/python3.15/site-
     packages, /usr/lib/python3.15
[x]: Package contains no bundled libraries or specifies bundled libraries
     with Provides: bundled(<libname>) if unbundling is not possible.
[x]: Changelog in prescribed format.
[x]: Sources contain only permissible code or content.
[-]: Package contains desktop file if it is a GUI application.
[-]: Development files must be in a -devel package
[x]: Package uses nothing in %doc for runtime.
[x]: Package consistently uses macros (instead of hard-coded directory
     names).
[x]: Package is named according to the Package Naming Guidelines.
[x]: Package does not generate any conflict.
[x]: Package obeys FHS, except libexecdir and /usr/target.
[-]: If the package is a rename of another package, proper Obsoletes and
     Provides are present.
[x]: Requires correct, justified where necessary.
[x]: Spec file is legible and written in American English.
[-]: Package contains systemd file(s) if in need.
[x]: Package is not known to require an ExcludeArch tag.
[x]: Package complies to the Packaging Guidelines
[x]: Package successfully compiles and builds into binary rpms on at least
     one supported primary architecture.
[x]: Package installs properly.
[x]: Rpmlint is run on all rpms the build produces.
     Note: There are rpmlint messages (see attachment).
[x]: If (and only if) the source package includes the text of the
     license(s) in its own file, then that file, containing the text of the
     license(s) for the package is included in %license.
[x]: The License field must be a valid SPDX expression.
[x]: Package requires other packages for directories it uses.
[x]: Package does not own files or directories owned by other packages.
[x]: Package uses either %{buildroot} or $RPM_BUILD_ROOT
[x]: Package does not run rm -rf %{buildroot} (or $RPM_BUILD_ROOT) at the
     beginning of %install.
[x]: Macros in Summary, %description expandable at SRPM build time.
[x]: Dist tag is present.
[x]: Package does not contain duplicates in %files.
[x]: Permissions on files are set properly.
[x]: Package must not depend on deprecated() packages.
[x]: Package use %makeinstall only when make install DESTDIR=... doesn't
     work.
[x]: Package is named using only allowed ASCII characters.
[x]: Package does not use a name that already exists.
[x]: Package is not relocatable.
[x]: Sources used to build the package match the upstream source, as
     provided in the spec URL.
[x]: Spec file name must match the spec package %{name}, in the format
     %{name}.spec.
[x]: File names are valid UTF-8.
[x]: Large documentation must go in a -doc subpackage. Large could be size
     (~1MB) or number of files.
     Note: Documentation size is 4676 bytes in 2 files.
[x]: Packages must not store files under /srv, /opt or /usr/local

Python:
[x]: Python eggs must not download any dependencies during the build
     process.
[x]: A package which is used by another package via an egg interface should
     provide egg info.
[x]: Package meets the Packaging Guidelines::Python
[x]: Package contains BR: python2-devel or python3-devel
[x]: Packages MUST NOT have dependencies (either build-time or runtime) on
     packages named with the unversioned python- prefix unless no properly
     versioned package exists. Dependencies on Python packages instead MUST
     use names beginning with python2- or python3- as appropriate.
[x]: Python packages must not contain %{pythonX_site(lib|arch)}/* in %files
[x]: Binary eggs must be removed in %prep

===== SHOULD items =====

Generic:
[ ]: If the source package does not include license text(s) as a separate
     file from upstream, the packager SHOULD query upstream to include it.
[ ]: Final provides and requires are sane (see attachments).
[ ]: Package functions as described.
[ ]: Latest version is packaged.
[ ]: Package does not include license text files separate from upstream.
[ ]: Sources are verified with gpgverify first in %prep if upstream
     publishes signatures.
     Note: gpgverify is not used.
[ ]: Package should compile and build into binary rpms on all supported
     architectures.
[ ]: %check is present and all tests pass.
[ ]: Packages should try to preserve timestamps of original installed
     files.
[x]: Reviewer should test that the package builds in mock.
[x]: Buildroot is not present
[x]: Package has no %clean section with rm -rf %{buildroot} (or
     $RPM_BUILD_ROOT)
[x]: No file requires outside of /etc, /bin, /sbin, /usr/bin, /usr/sbin.
[x]: Packager, Vendor, PreReq, Copyright tags should not be in spec file
[x]: Sources can be downloaded from URI in Source: tag
[x]: SourceX is a working URL.
[x]: Spec use %global instead of %define unless justified.

===== EXTRA items =====

Generic:
[x]: Rpmlint is run on all installed packages.
     Note: There are rpmlint messages (see attachment).
[x]: Spec file according to URL is the same as in SRPM.


Rpmlint
-------
Checking: python3-formerly-0.1.0-1.fc46.noarch.rpm
          python-formerly-0.1.0-1.fc46.src.rpm
============================ rpmlint session starts ============================
rpmlint: 2.8.0
configuration:
    /usr/lib/python3.14/site-packages/rpmlint/configdefaults.toml
    /etc/xdg/rpmlint/fedora-spdx-licenses.toml
    /etc/xdg/rpmlint/fedora.toml
    /etc/xdg/rpmlint/scoring.toml
    /etc/xdg/rpmlint/users-groups.toml
    /etc/xdg/rpmlint/warn-on-functions.toml
rpmlintrc: [PosixPath('/tmp/tmpou5gilwf')]
checks: 32, packages: 2

python-formerly.src: E: spelling-error ('isinstance', '%description -l en_US isinstance -> is instance, is-instance, instance')
python-formerly.src: E: spelling-error ('issubclass', '%description -l en_US issubclass -> is subclass, is-subclass, subclass')
python-formerly.src: E: spelling-error ('subclassing', '%description -l en_US subclassing -> sub classing, sub-classing, subclass')
python3-formerly.noarch: E: spelling-error ('isinstance', '%description -l en_US isinstance -> is instance, is-instance, instance')
python3-formerly.noarch: E: spelling-error ('issubclass', '%description -l en_US issubclass -> is subclass, is-subclass, subclass')
python3-formerly.noarch: E: spelling-error ('subclassing', '%description -l en_US subclassing -> sub classing, sub-classing, subclass')
 2 packages and 0 specfiles checked; 6 errors, 0 warnings, 7 filtered, 6 badness; has taken 0.9 s 




Rpmlint (installed packages)
----------------------------
============================ rpmlint session starts ============================
rpmlint: 2.10.0
configuration:
    /usr/lib/python3.15/site-packages/rpmlint/configdefaults.toml
    /etc/xdg/rpmlint/fedora-spdx-licenses.toml
    /etc/xdg/rpmlint/fedora.toml
    /etc/xdg/rpmlint/scoring.toml
    /etc/xdg/rpmlint/users-groups.toml
    /etc/xdg/rpmlint/warn-on-functions.toml
checks: 33, packages: 1

python3-formerly.noarch: W: spelling-error ('isinstance', '%description -l en_US isinstance -> is instance, is-instance, instance')
python3-formerly.noarch: W: spelling-error ('issubclass', '%description -l en_US issubclass -> is subclass, is-subclass, subclass')
python3-formerly.noarch: W: spelling-error ('subclassing', '%description -l en_US subclassing -> sub classing, sub-classing, subclass')
 1 packages and 0 specfiles checked; 0 errors, 3 warnings, 3 filtered, 0 badness; has taken 0.1 s 



Source checksums
----------------
https://files.pythonhosted.org/packages/source/f/formerly/formerly-0.1.0.tar.gz :
  CHECKSUM(SHA256) this package     : e30ce1f317b3a05689aea057faa3bc4ec89a105ba5a48433ca9899ac1bf69a62
  CHECKSUM(SHA256) upstream package : e30ce1f317b3a05689aea057faa3bc4ec89a105ba5a48433ca9899ac1bf69a62


Requires
--------
python3-formerly (rpmlib, GLIBC filtered):
    python(abi)



Provides
--------
python3-formerly:
    python-formerly
    python3-formerly
    python3.15-formerly
    python3.15dist(formerly)
    python3dist(formerly)



Generated by fedora-review 0.11.0 (05c5b26) last change: 2025-11-29
Command line :/usr/bin/fedora-review -b 2572049
Buildroot used: fedora-rawhide-x86_64
Active plugins: Python, Shell-api, Generic
Disabled plugins: SugarActivity, R, fonts, Perl, PHP, Haskell, Ocaml, C/C++, Java
Disabled flags: EXARCH, EPEL6, EPEL7, DISTTAG, BATCH

Comment 2 Miroslav Suchý 2026-11-15 19:56:17 UTC
I would personally used BuildSystem tag (see https://src.fedoraproject.org/rpms/pyproject-rpm-macros ) but style is valid.

The review above is correct. I find nothing else.

APPROVED

Comment 3 Fedora Admin user for bugzilla script actions 2026-11-17 12:12:54 UTC
The Pagure repository was created at https://src.fedoraproject.org/rpms/python-formerly
Monitoring:
Wasn't able to create project in Anitya. You can create it manually on: `https://release-monitoring.org`

Comment 4 Fedora Update System 2026-11-17 12:24:45 UTC
FEDORA-2026-9406f2e43c (python-formerly-0.1.0-1.fc46) has been submitted as an update to Fedora 46.
https://bodhi.fedoraproject.org/updates/FEDORA-2026-9406f2e43c

Comment 5 Eduardo Echeverria 2026-11-17 12:31:30 UTC
Thanks for the review, Miroslav

Comment 6 Fedora Update System 2026-11-17 12:39:00 UTC
FEDORA-2026-09627abb8c (python-formerly-0.1.0-1.fc43) has been submitted as an update to Fedora 43.
https://bodhi.fedoraproject.org/updates/FEDORA-2026-09627abb8c

Comment 7 Fedora Update System 2026-11-17 12:39:00 UTC
FEDORA-2026-a70f305273 (python-formerly-0.1.0-1.fc44) has been submitted as an update to Fedora 44.
https://bodhi.fedoraproject.org/updates/FEDORA-2026-a70f305273

Comment 8 Fedora Update System 2026-11-17 12:39:01 UTC
FEDORA-2026-aeedfbd703 (python-formerly-0.1.0-1.fc45) has been submitted as an update to Fedora 45.
https://bodhi.fedoraproject.org/updates/FEDORA-2026-aeedfbd703

Comment 9 Fedora Update System 2026-11-17 13:42:06 UTC
FEDORA-2026-9406f2e43c (python-formerly-0.1.0-1.fc46) has been pushed to the Fedora 46 stable repository.
If problem still persists, please make note of it in this bug report.

Comment 10 Fedora Update System 2026-11-18 02:34:28 UTC
FEDORA-2026-09627abb8c has been pushed to the Fedora 43 testing repository.
Soon you'll be able to install the update with the following command:
`sudo dnf install --enablerepo=updates-testing --refresh --advisory=FEDORA-2026-09627abb8c \*`
You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2026-09627abb8c

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

Comment 11 Fedora Update System 2026-11-18 03:02:28 UTC
FEDORA-2026-aeedfbd703 has been pushed to the Fedora 45 testing repository.
Soon you'll be able to install the update with the following command:
`sudo dnf install --enablerepo=updates-testing --refresh --advisory=FEDORA-2026-aeedfbd703 \*`
You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2026-aeedfbd703

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

Comment 12 Fedora Update System 2026-11-18 03:26:25 UTC
FEDORA-2026-a70f305273 has been pushed to the Fedora 44 testing repository.
Soon you'll be able to install the update with the following command:
`sudo dnf install --enablerepo=updates-testing --refresh --advisory=FEDORA-2026-a70f305273 \*`
You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2026-a70f305273

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.