LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
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 08-26-2019, 05:13 AM   #46
zeebra
Member
 
Registered: Dec 2011
Distribution: Mageia, Slackware
Posts: 781
Blog Entries: 6

Rep: Reputation: 188Reputation: 188

I'm interested in this topic still and I'm perplexed as to what will happen with Slackware 15 in regards to Python.
 
Old 08-26-2019, 05:36 AM   #47
TheRealGrogan
Member
 
Registered: Oct 2010
Location: Ontario, Canada
Distribution: Slackware, Manjaro (for gaming)
Posts: 129

Rep: Reputation: 106Reputation: 106
There's no reason not to include Python 2... there are still things that need it, for example compiling Firefox.
 
Old 08-26-2019, 05:45 AM   #48
zeebra
Member
 
Registered: Dec 2011
Distribution: Mageia, Slackware
Posts: 781
Blog Entries: 6

Rep: Reputation: 188Reputation: 188
Firefox is dependent on Python2 to compile from source? That's pretty crazy actually. Anyways, I was searching the web trying to find a list of "relevant" packages which still use python2, but I could find nothing. So your example is interesting (and shocking).

I'm not wondering about including or not, although I wonder which will be included and which will be default and so fourth, and which will be excluded and optional or whatever it will become.

Personally I hate Python, but I think I'd like to see default Python3 included and Python2 optional if possible at all. It doesn't matter really, it's just what I would see as the optimal solution personally. I did actually think it sounded rather unrealistic and was wondering if it was unrealistic for Slackware.

With end of life January 2020, I can't see how Slackware 16 will ship with Python2 though.

Last edited by zeebra; 08-26-2019 at 05:51 AM.
 
Old 08-26-2019, 06:33 AM   #49
Didier Spaier
LQ Addict
 
Registered: Nov 2008
Location: Paris, France
Distribution: Slint64-14.2.1.2 on Lenovo Thinkpad W520
Posts: 8,957

