> On 22 Dec 2021, at 11:12, Barry Scott <ba...@barrys-emacs.org> wrote:
> 
> I have added a patch for the spec file for python-tzlocal.spec
> that allows the 4.1 release to build.
> 
> https://bugzilla.redhat.com/show_bug.cgi?id=1993583
> 
> I can raise a PR if that helps, but I have not done that before
> so pointers to the work flow would be welcomed.
> 
> I need the 4.1 version for one of my copr projects.

Just found that I also need a pytz-deprecation-shim.
I tried to build on copr into my tools-testing project with:

$ copr-cli buildpypi --chroot=fedora-35-x86_64 
--packagename=pytz-deprecation-shim --pythonversions=3 tools-testing

This fails reporting that setup.py is missing, which is true it provided 
setup.cfg only.
I've not see setup.cfg before but a bit of searching I found that I can build 
via:

$ python3  -m build --no-isolation

That builds a wheel.

Is there an example .spec that I can use to package this setup.cfg only PyPI 
project?

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

Reply via email to