https://bugzilla.redhat.com/show_bug.cgi?id=2510879



--- Comment #2 from ergün <[email protected]> ---
This is an informal review; I am not a sponsored packager yet, so I cannot
set the fedora-review flag.

I rebuilt the SRPM in a fedora:rawhide container (Python 3.15) and checked:

- Source matches PyPI: SHA256
ee74bec713b9694154aaffafc8ba99f448e6cd1bd59b73b9986804570c7fcad3
- 0.6.0 is the latest upstream release
- License: BSD-3-Clause. The LICENSE.txt text matches, all source files carry
  SPDX-License-Identifier: BSD-3-Clause, and LICENSE.txt and AUTHORS.md are
  installed through %pyproject_save_files -l
- Builds and installs; %pyproject_check_import passes
- Requires (numpy >= 1.23, scipy >= 1.8, attrs >= 19.3) match upstream's
  dependencies; Provides are sane

Issues / suggestions:

1. rpmlint: "python3-boule.noarch: W: no-documentation". Please add

       %doc README.md

   (and CITATION.rst too if you like).

2. No tests are run, only the import check. The PyPI sdist does not ship the
   test/ directory, but the GitHub archive does. I tried the following
   locally, and 170 tests pass:

       # The PyPI sdist does not include the tests
       Source:         %{url}/archive/v%{version}/boule-%{version}.tar.gz
       BuildRequires:  python3dist(pytest)

       %generate_buildrequires
       export SETUPTOOLS_SCM_PRETEND_VERSION=%{version}
       %pyproject_buildrequires

       %build
       export SETUPTOOLS_SCM_PRETEND_VERSION=%{version}
       %pyproject_wheel

       %check
       %pyproject_check_import
       # pymap3d is not packaged in Fedora
       %pytest --ignore test/test_pymap3d.py test

   (SETUPTOOLS_SCM_PRETEND_VERSION is needed because the GitHub archive has no
   git metadata.)

Otherwise the spec is clean and follows the current Python guidelines
(%autorelease, %autochangelog, pyproject macros).


-- 
You are receiving this mail because:
You are on the CC list for the bug.
You are always notified about changes to this product and component
https://bugzilla.redhat.com/show_bug.cgi?id=2510879

Report this comment as SPAM: 
https://bugzilla.redhat.com/enter_bug.cgi?product=Bugzilla&format=report-spam&short_desc=Report%20of%20Bug%202510879%23c2

-- 
_______________________________________________
package-review mailing list -- [email protected]
To unsubscribe send an email to [email protected]
Fedora Code of Conduct: 
https://docs.fedoraproject.org/en-US/project/code-of-conduct/
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: 
https://lists.fedoraproject.org/archives/list/[email protected]
Do not reply to spam, report it: 
https://forge.fedoraproject.org/infra/tickets/issues/new

Reply via email to