Re: Python3 will be in next major RHEL release, please adjust %if statements accordingly

2018-10-04 Thread Raphael Groner
> On Thu, Jan 18, 2018 at 07:32:07PM +0100, Miro Hrončok wrote: > > Given that Python 2 is going EOL in about two years, I don't think we > want it in EPEL proper. If we do provide it, it should be in a module. How to maintain the base RPM? Who should maintain this additional repository with a d

Re: Python3 will be in next major RHEL release, please adjust %if statements accordingly

2018-10-04 Thread Raphael Groner
Hi, recommending to use %define is wrong. AFAIK our guidelines tell to use %global instead. https://fedoraproject.org/wiki/Packaging:Guidelines#.25global_preferred_over_.25define (Yes, I know about favoured brand new docs.fp.org but I fail to find a search bar or any useful table of contents th

Re: Python3 will be in next major RHEL release, please adjust %if statements accordingly

2018-10-04 Thread Pavel Raiskup
On Thursday, October 4, 2018 1:36:32 PM CEST Charalampos Stratakis wrote: > This boils down again to having the same SPEC for a bunch of different > branches which I personally dislike, especially for branches that could > be ~10 years apart. My main argument against it, is that having a clean > SP

Re: Python3 will be in next major RHEL release, please adjust %if statements accordingly

2018-10-04 Thread Charalampos Stratakis
- Original Message - > From: "Pavel Raiskup" > To: devel@lists.fedoraproject.org > Sent: Thursday, October 4, 2018 1:05:47 PM > Subject: Re: Python3 will be in next major RHEL release, please adjust %if > statements accordingly > > > On Thu, Jan

Hyperkitty issue? -- Was: Re: Python3 will be in next major RHEL release, please adjust %if statements accordingly

2018-10-04 Thread Pavel Raiskup
Bug report for those whom it may concern: I used hyperkitty web-ui to respond into this thread (which was already deleted in my inbox), and it seems like - the "quotation" doesn't work, I reacted on Richard and not Troy - the thread has been broken by my message Pavel On Thursday, October 4,

Re: Python3 will be in next major RHEL release, please adjust %if statements accordingly

2018-10-04 Thread Pavel Raiskup
> On Thu, Jan 11, 2018 at 01:02:32PM -0800, Troy Dawson wrote: > I'll say it once again, but why can't we just have > %{python2_available} and %{python3_available} macros defined in the > base system? And once again, what about %py3_build_expected? Proposed in https://bugzilla.redhat.com/show_bug

Re: Python3 will be in next major RHEL release, please adjust %if statements accordingly

2018-02-01 Thread Pavel Raiskup
On Thursday, January 18, 2018 6:11:31 PM CET Petr Viktorin wrote: > On 01/17/2018 12:38 PM, Richard W.M. Jones wrote: > > On Thu, Jan 11, 2018 at 01:02:32PM -0800, Troy Dawson wrote: > >> Hello, > >> Python3 will be in the next major RHEL release. I don't mean RHEL > >> 7.6, but with numbers highe

Re: Building Fedora modules on EL [was Re: Python3 will be in next major RHEL release, please adjust %if statements accordingly]

2018-01-22 Thread Matthew Miller
On Mon, Jan 22, 2018 at 02:55:37AM -0600, Dennis Gilmore wrote: > > It's the plan of record that by default, all modules will be built > > across all available buildroots. I'm not sure if that means EPEL7 > > will be an available option for technical reasons, but I hope so. > > This will possibly r

Re: Building Fedora modules on EL [was Re: Python3 will be in next major RHEL release, please adjust %if statements accordingly]

2018-01-22 Thread Dennis Gilmore
El jue, 18-01-2018 a las 14:33 -0500, Matthew Miller escribió: > On Thu, Jan 18, 2018 at 02:09:26PM -0500, Josh Boyer wrote: > > > Given that Python 2 is going EOL in about two years, I don't > > > think we > > > want it in EPEL proper. If we do provide it, it should be in a > > > module. > > > >

Re: Exploring the idea of CentOS/RHEL branches in dist-git [was Re: Python3 will be in next major RHEL release, please adjust %if statements accordingly]

2018-01-19 Thread James Hogarth
On 17 January 2018 at 17:13, Matthew Miller wrote: > On Tue, Jan 16, 2018 at 08:18:42AM -0500, Josh Boyer wrote: >> - Better Git frontend for CentOS >> - Possibility to submit PRs against RHEL branches >> - Easy to see changes from RHEL and Fedora (and CentOS). >> What are some others? > > I'd lik

Building Fedora modules on EL [was Re: Python3 will be in next major RHEL release, please adjust %if statements accordingly]

2018-01-18 Thread Matthew Miller
On Thu, Jan 18, 2018 at 02:09:26PM -0500, Josh Boyer wrote: > > Given that Python 2 is going EOL in about two years, I don't think we > > want it in EPEL proper. If we do provide it, it should be in a module. > You're referring to EPEL > 7, right? For Python, yes. >

Re: Python3 will be in next major RHEL release, please adjust %if statements accordingly

2018-01-18 Thread Josh Boyer
On Thu, Jan 18, 2018 at 1:45 PM, Matthew Miller wrote: > On Thu, Jan 18, 2018 at 07:32:07PM +0100, Miro Hrončok wrote: >> Once there is a new EPEL version out there, it is very likely both >> pythons will be available there as well. > > Given that Python 2 is going EOL in about two years, I don't

Re: Python3 will be in next major RHEL release, please adjust %if statements accordingly

2018-01-18 Thread Stephen John Smoogen
On 18 January 2018 at 13:45, Matthew Miller wrote: > On Thu, Jan 18, 2018 at 07:32:07PM +0100, Miro Hrončok wrote: >> Once there is a new EPEL version out there, it is very likely both >> pythons will be available there as well. > > Given that Python 2 is going EOL in about two years, I don't thin

Re: Python3 will be in next major RHEL release, please adjust %if statements accordingly

2018-01-18 Thread Matthew Miller
On Thu, Jan 18, 2018 at 07:32:07PM +0100, Miro Hrončok wrote: > Once there is a new EPEL version out there, it is very likely both > pythons will be available there as well. Given that Python 2 is going EOL in about two years, I don't think we want it in EPEL proper. If we do provide it, it should

Re: Python3 will be in next major RHEL release, please adjust %if statements accordingly

2018-01-18 Thread Miro Hrončok
On 18.1.2018 19:16, Stephen Gallagher wrote: On Thu, Jan 18, 2018 at 12:12 PM Petr Viktorin > wrote: On 01/17/2018 12:38 PM, Richard W.M. Jones wrote: > On Thu, Jan 11, 2018 at 01:02:32PM -0800, Troy Dawson wrote: >> Hello, >> Python3 will be in

Re: Python3 will be in next major RHEL release, please adjust %if statements accordingly

2018-01-18 Thread Stephen Gallagher
On Thu, Jan 18, 2018 at 12:12 PM Petr Viktorin wrote: > On 01/17/2018 12:38 PM, Richard W.M. Jones wrote: > > On Thu, Jan 11, 2018 at 01:02:32PM -0800, Troy Dawson wrote: > >> Hello, > >> Python3 will be in the next major RHEL release. I don't mean RHEL > >> 7.6, but with numbers higher than 7.

Re: Python3 will be in next major RHEL release, please adjust %if statements accordingly

2018-01-18 Thread Petr Viktorin
On 01/17/2018 12:38 PM, Richard W.M. Jones wrote: On Thu, Jan 11, 2018 at 01:02:32PM -0800, Troy Dawson wrote: Hello, Python3 will be in the next major RHEL release. I don't mean RHEL 7.6, but with numbers higher than 7. There are many, many packages with something like the following if 0%{

Re: Exploring the idea of CentOS/RHEL branches in dist-git [was Re: Python3 will be in next major RHEL release, please adjust %if statements accordingly]

2018-01-17 Thread Matthew Miller
On Tue, Jan 16, 2018 at 08:18:42AM -0500, Josh Boyer wrote: > - Better Git frontend for CentOS > - Possibility to submit PRs against RHEL branches > - Easy to see changes from RHEL and Fedora (and CentOS). > What are some others? I'd like to see these branches as candidates for inclusion in module

Re: Python3 will be in next major RHEL release, please adjust %if statements accordingly

2018-01-17 Thread Richard W.M. Jones
On Thu, Jan 11, 2018 at 01:02:32PM -0800, Troy Dawson wrote: > Hello, > Python3 will be in the next major RHEL release. I don't mean RHEL > 7.6, but with numbers higher than 7. > There are many, many packages with something like the following > > if 0%{?fedora} >%define with_python3 1 > %

Re: Exploring the idea of CentOS/RHEL branches in dist-git [was Re: Python3 will be in next major RHEL release, please adjust %if statements accordingly]

2018-01-16 Thread Neal Gompa
On Tue, Jan 16, 2018 at 8:18 AM, Josh Boyer wrote: > On Tue, Jan 16, 2018 at 8:01 AM, Neal Gompa wrote: >> On Sat, Jan 13, 2018 at 12:39 PM, Matthew Miller >> wrote: >>> On Sat, Jan 13, 2018 at 10:40:36AM +0100, Kevin Kofler wrote: That's just all the more reason to publish the branched pac

Re: Exploring the idea of CentOS/RHEL branches in dist-git [was Re: Python3 will be in next major RHEL release, please adjust %if statements accordingly]

