LinuxQuestions.org
Review your favorite Linux distribution.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices


Reply
  Search this Thread
Old 03-01-2019, 04:39 PM   #1
majekw
LQ Newbie
 
Registered: May 2011
Distribution: Slackware
Posts: 15

Rep: Reputation: 23
Slackware 15 without python2?


If someone missed it: https://github.com/python/devguide/pull/344

That makes question from subject: will Slackware 15 be without Python 2?

Pros:
- don't put obsolete and almost EOL into distribution which should be supported for another 2-3 years
Cons:
- upgrade from 14.2 to 15.0 could be difficult for people as Python 2 is not full compatible with Python 3

On the flip side, shipping 15.0 with Python 2:
Pros:
- seamless upgrade from 14.2 to 15.0
- possibility to adapt later python scripts having both versions installed
Cons:
- keeping soon-to-be EOL package supported.

Of course I'm aware that people should install Python3 right now (from SBo for example) and start preparing for doomsday, but everyone knows how it work: if it works, don't touch it.

Further postponing of 15.0 release will not make things better :-(
 
Old 03-01-2019, 05:08 PM   #2
deNiro
Member
 
Registered: Jun 2003
Distribution: Slackware-Current and Salix 14.2
Posts: 274
Blog Entries: 1

Rep: Reputation: Disabled
doomsday? Even if it ships without python2, one can just install python2 on slackware 15. So it doesn't not really matter that much.
 
4 members found this post helpful.
Old 03-01-2019, 05:12 PM   #3
orbea
Senior Member
 
Registered: Feb 2015
Distribution: Slackware64-current
Posts: 1,950

Rep: Reputation: Disabled
We still have gtk+-1.2.10, if it works then why remove it?
 
3 members found this post helpful.
Old 03-01-2019, 06:48 PM   #4
phalange
Member
 
Registered: May 2018
Distribution: Slackware, FreeBSD, Debian
Posts: 355

Rep: Reputation: 184Reputation: 184
Quote:
Originally Posted by majekw View Post
If someone missed it: https://github.com/python/devguide/pull/344

That makes question from subject: will Slackware 15 be without Python 2?
Maybe not if it's released before 2020. But at some point the scale tips when keeping it alive is more work than fixing what breaks from killing it. This EOL may be that tipping point.
 
Old 03-01-2019, 07:59 PM   #5
Richard Cranium
Senior Member
 
Registered: Apr 2009
Location: McKinney, Texas
Distribution: Slackware64 15.0
Posts: 3,858

Rep: Reputation: 2225Reputation: 2225Reputation: 2225Reputation: 2225Reputation: 2225Reputation: 2225Reputation: 2225Reputation: 2225Reputation: 2225Reputation: 2225Reputation: 2225
Install python3 from Slackbuilds.org. Update your scripts accordingly.

Python3 was released (slightly over) 10 years ago. There's been ample time to upgrade, for crying out loud.
 
5 members found this post helpful.
Old 03-01-2019, 08:42 PM   #6
dugan
LQ Guru
 
Registered: Nov 2003
Location: Canada
Distribution: distro hopper
Posts: 11,224

Rep: Reputation: 5320Reputation: 5320Reputation: 5320Reputation: 5320Reputation: 5320Reputation: 5320Reputation: 5320Reputation: 5320Reputation: 5320Reputation: 5320Reputation: 5320
I predict that it would remain in /pasture for apps that still need it (like Calibre).
 
3 members found this post helpful.
Old 03-01-2019, 08:56 PM   #7
khronosschoty
Member
 
Registered: Jul 2008
Distribution: Slackware
Posts: 648
Blog Entries: 2

Rep: Reputation: 514Reputation: 514Reputation: 514Reputation: 514Reputation: 514Reputation: 514
Quote:
Originally Posted by dugan View Post
I predict that it would remain in /pasture for apps that still need it (like Calibre).
I would hope it would be moved to extra or pasture would be fine too
 
Old 03-02-2019, 01:12 AM   #8
Skaendo
Senior Member
 
Registered: Dec 2014
Location: West Texas, USA
Distribution: Slackware64-14.2
Posts: 1,445

Rep: Reputation: Disabled
https://pythonclock.org/
 
Old 03-02-2019, 02:22 AM   #9
notKlaatu
Senior Member
 
Registered: Sep 2010
Location: Lawrence, New Zealand
Distribution: Slackware
Posts: 1,077

Rep: Reputation: 732Reputation: 732Reputation: 732Reputation: 732Reputation: 732Reputation: 732Reputation: 732
I'd be OK with it not shipping with Python 2.x. Slackbuilds.org can provide the "backport" just as it currently provides py3.
 
2 members found this post helpful.
Old 03-02-2019, 08:29 AM   #10
SCerovec
Senior Member
 
Registered: Oct 2006
Location: Cp6uja
Distribution: Slackware on x86 and arm
Posts: 2,471
Blog Entries: 2

Rep: Reputation: 980Reputation: 980Reputation: 980Reputation: 980Reputation: 980Reputation: 980Reputation: 980Reputation: 980
i'm for /pasture
 
Old 03-02-2019, 09:30 AM   #11
Thom1b
Member
 
Registered: Mar 2010
Location: France
Distribution: Slackware
Posts: 484

Rep: Reputation: 337Reputation: 337Reputation: 337Reputation: 337
Quote:
Originally Posted by SCerovec View Post
i'm for /pasture
I'm for pasture too
 
Old 03-02-2019, 09:34 AM   #12
montagdude
Senior Member
 
Registered: Apr 2016
Distribution: Slackware
Posts: 2,011

Rep: Reputation: 1619Reputation: 1619Reputation: 1619Reputation: 1619Reputation: 1619Reputation: 1619Reputation: 1619Reputation: 1619Reputation: 1619Reputation: 1619Reputation: 1619
Does everything in Slackware already support Python 3, outside of KDE 4? I would have thought that there were still some things that needed Python 2.
 
Old 03-02-2019, 11:42 AM   #13
dugan
LQ Guru
 
Registered: Nov 2003
Location: Canada
Distribution: distro hopper
Posts: 11,224

Rep: Reputation: 5320Reputation: 5320Reputation: 5320Reputation: 5320Reputation: 5320Reputation: 5320Reputation: 5320Reputation: 5320Reputation: 5320Reputation: 5320Reputation: 5320
Quote:
Originally Posted by montagdude View Post
Does everything in Slackware already support Python 3, outside of KDE 4? I would have thought that there were still some things that needed Python 2.
Someone pointed out LLVM last time this was asked. That was a couple of years ago.
 
Old 03-02-2019, 07:45 PM   #14
zuriel
Member
 
Registered: Aug 2012
Distribution: Slackware
Posts: 60

Rep: Reputation: 50
Let people who need it install python2 from slackbuilds.org, in my opinion. That allows it to quietly go away as people stop needing it, instead of Pat being forced to maintain it.

It also requires people to do something to continue using python2, which will be the first time a lot of people notice that they're using software that relies on python2.
 
Old 03-02-2019, 08:16 PM   #15
FlinchX
Member
 
Registered: Nov 2017
Distribution: Slackware Linux
Posts: 666

Rep: Reputation: Disabled
Pat for sure knows it better. I think it's rather "are there any packages in future Slackware 15 that will still need Python 2 (or maybe provide Python 2 bindings etc)" than "do I personally need Python 2 in future Slackware 15".

There's a very fair point about Calibre needing Python 2 in this thread, even if Calibre itself isn't part of vanilla Slackware. A couple of months ago the SBo Calibre got broken for a while (due to some troubles with sip IIRC). I have emailed the author and asked if he's considering to provide an AppImage (that would include Python 2 of course) and would just work on any Linux, I never got any reply. I have just checked the download page on the Calibre official website and nothing there either. Not being able to use Calibre in Slackware 15 will hurt me, so this is probably a good time to prepare for such a scenario by finding some alternative (so far I didn't).
 
1 members found this post helpful.
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
[SOLVED] Slackware current - Openssl and python2 update broke python-setuptools? orbea Slackware 28 03-14-2016 03:16 PM
[SOLVED] How can I make Python2.7 my default Python without deleting/removing python2.6. steves504 Linux - Server 2 03-21-2014 11:57 AM
[SOLVED] Trying to install 'Gmail Backup' but it requires python2.5 - I have python2.8... Robert.Thompson Slackware 6 05-10-2011 08:23 AM
Python2.5-devel is unable to find installed Python2.5 Setya SUSE / openSUSE 1 06-08-2007 01:35 AM
python2.2 Dependencies webboss Linux - General 3 03-06-2002 04:20 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware

All times are GMT -5. The time now is 11:40 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration