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


View Poll Results: Which python3 should ship in Slackware 15.0?
Python 3.9 33 33.33%
Python 3.10 66 66.67%
Voters: 99. You may not vote on this poll

Reply
  Search this Thread
Old 10-17-2021, 12:48 PM   #46
nobodino
Senior Member
 
Registered: Jul 2010
Location: Near Bordeaux in France
Distribution: slackware, slackware from scratch, LFS, slackware [arm], linux Mint...
Posts: 1,564

Rep: Reputation: 892Reputation: 892Reputation: 892Reputation: 892Reputation: 892Reputation: 892Reputation: 892

@LuckyCyborg: "Is something from Slackware 15.0 RC1 having issues with Python 3.10 ?"

No, everything builds fine with python-3.10 look at: https://www.linuxquestions.org/quest...02/page54.html ; post #808.
 
2 members found this post helpful.
Old 10-17-2021, 12:54 PM   #47
Battered Fish
LQ Newbie
 
Registered: Oct 2020
Location: Toronto, Ontario, Canada
Distribution: Slackware-current
Posts: 13

Rep: Reputation: Disabled
Please let it be Python 3.10

Please let it be Python 3.10, whenever 15.0 ever comes out (if ever). There is no point in deprecating Python when everyone else is going forward. The packages will catch up soon enough. Also, please stop wasting everyone's time making special slackware python packages when anyone can "pip install <python package>". Same goes for perl, ruby, ... There are already people managing these packages. You don't have to do it yet again. And those who are interested can install python 2.7 or 3.9, nothing is stopping them.
 
1 members found this post helpful.
Old 10-17-2021, 01:27 PM   #48
Pithium
Member
 
Registered: Jul 2014
Location: Far side of the Oregon Trail
Distribution: Slackware64 15.0
Posts: 502

Rep: Reputation: 586Reputation: 586Reputation: 586Reputation: 586Reputation: 586Reputation: 586
Quote:
Originally Posted by nobodino View Post
@LuckyCyborg: "Is something from Slackware 15.0 RC1 having issues with Python 3.10 ?"

No, everything builds fine with python-3.10 look at: https://www.linuxquestions.org/quest...02/page54.html ; post #808.
Does HPLIP build correctly against python 3.10?

https://www.linuxquestions.org/quest...es-4175702147/

It's almost as if Python is an interpreted language where errors generally occur at runtime.
 
Old 10-18-2021, 04:42 AM   #49
chrisretusn
Senior Member
 
Registered: Dec 2005
Location: Philippines
Distribution: Slackware64-current
Posts: 2,975

Rep: Reputation: 1552Reputation: 1552Reputation: 1552Reputation: 1552Reputation: 1552Reputation: 1552Reputation: 1552Reputation: 1552Reputation: 1552Reputation: 1552Reputation: 1552
Quote:
Originally Posted by Battered Fish View Post
Also, please stop wasting everyone's time making special slackware python packages when anyone can "pip install <python package>". Same goes for perl, ruby, ... There are already people managing these packages. You don't have to do it yet again. And those who are interested can install python 2.7 or 3.9, nothing is stopping them.
What packages? These:
Code:
  installed               slackware64     dbus-python-1.2.18-x86_64-2                 
  installed               slackware64     python-appdirs-1.4.4-x86_64-5               
  installed               slackware64     python-certifi-2021.10.8-x86_64-1           
  installed               slackware64     python-cffi-1.15.0-x86_64-1                 
  installed               slackware64     python-chardet-4.0.0-x86_64-4               
  installed               slackware64     python-charset-normalizer-2.0.7-x86_64-1    
  installed               slackware64     python-distro-1.5.0-x86_64-5                
  installed               slackware64     python-dnspython-2.1.0-x86_64-2             
  installed               slackware64     python-docutils-0.17.1-x86_64-2             
  installed               slackware64     python-future-0.18.2-x86_64-6               
  installed               slackware64     python-idna-3.3-x86_64-1                    
  installed               slackware64     python-markdown-3.3.4-x86_64-2              
  installed               slackware64     python-notify2-0.3.1-x86_64-9               
  installed               slackware64     python-packaging-21.0-x86_64-2              
  installed               slackware64     python-pillow-8.4.0-x86_64-1                
  installed               slackware64     python-pip-21.3-x86_64-1                    
  installed               slackware64     python-ply-3.11-x86_64-7                    
  installed               slackware64     python-pycparser-2.20-x86_64-2              
  installed               slackware64     python-pygments-2.10.0-x86_64-2             
  installed               slackware64     python-pysol_cards-0.12.0-x86_64-1          
  installed               slackware64     python-random2-1.0.1-x86_64-4               
  installed               slackware64     python-requests-2.26.0-x86_64-2             
  installed               slackware64     python-sane-2.9.1-x86_64-4                  
  installed               slackware64     python-setuptools-58.2.0-x86_64-2           
  installed               slackware64     python-six-1.16.0-x86_64-2                  
  installed               slackware64     python-urllib3-1.26.7-x86_64-2              
  installed               slackware64     python2-2.7.18-x86_64-4                     
  installed               slackware64     python2-module-collection-2.7.18-x86_64-6   
  installed               slackware64     python3-3.10.0-x86_64-1