Rep: Reputation: Disabled
Well,
Code:
didier[/data/images_iso$ grep SIZE /var/log/packages/python-2*
COMPRESSED PACKAGE SIZE:     14M
UNCOMPRESSED PACKAGE SIZE:     76M
That's not that heavy and there will still exist applications not converted to Python3 during several years, so I guess (only a guess) that Pat will continue to ship it, at least in /pasture.

Last edited by Didier Spaier; 08-26-2019 at 06:35 AM.
 
Old 08-26-2019, 06:43 AM   #50
ehartman
Member
 
Registered: Jul 2007
Location: Delft, The Netherlands
Distribution: Slackware
Posts: 895

Rep: Reputation: 469Reputation: 469Reputation: 469Reputation: 469Reputation: 469
Quote:
Originally Posted by Didier Spaier View Post
That's not that heavy and there will still exist applications not converted to Python3 during several years, so I guess (only a guess) that Pat will continue to ship it, at least in /pasture.
-current is still carrying both python 2 (2.7.16) as well as python 3 (3.7.4 at the moment), so there's no reason this will be different in Slackware 15
 
1 members found this post helpful.
Old 08-26-2019, 08:45 AM   #51
orbea
Senior Member
 
Registered: Feb 2015
Distribution: Slackware64-current
Posts: 1,744

Rep: Reputation: Disabled
Quote:
Originally Posted by dugan View Post
Someone pointed out LLVM last time this was asked. That was a couple of years ago.
I don't think this has changed and arch still lists python2 as a make dependency for clang.

Edit: Didn't realize the post I was replying to was few months old as first.

Last edited by orbea; 08-26-2019 at 08:54 AM.
 
1 members found this post helpful.
Old 08-26-2019, 09:29 AM   #52
zeebra
Member
 
Registered: Dec 2011
Distribution: Mageia, Slackware
Posts: 781
Blog Entries: 6

Rep: Reputation: 188Reputation: 188
Quote:
Originally Posted by orbea View Post
I don't think this has changed and arch still lists python2 as a make dependency for clang.

Edit: Didn't realize the post I was replying to was few months old as first.
I revived it, sorry. I was wondering how it looks and I'm looking for some clarification.

Which one do you think will be default if both are included?
 
Old 08-26-2019, 10:51 AM   #53
dugan
LQ Guru
 
Registered: Nov 2003
Location: Canada
Distribution: distro hopper
Posts: 9,093

Rep: Reputation: 3929Reputation: 3929Reputation: 3929Reputation: 3929Reputation: 3929Reputation: 3929Reputation: 3929Reputation: 3929Reputation: 3929Reputation: 3929Reputation: 3929
FWIW, "python" will be Python 3 in Fedora 31.

https://linuxreviews.org/Fedora_31_i...Fedora_version
 
Old 08-26-2019, 11:03 AM   #54
Didier Spaier
LQ Addict
 
Registered: Nov 2008
Location: Paris, France
Distribution: Slint64-14.2.1.2 on Lenovo Thinkpad W520
Posts: 8,957

Rep: Reputation: Disabled
Quote:
Originally Posted by zeebra View Post
Which one do you think will be default if both are included?
It doesn't matter much. You can make /usr/bin/python point to the version you prefer, set PYTHON as python2 or python3, whatever.
 
Old 08-26-2019, 11:15 AM   #55
zeebra
Member
 
Registered: Dec 2011
Distribution: Mageia, Slackware
Posts: 781
Blog Entries: 6

Rep: Reputation: 188Reputation: 188
Quote:
Originally Posted by Didier Spaier View Post
It doesn't matter much. You can make /usr/bin/python point to the version you prefer, set PYTHON as python2 or python3, whatever.
In my one and only time and horrible experience with Python, that was NOT the case. It does not seem to work as expected under all circumstances, that's my experience at least. I didn't know Python well, so I might have done something wrong, but I tried a variety of things when installing Python 3, and the Python 3 based libs, software and extensions etc refused to install to Python 3 paths etc properly and/or do/work as expected. I even switched python from python2 to python3 and it did me little good.
 
Old 08-26-2019, 11:17 AM   #56
zeebra
Member
 
Registered: Dec 2011
Distribution: Mageia, Slackware
Posts: 781
Blog Entries: 6

Rep: Reputation: 188Reputation: 188
Quote:
Originally Posted by dugan View Post
FWIW, "python" will be Python 3 in Fedora 31.

https://linuxreviews.org/Fedora_31_i...Fedora_version
I hate Fedora, it's the worst experience I ever had with a distro. Not only because everything broke when trying to do/fix or customize something else, but due to the extremely unpleasant people of the Fedora community. Do it the fedora way or go to... and be bombarded with hate. I literally got stalked and harassed for days for wanting to do "simple task 1" the non-fedora way.

So no thanks, no Fedora for me. I can fullfill such distro needs with Mageia. A much better distro than Fedora and a community of REALLY nice people as well, just champions.

Last edited by zeebra; 08-26-2019 at 11:21 AM.
 
1 members found this post helpful.
Old 08-26-2019, 11:24 AM   #57
montagdude
Senior Member
 
Registered: Apr 2016
Distribution: Slackware
Posts: 1,553

Rep: Reputation: 1178Reputation: 1178Reputation: 1178Reputation: 1178Reputation: 1178Reputation: 1178Reputation: 1178Reputation: 1178Reputation: 1178
Quote:
Originally Posted by zeebra View Post
In my one and only time and horrible experience with Python, that was NOT the case. It does not seem to work as expected under all circumstances, that's my experience at least. I didn't know Python well, so I might have done something wrong, but I tried a variety of things when installing Python 3, and the Python 3 based libs, software and extensions etc refused to install to Python 3 paths etc properly and/or do/work as expected. I even switched python from python2 to python3 and it did me little good.
Sounds like user error, TBH.
 
Old 08-26-2019, 11:27 AM   #58
zeebra
Member
 
Registered: Dec 2011
Distribution: Mageia, Slackware
Posts: 781
Blog Entries: 6

Rep: Reputation: 188Reputation: 188
Quote:
Originally Posted by montagdude View Post
Sounds like user error, TBH.
Well, my experience with Mageia is "do whatever you like and it's unlikely to break", do it the Megeia way or whatever way, but take care of yourself and talk to us if you need any pointers, even if it's your own fault. I doubt it was a user error, because I wasn't experimenting, I was doing something that normally works on all other normal distroes (except perhaps Ubuntu).

Just two different universes. Megeia is really geared towards people, newbies and advanced users both. I can't give those people enough credit, just for being so damn nice.

Last edited by zeebra; 08-26-2019 at 11:29 AM.
 
Old 08-26-2019, 11:30 AM   #59
dugan
LQ Guru
 
Registered: Nov 2003
Location: Canada
Distribution: distro hopper
Posts: 9,093

Rep: Reputation: 3929Reputation: 3929Reputation: 3929Reputation: 3929Reputation: 3929Reputation: 3929Reputation: 3929Reputation: 3929Reputation: 3929Reputation: 3929Reputation: 3929
Quote:
Originally Posted by zeebra View Post
I hate Fedora, it's the worst experience I ever had with a distro. Not only because everything broke when trying to do/fix or customize something else, but due to the extremely unpleasant people of the Fedora community.
Fedora has a community?
 
Old 08-26-2019, 11:34 AM   #60
montagdude
Senior Member
 
Registered: Apr 2016
Distribution: Slackware
Posts: 1,553

Rep: Reputation: 1178Reputation: 1178Reputation: 1178Reputation: 1178Reputation: 1178Reputation: 1178Reputation: 1178Reputation: 1178Reputation: 1178
Quote:
Originally Posted by zeebra View Post
Well, my experience with Mageia is "do whatever you like and it's unlikely to break", do it the Megeia way or whatever way, but take care of yourself and talk to us if you need any pointers, even if it's your own fault. I doubt it was a user error, because I wasn't experimenting, I was doing something that normally works on all other normal distroes (except perhaps Ubuntu).

Just two different universes. Megeia is really geared towards people, newbies and advanced users both. I can't give those people enough credit, just for being so damn nice.
I was talking about your experiences with Python, not your issues with Fedora (I have no idea about that).
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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 12:10 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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration