Re: Self-introduction

2020-05-06 Thread Miro Hrončok
On 07. 01. 20 19:20, Fabian Affolter wrote: On 1/3/20 3:08 PM, Petr Viktorin wrote: The "python-sig" FAS group [3] is something slightly different. It's confusingly named (IIRC only groups with "-sig" in their name can get some permissions). It's there for people who want to fix Python-related i

Re: Newbie introduction to Python SIG

2020-05-06 Thread Felix Schwarz
Hi Jens, Am 05.05.20 um 21:28 schrieb Adrian Adrian: > I was looking to join Fedora development, and as I'm most familiar with > Python, I thought the Python SIG would be my way to go. Following the > https://fedoraproject.org/wiki/SIGs/Python/JoinSIG guide, it suggests to post > a self-introducti

Re: Draft of New Python Packaging Guidelines

2020-05-06 Thread Lumir Balhar
I've took a look and the new guidelines look good to me. The only thing I am afraid of is that there is a lot of magic behind new macros. Previously, macros were a way how to use standard Python commands like "python3 setup.py build" without memorizing them and without a fear that you forget a

Re: Draft of New Python Packaging Guidelines

2020-05-06 Thread Miro Hrončok
On 06. 05. 20 11:24, Lumir Balhar wrote: I've took a look and the new guidelines look good to me. The only thing I am afraid of is that there is a lot of magic behind new macros. Previously, macros were a way how to use standard Python commands like "python3 setup.py build" without memorizing

Re: Newbie introduction to Python SIG

2020-05-06 Thread Miro Hrončok
On 06. 05. 20 11:19, Felix Schwarz wrote: https://bugzilla.redhat.com/buglist.cgi?bug_id=1797129&bug_id_type=anddependson&format=tvp&list_id=11041137# (click "Expand all" for the full horror show Or if you need another horror show, see: https://bugzilla.redhat.com/showdependencytree.cgi?id=PYT

Re: Macronize %pytest

2020-05-06 Thread Miro Hrončok
On 27. 04. 20 11:34, Miro Hrončok wrote: Hello Python packagers, since there is no upstream supported universal test invocation for Python (`python setup.py test` is deprecated and the de-facto-standard `tox` doesn't always do what we want in RPM's %check and/or is not always used by upstreams

Macronize %py3_shebang_fix

2020-05-06 Thread Miro Hrončok
In this change: https://fedoraproject.org/wiki/Changes/Make_ambiguous_python_shebangs_error We have advised the following: pathfix.py -pni "%{__python3} %{py3_shbang_opts}" To fix the shebangs. -p preserves timestamps -n prevents creating ~backup files -i specifies the interpreter for t

Re: Draft of New Python Packaging Guidelines

2020-05-06 Thread Zbigniew Jędrzejewski-Szmek
On Tue, May 05, 2020 at 08:04:35PM +0200, Petr Viktorin wrote: > Zbyszek said: > >Please don't advertise macros like %distname, %srcname, %origname, and > >the countless other variants in use. They made sense when people used > > >editors which didn't support search&replace easily. Having the name