Hi,

I'm trying to convert one of my Python package to the new guidelines.
With the former guidelines, it had the following BR:

BuildRequires:  python3-devel
BuildRequires:  python3dist(click)
BuildRequires:  python3dist(pytest)
BuildRequires:  python3dist(setuptools)

However when converting to the new guidelines, I'm encountering the
following the following error:

Handling wheel from get_requires_for_build_wheel
Requirement satisfied: wheel
   (installed: wheel 0.36.2)
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

There is a setup.cfg, but there is no dependency specified anywhere
in it. The deps are specified in the setup.py but don't seem to be detected:

https://github.com/click-contrib/click-default-group/blob/master/setup.py

Is there any workaround for this situation? Should I write my own pyproject.toml
in %prep?

Best regards,

Robert-André
_______________________________________________
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