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



--- Comment #2 from Miro Hrončok <[email protected]> ---
(In reply to Miro Hrončok from comment #1)
> Note that there is a build dependency loop with flit from
> https://src.fedoraproject.org/rpms/python-flit/pull-request/16 -- is there a
> way to build this without flit?



Something like this works:


# (no idea if there is a hash-less URL for whls yet)
Source1:       
https://files.pythonhosted.org/packages/f2/1b/4a0eae0293fbc806ddb43f4bd24d54cef40dcd022a76d8b59986aa813a6a/tomli_w-%{version}-py3-none-any.whl
BuildRequires:  python3-devel
BuildRequires:  python3-pip

# no %%generate_buildrequires

...

%build
mkdir -p %{_pyproject_wheeldir}
cp -p %{SOURCE1} %{_pyproject_wheeldir}

%install
%pyproject_install
...


This could be under a bootstrap bcond in tomli and tomli-w.


-- 
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=2017670
_______________________________________________
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 on the list, report it: 
https://pagure.io/fedora-infrastructure

Reply via email to