Re: [python] tox config file not found

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Wed, 26 Jan 2022 at 15:38, Miro Hrončok <mhroncok@xxxxxxxxxx> wrote:
>
> On 26. 01. 22 14:32, Iñaki Ucar wrote:
> > Hi,
> >
> > Do we have any spec dealing with poetry? I'm trying to package [1],
> > but I'm stuck here:
> >
> > + /usr/bin/python3 -s /usr/lib/rpm/redhat/pyproject_buildrequires.py
> > --generate-extras --python3_pkgversion 3 -t
> > Handling poetry>=1.1.4 from build-system.requires
> > Requirement satisfied: poetry>=1.1.4
> >    (installed: poetry 1.1.8)
> > Handling tox-current-env >= 0.0.6 from tox itself
> > Requirement satisfied: tox-current-env >= 0.0.6
> >    (installed: tox-current-env 0.0.6)
> > ERROR: tox config file (either pyproject.toml, tox.ini, setup.cfg) not found
> >
> > but the pyproject.toml file is certainly there. Any pointers would be
> > appreciated.
>
>
> Hey Iñaki,
>
> please share the spec file next time you ask a question like this.

I should have, sorry, but I was playing and getting used to the new
2021 guidelines, and the spec is just in such a deplorable state right
now.

> It seems that you run %pyporject_buildrequires with the -t option. The -t
> option stands for tox. And it requires tox configuration to be present. The
> pyproject.toml file is certainly there, but it has not tox configuration in it.
> What is your motivation for using the -t option?

*Facepalm* My motivation was that... I copied the example spec clearly
without properly understanding what this flag does... Thanks.

--
Iñaki Úcar
_______________________________________________
packaging mailing list -- packaging@xxxxxxxxxxxxxxxxxxxxxxx
To unsubscribe send an email to packaging-leave@xxxxxxxxxxxxxxxxxxxxxxx
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/packaging@xxxxxxxxxxxxxxxxxxxxxxx
Do not reply to spam on the list, report it: https://pagure.io/fedora-infrastructure




[Index of Archives]     [Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite Forum]     [KDE Users]

  Powered by Linux