Who is wasting everyone's time? Pat? SBo?

I do not want to use pip for Python installs. I want a Slackware package for that. I do not use Perl's cpan either.
 
2 members found this post helpful.
Old 10-18-2021, 04:42 AM   #50
brobr
Member
 
Registered: Oct 2003
Location: uk
Distribution: Slackware
Posts: 974

Rep: Reputation: 239Reputation: 239Reputation: 239
Quote:
Originally Posted by Pithium View Post
Does HPLIP build correctly against python 3.10?
Looks like it's getting sorted.... https://www.linuxquestions.org/quest...7/#post6292816
 
1 members found this post helpful.
Old 10-18-2021, 06:56 AM   #51
Battered Fish
LQ Newbie
 
Registered: Oct 2020
Location: Toronto, Ontario, Canada
Distribution: Slackware-current
Posts: 13

Rep: Reputation: Disabled
Quote:
Originally Posted by chrisretusn View Post
What packages? These:
Code:
  installed               slackware64     dbus-python-1.2.18-x86_64-2                 
  installed               slackware64     python-appdirs-1.4.4-x86_64-5               
  installed               slackware64     python-certifi-2021.10.8-x86_64-1           
  installed               slackware64     python-cffi-1.15.0-x86_64-1                 
  installed               slackware64     python-chardet-4.0.0-x86_64-4               
  installed               slackware64     python-charset-normalizer-2.0.7-x86_64-1    
  installed               slackware64     python-distro-1.5.0-x86_64-5                
  installed               slackware64     python-dnspython-2.1.0-x86_64-2             
  installed               slackware64     python-docutils-0.17.1-x86_64-2             
  installed               slackware64     python-future-0.18.2-x86_64-6               
  installed               slackware64     python-idna-3.3-x86_64-1                    
  installed               slackware64     python-markdown-3.3.4-x86_64-2              
  installed               slackware64     python-notify2-0.3.1-x86_64-9               
  installed               slackware64     python-packaging-21.0-x86_64-2              
  installed               slackware64     python-pillow-8.4.0-x86_64-1                
  installed               slackware64     python-pip-21.3-x86_64-1                    
  installed               slackware64     python-ply-3.11-x86_64-7                    
  installed               slackware64     python-pycparser-2.20-x86_64-2              
  installed               slackware64     python-pygments-2.10.0-x86_64-2             
  installed               slackware64     python-pysol_cards-0.12.0-x86_64-1          
  installed               slackware64     python-random2-1.0.1-x86_64-4               
  installed               slackware64     python-requests-2.26.0-x86_64-2             
  installed               slackware64     python-sane-2.9.1-x86_64-4                  
  installed               slackware64     python-setuptools-58.2.0-x86_64-2           
  installed               slackware64     python-six-1.16.0-x86_64-2                  
  installed               slackware64     python-urllib3-1.26.7-x86_64-2              
  installed               slackware64     python2-2.7.18-x86_64-4                     
  installed               slackware64     python2-module-collection-2.7.18-x86_64-6   
  installed               slackware64     python3-3.10.0-x86_64-1
