Hi Barry,
I'm an aspiring Fedora packager with a focus on python. I'm likely to run into the same situation soon. If you don't get any traction on this, I am happy to look around and see if I can find some useful examples.
I'm in eastern time zone if you want to have a second pair of eyes.
Cheers,
Fas: blaise
Gmail: Blaise
On Wed, Dec 22, 2021, 8:02 AM Barry Scott <barry@xxxxxxxxxxxxxxxx> wrote:
> 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
_______________________________________________ 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