Re: python noarch packaging vs pip install

2021-03-09 Thread Dennis Gilmore
On Mon, 2021-03-08 at 19:07 +0100, Miro Hrončok wrote: > On 08. 03. 21 18:33, Mattia Verga via devel wrote: > > I'm just wondering: what's the benefit of packaging Python noarch > > projects in Fedora? > > You can use them as requirements for packaged applications. > > > I can see the reason abou

Re: python noarch packaging vs pip install

2021-03-09 Thread James Szinger
On Mon, 08 Mar 2021 17:33:00 + Mattia Verga via devel wrote: > I'm just wondering: what's the benefit of packaging Python noarch > projects in Fedora? Ob XKCD: https://xkcd.com/1987/ It is the same reason I build RPMs instead of installing Perl modules directly from CPAN. Jim _

Re: python noarch packaging vs pip install

2021-03-09 Thread Ankur Sinha
On the NeuroFedora side, having Python modules packaged in Fedora allows us to produce the ISO images with all the necessary tools for a particular domain (like comp-neuro). I know that in FOSS we assume that everyone can use virtual environments and pip, but that's not necessarily true in a multi

Re: python noarch packaging vs pip install

2021-03-09 Thread Nico Kadel-Garcia
On Tue, Mar 9, 2021 at 4:20 AM Miroslav Suchý wrote: > > Dne 08. 03. 21 v 18:33 Mattia Verga via devel napsal(a): > > In what way is different from installing them by pip? Does packaging > > them worth spending resources (disk space, Koji cycles) and packagers time? > > 1. You know from where the

Re: python noarch packaging vs pip install

2021-03-09 Thread Miroslav Suchý
Dne 08. 03. 21 v 18:33 Mattia Verga via devel napsal(a): In what way is different from installing them by pip? Does packaging them worth spending resources (disk space, Koji cycles) and packagers time? 1. You know from where the package comes. Verified using GPG checks. Helps to avoid Dependen

Re: python noarch packaging vs pip install

2021-03-08 Thread Reon Beon via devel
You could just run a script that runs dnf update --refresh, pip-review, php composer.phar update and drush update. Instead of trying to use system rpm packages for everything? For system, python, php and drupal module, etc updates? ___ devel mailing lis

Re: python noarch packaging vs pip install

2021-03-08 Thread Reon Beon via devel
Good point but most of those modules are updated to the latest by pypl on https://release-monitoring.org/ You do make a point that it is more convenient to just do one update via more than one. Good point. Thanks. ___ devel mailing list -- devel@lists.

Re: python noarch packaging vs pip install

2021-03-08 Thread Reon Beon via devel
Same thing for all those drupal packages +modules drush and composer is all you need see: https://lists.fedoraproject.org/archives/list/devel@lists.fedoraproject.org/thread/KW4DDCDSCYZL5CXN76TCMDUFZVIJ5N7S/ ___ devel mailing list -- devel@lists.fedorapro

Re: python noarch packaging vs pip install

2021-03-08 Thread Björn Persson
Mattia Verga via devel wrote: > I'm just wondering: what's the benefit of packaging Python noarch > projects in Fedora? [...] > In what way is different from installing them by pip? · Users can install and use programs without caring about what programming language they are written in. · Programs

Re: python noarch packaging vs pip install

2021-03-08 Thread Stephen John Smoogen
On Mon, 8 Mar 2021 at 12:34, Mattia Verga via devel < devel@lists.fedoraproject.org> wrote: > I'm just wondering: what's the benefit of packaging Python noarch > projects in Fedora? > > I can see the reason about packaging architecture specific packages, > since they will benefit of optimizations

Re: python noarch packaging vs pip install

2021-03-08 Thread Vitaly Zaitsev via devel
On 08.03.2021 18:33, Mattia Verga via devel wrote: I'm just wondering: what's the benefit of packaging Python noarch projects in Fedora? 1. Can be used in packaging of another packages. 2. Can be installed only once. Saves lots of disk space. 3. Can be easily updated to fix security vulnerabili

Re: python noarch packaging vs pip install

2021-03-08 Thread Miro Hrončok
On 08. 03. 21 18:33, Mattia Verga via devel wrote: I'm just wondering: what's the benefit of packaging Python noarch projects in Fedora? You can use them as requirements for packaged applications. I can see the reason about packaging architecture specific packages, since they will benefit of

python noarch packaging vs pip install

2021-03-08 Thread Mattia Verga via devel
I'm just wondering: what's the benefit of packaging Python noarch projects in Fedora? I can see the reason about packaging architecture specific packages, since they will benefit of optimizations and security flags that Fedora uses, but noarch packages are simply the source code that gets compiled