Who is wasting everyone's time? Pat? SBo?

I do not want to use pip for Python installs. I want a Slackware package for that. I do not use Perl's cpan either.
They are wasting their time and ours. Instead of this distraction they could concentrate on getting a Slackware release every year instead of 5 years and counting. Too bad if you don't want to use pip or cpan or cpanm or pear or ... What do you do if you need to install a python package that is not in slackware or slackbuilds?
 
Old 10-18-2021, 07:18 AM   #52
GazL
LQ Veteran
 
Registered: May 2008
Posts: 6,897

Rep: Reputation: 5019Reputation: 5019Reputation: 5019Reputation: 5019Reputation: 5019Reputation: 5019Reputation: 5019Reputation: 5019Reputation: 5019Reputation: 5019Reputation: 5019
Last time I looked into it these package repos had little in the way of code auditing, and lacked basic must have security measures like cryptographic signing.

You may be ok with that, but unless they get these basic security measures in place, it's a hard pass from me and I suspect many others here.
 
Old 10-18-2021, 07:43 AM   #53
Didier Spaier
LQ Addict
 
Registered: Nov 2008
Location: Paris, France
Distribution: Slint64-15.0
Posts: 11,058

Rep: Reputation: Disabled
I build the python packages "manually", however pip comes handy at least to provide information about packages, like list the installed ones and show information about them or find missing dependencies. I also use "pip --user install" as an easy way to find dependencies of a new module I want to package.
 
1 members found this post helpful.
Old 10-18-2021, 08:39 AM   #54
chrisretusn
Senior Member
 
Registered: Dec 2005
Location: Philippines
Distribution: Slackware64-current
Posts: 2,975

Rep: Reputation: 1552Reputation: 1552Reputation: 1552Reputation: 1552Reputation: 1552Reputation: 1552Reputation: 1552Reputation: 1552Reputation: 1552Reputation: 1552Reputation: 1552
Quote:
Originally Posted by Battered Fish View Post
What do you do if you need to install a python package that is not in slackware or slackbuilds?
Write my own SlackBuild for it.
 
2 members found this post helpful.
Old 10-18-2021, 08:40 AM   #55
chrisretusn
Senior Member
 
Registered: Dec 2005
Location: Philippines
Distribution: Slackware64-current
Posts: 2,975

Rep: Reputation: 1552Reputation: 1552Reputation: 1552Reputation: 1552Reputation: 1552Reputation: 1552Reputation: 1552Reputation: 1552Reputation: 1552Reputation: 1552Reputation: 1552
Quote:
Originally Posted by Didier Spaier View Post
I build the python packages "manually", however pip comes handy at least to provide information about packages, like list the installed ones and show information about them or find missing dependencies. I also use "pip --user install" as an easy way to find dependencies of a new module I want to package.
I like this idea. Gonna have to read up a bit more on pip.
 
Old 10-18-2021, 09:40 AM   #56
USUARIONUEVO
Senior Member
 
Registered: Apr 2015
Posts: 2,336

Rep: Reputation: 930Reputation: 930Reputation: 930Reputation: 930Reputation: 930Reputation: 930Reputation: 930Reputation: 930
Quote:
Originally Posted by chrisretusn View Post
I like this idea. Gonna have to read up a bit more on pip.
Sometimes pip can overwrite some package from slackware or SBo , be careful.

I use --no-deps , to install only the thing i want and later check with pip3 check.

pip is strong tool , but i prefer packaged things for more better control wath i have on the system.

You can use pip for a presonal dir install ...

pip3 install DESIRED --no-deps --root=/DESIRED-DIR

To analyze first the content , then you can makepkg from the personal directory you send , for easy and clean uninstall , like original packaged things.

When i talk to overwrite files , thats occurs when a new version requires new module , one example is some things want sip6 and we have version 4 , you can later encounter a conflict , then probably netter way is see more old version to pair and no overwrite sip , or whatever.

Last edited by USUARIONUEVO; 10-18-2021 at 09:43 AM.
 
1 members found this post helpful.
Old 10-18-2021, 10:15 AM   #57
Battered Fish
LQ Newbie
 
