Re: F25 System Wide Change: Automatic Provides for Python RPM Packages

2016-07-26 Thread Neal Gompa
On Tue, Jul 5, 2016 at 5:52 AM, Tomas Orsava wrote: > > > Oh! In that case, the documentation could be improved. :) > Have you tested it? Is it reliable? > It worked well enough for me when I was doing the testing and development for getting it upstream. A variant of it also

Re: F25 System Wide Change: Automatic Provides for Python RPM Packages

2016-07-05 Thread Tomas Orsava
On 07/04/2016 02:43 PM, Neal Gompa wrote: On Mon, Jul 4, 2016 at 7:43 AM, Tomas Orsava wrote: Hi! We have just removed the dependency generator from the proposal [0], see diff [1]. The implementation of it (backported from RPM upstream) is significantly lacking: Python

Re: F25 System Wide Change: Automatic Provides for Python RPM Packages

2016-07-04 Thread Neal Gompa
On Mon, Jul 4, 2016 at 7:43 AM, Tomas Orsava wrote: > Hi! > > We have just removed the dependency generator from the proposal [0], see > diff [1]. > > The implementation of it (backported from RPM upstream) is significantly > lacking: Python dependencies are most usually found

Re: F25 System Wide Change: Automatic Provides for Python RPM Packages

2016-07-04 Thread Tomas Orsava
Hi! We have just removed the dependency generator from the proposal [0], see diff [1]. The implementation of it (backported from RPM upstream) is significantly lacking: Python dependencies are most usually found in setup.py and requirements.txt files, whereas the dependency generator only

Re: F25 System Wide Change: Automatic Provides for Python RPM Packages

2016-07-04 Thread Tomas Orsava
Also, hasn't this been already discussed on the python-devel Fedora mailing list? https://lists.fedoraproject.org/archives/list/python-de...@lists.fedoraproject.org/message/3VYLAL22YPA7BSRTMRGAIAXKHXRFRGBF/ On 07/02/2016 12:13 PM, Tomas Orsava wrote: - Original Message - So, the

Re: F25 System Wide Change: Automatic Provides for Python RPM Packages

2016-07-02 Thread Tomas Orsava
- Original Message - > So, the "problem" with --majorver-provides occurs when either of the > two conditions are true: > > * There's no dependency on a specific version of the Python ABI > ("python(abi) = X.Y") in the modules > * There's more than one package providing a python

Re: F25 System Wide Change: Automatic Provides for Python RPM Packages

2016-07-01 Thread Neal Gompa
On Fri, Jul 1, 2016 at 3:58 PM, Tomas Orsava wrote: > Oh, sorry, I didn't look at the user name :) > > Could you please expand on what you have written here? > I'm not sure I follow you entirely. So, the "problem" with --majorver-provides occurs when either of the two

Re: F25 System Wide Change: Automatic Provides for Python RPM Packages

2016-07-01 Thread Tomas Orsava
lists.fedoraproject.org> Sent: Friday, July 1, 2016 5:43:46 PM Subject: Re: F25 System Wide Change: Automatic Provides for Python RPM Packages On Fri, Jul 1, 2016 at 8:34 AM, Tomas Orsava <tors...@redhat.com> wrote: > I'm sorry, I could have expanded on it. > > The difference is tha

Re: F25 System Wide Change: Automatic Provides for Python RPM Packages

2016-07-01 Thread Neal Gompa
On Fri, Jul 1, 2016 at 8:34 AM, Tomas Orsava wrote: > I'm sorry, I could have expanded on it. > > The difference is that if we enable --majorver-provides than there's no way > we can ship more than one Minor version per a Major version [0]. > > With macros, however, we have no

Re: F25 System Wide Change: Automatic Provides for Python RPM Packages

2016-07-01 Thread Tomas Orsava
I'm sorry, I could have expanded on it. The difference is that if we enable --majorver-provides than there's no way we can ship more than one Minor version per a Major version [0]. With macros, however, we have no problem shipping two minor versions, and the macros will continue to work,

Re: F25 System Wide Change: Automatic Provides for Python RPM Packages

2016-07-01 Thread Tomas Orsava
Hi Jason! Ticket created: https://fedorahosted.org/fpc/ticket/635 Tomas - Original Message - From: "Jason L Tibbitts III" <ti...@math.uh.edu> To: devel@lists.fedoraproject.org Sent: Thursday, June 30, 2016 6:33:48 PM Subject: Re: F25 System Wide Change: Automatic Provide

Re: F25 System Wide Change: Automatic Provides for Python RPM Packages

2016-07-01 Thread Neal Gompa
On Fri, Jul 1, 2016 at 2:48 AM, Tomas Orsava wrote: > Hi Neal! > > I believe you will be able to use a macro for that so that dependencies are > not tied to specific minor versions. I.e. something like: > > (Build)Requires: python%{python3_version}dist(somemodule) > > Of

Re: F25 System Wide Change: Automatic Provides for Python RPM Packages

2016-07-01 Thread Tomas Orsava
To: "Development discussions related to Fedora" <devel@lists.fedoraproject.org> Sent: Thursday, June 30, 2016 2:31:51 PM Subject: Re: F25 System Wide Change: Automatic Provides for Python RPM Packages On Thu, Jun 30, 2016 at 5:20 AM, Jaroslav Reznik <jrez...@redhat.com> wrote: >

Re: F25 System Wide Change: Automatic Provides for Python RPM Packages

2016-06-30 Thread Jason L Tibbitts III
> "JR" == Jaroslav Reznik writes: JR> * Proposal owners: Prepare a draft for the Fedora Packaging JR> Guidelines for Python Please open a ticket with FPC sooner rather than later, even if the draft isn't ready/started. - J< -- devel mailing list

Re: F25 System Wide Change: Automatic Provides for Python RPM Packages

2016-06-30 Thread Neal Gompa
On Thu, Jun 30, 2016 at 5:20 AM, Jaroslav Reznik wrote: > = Proposed System Wide Change: Automatic Provides for Python RPM Packages = > https://fedoraproject.org/wiki/Changes/ > Automatic_Provides_for_Python_RPM_Packages > > Change owner(s): > * Tomas Orsava

Re: F25 System Wide Change: Automatic Provides for Python RPM Packages

2016-06-30 Thread Jaroslav Reznik
On Thu, Jun 30, 2016 at 2:20 PM, Jaroslav Reznik wrote: > = Proposed System Wide Change: Automatic Provides for Python RPM Packages = > https://fedoraproject.org/wiki/Changes/ > Automatic_Provides_for_Python_RPM_Packages > > Change owner(s): > * Tomas Orsava

F25 System Wide Change: Automatic Provides for Python RPM Packages

2016-06-30 Thread Jaroslav Reznik
= Proposed System Wide Change: Automatic Provides for Python RPM Packages = https://fedoraproject.org/wiki/Changes/ Automatic_Provides_for_Python_RPM_Packages Change owner(s): * Tomas Orsava * Miro Hroncok