Re: Fix for python-tzlocal FTBFS

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

 




> On 22 Dec 2021, at 11:12, Barry Scott <barry@xxxxxxxxxxxxxxxx> 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@xxxxxxxxxxxxxxxxxxxxxxx
To unsubscribe send an email to devel-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/devel@xxxxxxxxxxxxxxxxxxxxxxx
Do not reply to spam on the list, report it: https://pagure.io/fedora-infrastructure




[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Index of Archives]     [Fedora Announce]     [Fedora Users]     [Fedora Kernel]     [Fedora Testing]     [Fedora Formulas]     [Fedora PHP Devel]     [Kernel Development]     [Fedora Legacy]     [Fedora Maintainers]     [Fedora Desktop]     [PAM]     [Red Hat Development]     [Gimp]     [Yosemite News]

  Powered by Linux