Registered: Oct 2020
Location: Toronto, Ontario, Canada
Distribution: Slackware-current
Posts: 13

Rep: Reputation: Disabled
Quote:
Originally Posted by chrisretusn View Post
Write my own SlackBuild for it.
Large packages like spyder, a Python IDE, have many python package dependencies. So your choice is:

$ pip install spyder

or

$ [manage and create 130 python slackbuild install packages and install them (and maintain them every time there an update)]

Enjoy! ;-)
 
Old 10-18-2021, 10:21 AM   #58
chrisretusn
Senior Member
 
Registered: Dec 2005
Location: Philippines
Distribution: Slackware64-current
Posts: 2,975

Rep: Reputation: 1552Reputation: 1552Reputation: 1552Reputation: 1552Reputation: 1552Reputation: 1552Reputation: 1552Reputation: 1552Reputation: 1552Reputation: 1552Reputation: 1552
Quote:
Originally Posted by USUARIONUEVO View Post
Sometimes pip can overwrite some package from slackware or SBo , be careful.

I use --no-deps , to install only the thing i want and later check with pip3 check.

pip is strong tool , but i prefer packaged things for more better control wath i have on the system.

You can use pip for a presonal dir install ...

pip3 install DESIRED --no-deps --root=/DESIRED-DIR

To analyze first the content , then you can makepkg from the personal directory you send , for easy and clean uninstall , like original packaged things.

When i talk to overwrite files , thats occurs when a new version requires new module , one example is some things want sip6 and we have version 4 , you can later encounter a conflict , then probably netter way is see more old version to pair and no overwrite sip , or whatever.
Thanks. I learned the hard way about pip (and cpan) a while back. This is one reason I prefer to create my own packages. I also think packages (to me at least) are the Slackware way of installing things. Packages are simple to keep track of and as you mentioned above, good for a clean install. I already have done some reading. I'm looking at list, show and check commands as possibly useful. You can bet any testing I do with be on a test system. I do most of my dependency checking at build time, there always seems to be one extra not mentioned.
 
Old 10-18-2021, 10:31 AM   #59
chrisretusn
Senior Member
 
Registered: Dec 2005
Location: Philippines
Distribution: Slackware64-current
Posts: 2,975

Rep: Reputation: 1552Reputation: 1552Reputation: 1552Reputation: 1552Reputation: 1552Reputation: 1552Reputation: 1552Reputation: 1552Reputation: 1552Reputation: 1552Reputation: 1552
Quote:
Originally Posted by Battered Fish View Post
Large packages like spyder, a Python IDE, have many python package dependencies. So your choice is:

$ pip install spyder

or

$ [manage and create 130 python slackbuild install packages and install them (and maintain them every time there an update)]

Enjoy! ;-)
I'll take the second choice, thanks. More control over what is installed. A for the 130 packages, well some are optional, some I already have installed.
 
1 members found this post helpful.
Old 10-18-2021, 10:41 AM   #60
cycojesus
Member
 
Registered: Dec 2005
Location: Lyon, France
Distribution: Slackware-current
Posts: 116

Rep: Reputation: 79
Time to plug my generic pip SlackBuild :P : https://github.com/gwenhael-le-moine...hon.SlackBuild

call it like
Code:
PRGNAM=smartypants /home/installs/SlackBuilds/generic-python.SlackBuild

Last edited by cycojesus; 10-18-2021 at 10:44 AM.
 
3 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
LXer: Ubuntu 16.04 LTS to Ship Without Python 2, Windows Printers Detection Affected LXer Syndicated Linux News 0 03-07-2016 01:21 AM
LXer: Canonical should sell hardware to ship Ubuntu for Android LXer Syndicated Linux News 0 09-01-2012 10:51 PM
LXer: Python Python Python (aka Python 3) LXer Syndicated Linux News 0 08-05-2009 08:30 PM
LXer: News Bits: Red Hat Plans to Ship Next Version of Linux, Gefen ... LXer Syndicated Linux News 0 12-29-2006 09:54 PM

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

All times are GMT -5. The time now is 01:18 PM.

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