Bug 2568042

Summary: Review Request: python-bases - Python library for general Base-N encodings
Product: [Fedora] Fedora Reporter: Miroslav Suchý <msuchy>
Component: Package ReviewAssignee: Eduardo Echeverria <echevemaster>
Status: RELEASE_PENDING --- QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: medium Docs Contact:
Priority: medium    
Version: rawhideCC: package-review
Target Milestone: ---Flags: echevemaster: fedora-review+
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: ---
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 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 Miroslav Suchý 2026-11-06 05:38:33 UTC
Spec URL: https://miroslav.suchy.cz/fedora/python-bases.spec
SRPM URL: https://miroslav.suchy.cz/fedora/python-bases-0.3.0-1.fc45.src.rpm
Description: 
Bases provides a customisable, parametric implementation of several common
styles of Base-N encoding, covering all cases appearing in the multibase
specification (except for proquints).

Fedora Account System Username: msuchy

Comment 1 Eduardo Echeverria 2026-11-12 22:51:36 UTC
Taking this one too. Builds fine, checksum OK, all 156 tests pass.

--extras dev drags mypy, pylint and pytest-cov into the buildroot, but the
tests only need pytest and base58. I'd drop it and just add
BuildRequires: python3-base58. The guidelines ask not to pull in linters:
https://docs.fedoraproject.org/en-US/packaging-guidelines/Python/#_linters

Same goes for the python3-bases+dev subpackage. It only pulls in dev
tools, and dev/doc/test extras are the exception to the "provide all
extras" rule:
https://docs.fedoraproject.org/en-US/packaging-guidelines/Python/#_handling_extras

Small stuff: the "# Fill in the actual package description..." comment
from the template is still there, and %doc README.rst is missing. rpmlint
flags "proquints" as a typo but that's fine, it's a real word in the
multibase spec.

Nothing blocking here, so APPROVED. Please fix the above before
importing.

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

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



===== 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: All sources are MIT (LICENSE); licensecheck finds no other
     license.
[x]: License file installed when any subpackage combination is installed.
[x]: Package must own all directories that it creates.
[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.
[x]: Package contains desktop file if it is a GUI application.
[x]: 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.
[x]: If the package is a rename of another package, proper Obsoletes and
     Provides are present.
[x]: Requires correct, justified where necessary.
     Note: OK, but python3-bases+dev only pulls in dev tools (mypy,
     pylint, pytest-cov); suggest dropping it, see above.
[x]: Spec file is legible and written in American English.
[x]: 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 0 bytes in 0 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
     Note: OK, but --extras dev brings linters into the buildroot
     (SHOULD), see above.
[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:
[x]: If the source package does not include license text(s) as a separate
     file from upstream, the packager SHOULD query upstream to include it.
[x]: Final provides and requires are sane (see attachments).
[x]: Fully versioned dependency in subpackages if applicable.
     Note: No Requires: %{name}%{?_isa} = %{version}-%{release} in
     python3-bases , python3-bases+dev
[x]: Package functions as described.
[x]: Latest version is packaged.
[x]: Package does not include license text files separate from upstream.
[-]: Sources are verified with gpgverify first in %prep if upstream
     publishes signatures.
     Note: Upstream does not publish signatures.
[x]: Package should compile and build into binary rpms on all supported
     architectures.
     Note: noarch
[x]: %check is present and all tests pass.
     Note: 156 passed.
[x]: 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-bases-0.3.0-1.fc46.noarch.rpm
          python3-bases+dev-0.3.0-1.fc46.noarch.rpm
          python-bases-0.3.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/tmprigfqmgy')]
checks: 32, packages: 3

python-bases.src: E: spelling-error ('proquints', '%description -l en_US proquints -> pro quints, pro-quints, propinquity')
python3-bases.noarch: E: spelling-error ('proquints', '%description -l en_US proquints -> pro quints, pro-quints, propinquity')
python3-bases.noarch: W: no-documentation
 3 packages and 0 specfiles checked; 2 errors, 1 warnings, 22 filtered, 2 badness; has taken 1.1 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: 2

python3-bases.noarch: W: spelling-error ('proquints', '%description -l en_US proquints -> pro quints, pro-quints, propinquity')
python3-bases.noarch: W: no-documentation
 2 packages and 0 specfiles checked; 0 errors, 2 warnings, 15 filtered, 0 badness; has taken 0.3 s 



Source checksums
----------------
https://files.pythonhosted.org/packages/source/b/bases/bases-0.3.0.tar.gz :
  CHECKSUM(SHA256) this package     : 70f04a4a45d63245787f9e89095ca11042685b6b64b542ad916575ba3ccd1570
  CHECKSUM(SHA256) upstream package : 70f04a4a45d63245787f9e89095ca11042685b6b64b542ad916575ba3ccd1570


Requires
--------
python3-bases (rpmlib, GLIBC filtered):
    python(abi)
    python3.15dist(typing-extensions)
    python3.15dist(typing-validation)

python3-bases+dev (rpmlib, GLIBC filtered):
    python(abi)
    python3-bases
    python3.15dist(base58)
    python3.15dist(mypy)
    python3.15dist(pylint)
    python3.15dist(pytest)
    python3.15dist(pytest-cov)



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

python3-bases+dev:
    python-bases+dev
    python3-bases+dev
    python3.15-bases+dev
    python3.15dist(bases[dev])
    python3dist(bases[dev])



Generated by fedora-review 0.12.0 (a08f0fc) last change: 2026-09-18
Command line :/usr/bin/fedora-review -n python-bases -m fedora-rawhide-x86_64
Buildroot used: fedora-rawhide-x86_64
Active plugins: Python, Shell-api, Generic
Disabled plugins: Java, Perl, PHP, Haskell, C/C++, SugarActivity, R, fonts, Ocaml
Disabled flags: EXARCH, EPEL6, EPEL7, DISTTAG, BATCH, UNRETIREMENT

Comment 2 Miroslav Suchý 2026-11-15 19:39:26 UTC
Thank you. I amended the spec file as you suggested.

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