2018-01-16 Thread Stephen Gallagher
On Tue, Jan 16, 2018 at 8:20 AM Josh Boyer wrote: > On Tue, Jan 16, 2018 at 8:01 AM, Neal Gompa > > It's interesting that you bring this up, because SUSE elected to do > > this for the SLE 15 development[1]. All the sources are public, and > > while only a few things (a few bots and SUSE employee

Re: Exploring the idea of CentOS/RHEL branches in dist-git [was Re: Python3 will be in next major RHEL release, please adjust %if statements accordingly]

2018-01-16 Thread Josh Boyer
On Tue, Jan 16, 2018 at 8:01 AM, Neal Gompa wrote: > On Sat, Jan 13, 2018 at 12:39 PM, Matthew Miller > wrote: >> On Sat, Jan 13, 2018 at 10:40:36AM +0100, Kevin Kofler wrote: >>> That's just all the more reason to publish the branched packages in CentOS >>> Git as soon as they're branched, or ev

Re: Exploring the idea of CentOS/RHEL branches in dist-git [was Re: Python3 will be in next major RHEL release, please adjust %if statements accordingly]

2018-01-16 Thread Neal Gompa
On Sat, Jan 13, 2018 at 12:39 PM, Matthew Miller wrote: > On Sat, Jan 13, 2018 at 10:40:36AM +0100, Kevin Kofler wrote: >> That's just all the more reason to publish the branched packages in CentOS >> Git as soon as they're branched, or even maintain them in Fedora dist-git. >> But I'm not holding

Re: Exploring the idea of CentOS/RHEL branches in dist-git [was Re: Python3 will be in next major RHEL release, please adjust %if statements accordingly]

2018-01-16 Thread Josh Boyer
On Sat, Jan 13, 2018 at 12:39 PM, Matthew Miller wrote: > On Sat, Jan 13, 2018 at 10:40:36AM +0100, Kevin Kofler wrote: >> That's just all the more reason to publish the branched packages in CentOS >> Git as soon as they're branched, or even maintain them in Fedora dist-git. >> But I'm not holding

Exploring the idea of CentOS/RHEL branches in dist-git [was Re: Python3 will be in next major RHEL release, please adjust %if statements accordingly]

2018-01-13 Thread Matthew Miller
On Sat, Jan 13, 2018 at 10:40:36AM +0100, Kevin Kofler wrote: > That's just all the more reason to publish the branched packages in CentOS > Git as soon as they're branched, or even maintain them in Fedora dist-git. > But I'm not holding my breath for it to happen any time soon. I wouldn't sugge

Re: Python3 will be in next major RHEL release, please adjust %if statements accordingly

2018-01-13 Thread Kevin Kofler
Peter Robinson wrote: > Well given it's based on Fedora and most of the pre work happens in > Fedora (hence the request for ensuring the conditionals are correct) I > think that's relatively upstream. Also a lot of the packages actually > have the same specs in Fedora/RHEL/CentOS, a lot of the RHEL

Re: Python3 will be in next major RHEL release, please adjust %if statements accordingly

2018-01-12 Thread Peter Robinson
On Sat, Jan 13, 2018 at 1:36 AM, Kevin Kofler wrote: > Jason L Tibbitts III wrote: >> As a person not privy to Red Hat internals, I really have no idea what >> state things are in there, but I have to assume that Red Hat is well >> along with RHEL8 packaging and so I would be surprised if any chan

Re: Python3 will be in next major RHEL release, please adjust %if statements accordingly

2018-01-12 Thread Kevin Kofler
Jason L Tibbitts III wrote: > As a person not privy to Red Hat internals, I really have no idea what > state things are in there, but I have to assume that Red Hat is well > along with RHEL8 packaging and so I would be surprised if any changes > made to a rawhide branch in Fedora now would make any

Re: Python3 will be in next major RHEL release, please adjust %if statements accordingly

2018-01-12 Thread Neal Gompa
On Fri, Jan 12, 2018 at 7:05 AM, Josh Boyer wrote: > On Thu, Jan 11, 2018 at 9:04 PM, Adam Williamson > wrote: >> On Thu, 2018-01-11 at 20:53 -0500, Josh Boyer wrote: >>> Small caveat, nobody said RHEL 8. Troy said the next major version of >>> RHEL will have python3, that's all. This is where

Re: Python3 will be in next major RHEL release, please adjust %if statements accordingly

2018-01-12 Thread Troy Dawson
On Thu, Jan 11, 2018 at 11:55 PM, Panu Matilainen wrote: > On 01/12/2018 06:08 AM, Luya Tshimbalanga wrote: >> >> On 2018-01-11 01:02 PM, Troy Dawson wrote: >>> >>> Hello, >>> Python3 will be in the next major RHEL release. I don't mean RHEL >>> 7.6, but with numbers higher than 7. >>> There are

