> On Sun, 22 Aug 2021 at 06:06, Mattia Verga <mattia.verga(a)protonmail.com&gt; 
> wrote:
> 
> The extras macro expands to %package, %description, and %files; you
> have put it in between a %package and %description, which will surely
> confuse rpm somewhat.
> 

Oh, I've missed that. Thanks.

> 
> You need to ensure that tox is installed as well, if it isn't listed
> in upstream's requirements to get pulled in by
> %pyproject_buildrequires.
> 

I'll try adding the missing BuildReqs (I suppose `%pyproject_buildrequires -t` 
should be enough), then I'll have to have a look on how tox works... from a 
quick look to the tox config file, it seems that there are many environments 
specified, some of them are related to code linting. In the Guidelines I see 
these should be skipped, I'll need to find out how to do that.

> 
> I asked a similar question earlier:
> https://lists.fedoraproject.org/archives/list/python-devel@lists.fedorapr...
> 
> But maybe you try removing the pin? Flask 2 did break things, but it
> may not have broken your package.

I don't know why upstream has pinned that requirement, the commit says it was 
for "fixing tests"... I'll try to ask upstream.

Thank you
_______________________________________________
python-devel mailing list -- python-devel@lists.fedoraproject.org
To unsubscribe send an email to python-devel-le...@lists.fedoraproject.org
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/python-devel@lists.fedoraproject.org
Do not reply to spam on the list, report it: 
https://pagure.io/fedora-infrastructure

Reply via email to