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



--- Comment #10 from Maxwell G <[email protected]> ---
(In reply to Sandro Mani from comment #8)
> I actually gave python-build a try a while ago, but I ran into a chicken-egg
> problem: python3-build requires python3-tomli

python3-build only requires tomli on Python 3.10 and below. On Python 3.11 and
above, it uses tomllib[1] from the stdlib. I think you said you were building
for Python 3.11 in your ML post.

[1]: https://docs.python.org/3.11/library/tomllib.html /
https://peps.python.org/pep-0680/

> python3-tomli, which does not have a
> setup.py - so I'm not sure how I'm supposed to build it? Therefore I assumed
> that going for the full pyproject macros was the better solution.

Either way, you can build flit-core itself or any project that uses it with
%python3 -m flit_core.wheel. This is what I used to build flit-core, tomli, and
testpath for EPEL 8 that doesn't have build, pyproject-rpm-macros, or support
for pep517 build backends in its old pip. See
https://src.fedoraproject.org/rpms/python-flit-core/blob/epel8/f/python-flit-core.spec
or
https://src.fedoraproject.org/rpms/python-tomli/blob/epel8/f/python-tomli.spec.

> mingw-python-flit_core

This should be named mingw-python-flit_core.


-- 
You are receiving this mail because:
You are always notified about changes to this product and component
You are on the CC list for the bug.
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