Re: Python3 will be in next major RHEL release, please adjust %if statements accordingly

2018-01-12 Thread Josh Boyer
On Thu, Jan 11, 2018 at 9:04 PM, Adam Williamson wrote: > On Thu, 2018-01-11 at 20:53 -0500, Josh Boyer wrote: >> Small caveat, nobody said RHEL 8. Troy said the next major version of >> RHEL will have python3, that's all. This is where the awkwardness >> comes in. I think people can appreciate

Re: Python3 will be in next major RHEL release, please adjust %if statements accordingly

2018-01-11 Thread Panu Matilainen
On 01/12/2018 06:08 AM, Luya Tshimbalanga wrote: On 2018-01-11 01:02 PM, Troy Dawson wrote: Hello, Python3 will be in the next major RHEL release. I don't mean RHEL 7.6, but with numbers higher than 7. There are many, many packages with something like the following if 0%{?fedora} %defin

Re: Python3 will be in next major RHEL release, please adjust %if statements accordingly

2018-01-11 Thread Luya Tshimbalanga
On 2018-01-11 01:02 PM, Troy Dawson wrote: > Hello, > Python3 will be in the next major RHEL release. I don't mean RHEL > 7.6, but with numbers higher than 7. > There are many, many packages with something like the following > > if 0%{?fedora} >%define with_python3 1 > %endif > > If you ha

Re: Python3 will be in next major RHEL release, please adjust %if statements accordingly

2018-01-11 Thread Adam Williamson
On Thu, 2018-01-11 at 20:53 -0500, Josh Boyer wrote: > Small caveat, nobody said RHEL 8. Troy said the next major version of > RHEL will have python3, that's all. This is where the awkwardness > comes in. I think people can appreciate not being able to talk > publicly about any current or future

Re: Python3 will be in next major RHEL release, please adjust %if statements accordingly

2018-01-11 Thread Josh Boyer
On Thu, Jan 11, 2018 at 8:32 PM, Jason L Tibbitts III wrote: >> "JB" == Josh Boyer writes: > > JB> Hm. On the one hand, that's a fair assumption to make. On the > JB> other hand, it seems unnecessarily adversarial. > > I certainly didn't intend it that way; hell, none of that even entered >

Re: Python3 will be in next major RHEL release, please adjust %if statements accordingly

2018-01-11 Thread Jason L Tibbitts III
> "JB" == Josh Boyer writes: JB> Hm. On the one hand, that's a fair assumption to make. On the JB> other hand, it seems unnecessarily adversarial. I certainly didn't intend it that way; hell, none of that even entered my mind. To flip it around, to be completely honest your response comes

Re: Python3 will be in next major RHEL release, please adjust %if statements accordingly

2018-01-11 Thread Josh Boyer
On Thu, Jan 11, 2018 at 4:34 PM, Jason L Tibbitts III wrote: >> "FW" == Florian Weimer writes: > > FW> It could also be branched into Red Hat Enterprise Linux proper, and > FW> in that case, it would be nice to minimize the differences. > > That would be kind of outside the scope of Fedora, t

Re: Python3 will be in next major RHEL release, please adjust %if statements accordingly

2018-01-11 Thread Jason L Tibbitts III
> "FW" == Florian Weimer writes: FW> It could also be branched into Red Hat Enterprise Linux proper, and FW> in that case, it would be nice to minimize the differences. That would be kind of outside the scope of Fedora, though. Many of us watching from outside would assume that instructions

Re: Python3 will be in next major RHEL release, please adjust %if statements accordingly

2018-01-11 Thread Florian Weimer
On 01/11/2018 10:09 PM, Jason L Tibbitts III wrote: TD> If you have something like that, please change it to something like TD> this. TD> if 0%{?fedora} || 0%{?rhel} > 7 TD>%define with_python3 1 TD> %endif If things work as they have in the past, packages will need to explicitly be bra

Re: Python3 will be in next major RHEL release, please adjust %if statements accordingly

2018-01-11 Thread Jason L Tibbitts III
> "TD" == Troy Dawson writes: TD> If you have something like that, please change it to something like TD> this. TD> if 0%{?fedora} || 0%{?rhel} > 7 TD>%define with_python3 1 TD> %endif If things work as they have in the past, packages will need to explicitly be branched for EPEL8 an

Python3 will be in next major RHEL release, please adjust %if statements accordingly

2018-01-11 Thread Troy Dawson
Hello, Python3 will be in the next major RHEL release. I don't mean RHEL 7.6, but with numbers higher than 7. There are many, many packages with something like the following if 0%{?fedora} %define with_python3 1 %endif If you have something like that, please change it to something like th