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



--- Comment #7 from Maxwell G <[email protected]> ---
(In reply to Miro Hrončok from comment #4)
> %pyproject_buildrequires is missing entirely?
> 
> There are the following runtime requires hardcoded:
> 
> Requires:       mingwXX-python3-pip
> Requires:       mingwXX-python3-setuptools
> Requires:       mingwXX-python3-wheel
> 
> That is against the spirit of PEP 517 which this package mentions in the
> summary and description.

I guess there isn't a Python dist Provides generator or a dependency generator
for mingw python packages. The generator would have to create Provides like
mingw32-python3dist(foo) or mingw64-python3dist(foo).

> If you just need a way to build a wheel with setuptools and install it, 
> aren't %py3_build_wheel and %py3_install_wheel better suited for the task?

Yeah, I also wonder if there's a better choice if you don't want to implement
the other plubming. If you built python3-build for mingw, you could also run
%mingwXX_python3 -m build -w to build wheels for packages that use other build
systems. %py3_build_wheel only works with legacy setup.py files. 


(In reply to Miro Hrončok from comment #6)
> (In reply to Sandro Mani from comment #5)
> > ...I'm open to any solution which allows me to build the packages.
> 
> So you have some examples I can examine?

https://copr.fedorainfracloud.org/coprs/smani/mingw-python3-3.11


-- 
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=2134021
_______________________________________________
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://pagure.io/fedora-infrastructure/new_issue

Reply via email to