https://bugzilla.redhat.com/show_bug.cgi?id=2136237
Bug ID: 2136237 Summary: Review Request: mingw-python-installer - MinGW Python installer library Product: Fedora Version: rawhide Hardware: All OS: Linux Status: NEW Component: Package Review Severity: medium Priority: medium Assignee: nobody@fedoraproject.org Reporter: manisandro@gmail.com QA Contact: extras-qa@fedoraproject.org CC: package-review@lists.fedoraproject.org Target Milestone: --- Classification: Fedora
Spec URL: https://smani.fedorapeople.org/review/mingw-python-installer.spec SRPM URL: https://smani.fedorapeople.org/review/mingw-python-installer-0.5.1-1.fc38.sr... Description: MinGW Python installer library Fedora Account System Username: smani
Test builds: https://copr.fedorainfracloud.org/coprs/smani/mingw-python3-3.11-build/build...
https://bugzilla.redhat.com/show_bug.cgi?id=2136237
Sandro gui1ty@penguinpee.nl changed:
What |Removed |Added ---------------------------------------------------------------------------- Assignee|nobody@fedoraproject.org |gui1ty@penguinpee.nl CC| |gui1ty@penguinpee.nl Doc Type|--- |If docs needed, set a value Flags| |fedora-review?
--- Comment #1 from Sandro gui1ty@penguinpee.nl --- I take this one.
https://bugzilla.redhat.com/show_bug.cgi?id=2136237
Sandro gui1ty@penguinpee.nl changed:
What |Removed |Added ---------------------------------------------------------------------------- Depends On| |2136235
--- Comment #2 from Sandro gui1ty@penguinpee.nl --- This package requires mingw32-python3-build and mingw64-python3-build provided by mingw-python-build (BZ#2136235), which has not yet been reviewed. I saw that this available in you Copr repo. Maybe I should start with that review first.?
Referenced Bugs:
https://bugzilla.redhat.com/show_bug.cgi?id=2136235 [Bug 2136235] Review Request: mingw-python-build - MinGW Python build library
https://bugzilla.redhat.com/show_bug.cgi?id=2136237
--- Comment #3 from Sandro Mani manisandro@gmail.com --- They both depend on each-other, hence the bootstrapping logic. Don't see any other way than reviewing this and mingw-python-pep517 with
%bcond_without bootstrap
rather than
%bcond_with bootstrap
Spec URL: https://smani.fedorapeople.org/review/mingw-python-installer.spec SRPM URL: https://smani.fedorapeople.org/review/mingw-python-installer-0.5.1-1.fc38~bo...
https://bugzilla.redhat.com/show_bug.cgi?id=2136237
--- Comment #4 from Sandro gui1ty@penguinpee.nl --- I see. Just looked at the spec file of mingw-python-build, which has an unconditional requirement for mingw{32,64}-python3-installer. I'll review that as well since you picked up scikit-misc too. I'll start with this one.
https://bugzilla.redhat.com/show_bug.cgi?id=2136237
Sandro gui1ty@penguinpee.nl changed:
What |Removed |Added ---------------------------------------------------------------------------- Blocks| |2136235 Depends On|2136235 |
Referenced Bugs:
https://bugzilla.redhat.com/show_bug.cgi?id=2136235 [Bug 2136235] Review Request: mingw-python-build - MinGW Python build library
https://bugzilla.redhat.com/show_bug.cgi?id=2136237
--- Comment #5 from Sandro gui1ty@penguinpee.nl --- I tried a build from the bootstrap SRPM local and in Copr. Both fail with:
Processing files: mingw32-python3-installer-0.5.1-1.fc38~bootstrap.noarch error: File must begin with "/": %{mingw32_python3_hostsitearch}/installer/ error: File must begin with "/": %{mingw32_python3_hostsitearch}/installer-0.5.1+rpmbootstrap.dist-info
Looks like an unexpanded macro. Is that a leftover from the abandoned BZ#2134021?
My Copr build: https://copr.fedorainfracloud.org/coprs/gui1ty/reviews/build/4962439/
https://bugzilla.redhat.com/show_bug.cgi?id=2136237
--- Comment #6 from Sandro Mani manisandro@gmail.com --- Oh, actually no, that's a macro I've introduced in mingw-python3-3.11 in COPR, but not yet backported to mingw-python3-3.10 in rawhide. I've now added it to mingw-python3-3.10.7-3.fc38.
https://bugzilla.redhat.com/show_bug.cgi?id=2136237
--- Comment #7 from Sandro gui1ty@penguinpee.nl --- Question:
[!]: %check is present and all tests pass.
The PyPI tarball does include tests. What's the reason %check has been omitted entirely?
For the rest it's looking good!
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", "MIT License", "*No copyright* MIT License". 55 files have unknown license. Detailed output of licensecheck in /var/lib/copr-rpmbuild/results/mingw-python- installer/licensecheck.txt [x]: License file installed when any subpackage combination is installed. [x]: Package contains no bundled libraries without FPC exception. [x]: Changelog in prescribed format. [x]: Sources contain only permissible code or content. [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]: Requires correct, justified where necessary. [x]: Spec file is legible and written in American English. [x]: Package is not known to require an ExcludeArch tag. [x]: Package complies to the Packaging Guidelines [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]: Package requires other packages for directories it uses. [x]: Package must own all directories that it creates. [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
===== SHOULD items =====
Generic: [x]: Reviewer should test that the package builds in mock. [x]: Final provides and requires are sane (see attachments). [?]: Package functions as described. [x]: Latest version is packaged. [x]: Package does not include license text files separate from upstream. [!]: %check is present and all tests pass. [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).
Rpmlint ------- Cannot parse rpmlint output:
Rpmlint (installed packages) ---------------------------- Cannot parse rpmlint output:
Source checksums ---------------- https://files.pythonhosted.org/packages/source/i/installer/installer-0.5.1.t... : CHECKSUM(SHA256) this package : f970995ec2bb815e2fdaf7977b26b2091e1e386f0f42eafd5ac811953dc5d445 CHECKSUM(SHA256) upstream package : f970995ec2bb815e2fdaf7977b26b2091e1e386f0f42eafd5ac811953dc5d445
Requires -------- mingw32-python3-installer (rpmlib, GLIBC filtered): mingw32(kernel32.dll) mingw32(python(abi)) mingw32(shlwapi.dll) mingw32-crt mingw32-filesystem
mingw64-python3-installer (rpmlib, GLIBC filtered): mingw64(kernel32.dll) mingw64(python(abi)) mingw64(shlwapi.dll) mingw64-crt mingw64-filesystem
Provides -------- mingw32-python3-installer: mingw32(python3.10dist(installer)) mingw32(python3dist(installer)) mingw32-python3-installer
mingw64-python3-installer: mingw64(python3.10dist(installer)) mingw64(python3dist(installer)) mingw64-python3-installer
Generated by fedora-review 0.8.0 (e988316) last change: 2022-04-07 Command line :/usr/bin/fedora-review --no-colors --prebuilt --rpm-spec --name mingw-python-installer --mock-config /var/lib/copr-rpmbuild/results/configs/child.cfg Buildroot used: fedora-rawhide-x86_64 Active plugins: Generic, Shell-api Disabled plugins: Ocaml, SugarActivity, PHP, fonts, Haskell, Java, Perl, R, C/C++, Python Disabled flags: EPEL6, EPEL7, DISTTAG, BATCH, EXARCH
https://bugzilla.redhat.com/show_bug.cgi?id=2136237
--- Comment #8 from Sandro Mani manisandro@gmail.com --- Generally for MinGW packages tests are omitted as they cannot be executed with cross-compiled binaries unless you pull in Wine. For platform-independent packages like pure-python modules, tests could be run, but I've not yet set up any macros to do so. I'd rather first finish the python-3.11 migration and then look into it at a later time.
https://bugzilla.redhat.com/show_bug.cgi?id=2136237
Sandro gui1ty@penguinpee.nl changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |POST Flags|fedora-review? |fedora-review+
--- Comment #9 from Sandro gui1ty@penguinpee.nl --- One last nitpick:
- README.md is missing in %files => tarball provides README.md. Please include it as %doc
Going by your Copr build the dependencies will work out and everything builds. I'm not gonna redo that exercise.
Package is approved.
https://bugzilla.redhat.com/show_bug.cgi?id=2136237
--- Comment #10 from Gwyn Ciesla gwync@protonmail.com --- (fedscm-admin): The Pagure repository was created at https://src.fedoraproject.org/rpms/mingw-python-installer
https://bugzilla.redhat.com/show_bug.cgi?id=2136237
Fedora Update System updates@fedoraproject.org changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|POST |MODIFIED
--- Comment #11 from Fedora Update System updates@fedoraproject.org --- FEDORA-2022-f7a5568776 has been submitted as an update to Fedora 38. https://bodhi.fedoraproject.org/updates/FEDORA-2022-f7a5568776
https://bugzilla.redhat.com/show_bug.cgi?id=2136237
Fedora Update System updates@fedoraproject.org changed:
What |Removed |Added ---------------------------------------------------------------------------- Resolution|--- |ERRATA Status|MODIFIED |CLOSED Last Closed| |2022-11-01 11:05:21
--- Comment #12 from Fedora Update System updates@fedoraproject.org --- FEDORA-2022-f7a5568776 has been pushed to the Fedora 38 stable repository. If problem still persists, please make note of it in this bug report.
package-review@lists.fedoraproject.org