Hi,
I was looking to install python3 (3.6.2) from within sourcery but could not see it.
Looking in http://slackware.uk/salix/sbo/14.2/python/ (the mirror i use in /etc/slapt-get/slapt-srcrc) I see it is there.
However, looking in http://slackware.uk/salix/sbo/14.2/SLACKBUILDS.TXT, i can't see it listed.
So I think the problem is it not being listed in SLACKBUILDS.TXT. Can someone more knowledgable then myself help me get to the bottom of this.
Thanks.
python3 not available from sourcery
Re: python3 not available from sourcery
python3 is avaiable as a pre-built binary package via gslapt or slapt-get
Code: Select all
rich[~]$ sudo slapt-get --show python3
Package Name: python3
Package Mirror: http://download.salixos.org/x86_64/14.2/
Package Priority: Preferred
Package Location: ./salix/d
Package Version: 3.5.1-x86_64-1gv
Package Size: 19823 K
Package Installed Size: 79292 K
Package Required: bzip2,db48,expat,fontconfig,freetype,gcc,gcc-g++,gdbm,glib2,harfbuzz,icu4c,libX11,libXScrnSaver,libXau,libXdmcp,libXext,libXft,libXrender,libffi,libpng,libxcb,ncurses,openssl-solibs|openssl,readline,sqlite,xz,zlib
Package Conflicts:
Package Suggests:
Package MD5 Sum: 98d91ff38bd7bd335d7fda987cd804cc
Package Description:
python3 (New high-level scripting language)
Python 3 is an interpreted, interactive, object-oriented programming
language that combines remarkable power with very clear syntax.
This is a new version of the language that is incompatible with the
2.x line of releases.
The language is mostly the same, but many details, especially how
built-in objects like dictionaries and strings work, have changed
considerably, and a lot of deprecated features have finally been
removed. Also, the standard library has been reorganized in a few
prominent places.
Package ChangeLog:
Added. Upgraded from 14.1.
“Don’t you see that the whole aim of Newspeak is to narrow the range of thought?"
-
- Posts: 518
- Joined: 20. Jun 2016, 20:15
Re: python3 not available from sourcery
I see python3 in http://slackbuilds.org/slackbuilds/14.2/SLACKBUILDS.TXT
For some reason it seems that http://slackware.uk/salix/sbo/14.2/ be not in sync with http://slackbuilds.org/slackbuilds/14.2/ at time of writing.
For some reason it seems that http://slackware.uk/salix/sbo/14.2/ be not in sync with http://slackbuilds.org/slackbuilds/14.2/ at time of writing.
Re: python3 not available from sourcery
Thanks for the replies.
Yes, but that is version 3.5.1, not 3.6.2laprjns wrote:python3 is avaiable as a pre-built binary package via gslapt or slapt-getCode: Select all
rich[~]$ sudo slapt-get --show python3 Package Name: python3 Package Mirror: http://download.salixos.org/x86_64/14.2/ Package Priority: Preferred Package Location: ./salix/d Package Version: 3.5.1-x86_64-1gv Package Size: 19823 K Package Installed Size: 79292 K Package Required: bzip2,db48,expat,fontconfig,freetype,gcc,gcc-g++,gdbm,glib2,harfbuzz,icu4c,libX11,libXScrnSaver,libXau,libXdmcp,libXext,libXft,libXrender,libffi,libpng,libxcb,ncurses,openssl-solibs|openssl,readline,sqlite,xz,zlib Package Conflicts: Package Suggests: Package MD5 Sum: 98d91ff38bd7bd335d7fda987cd804cc Package Description: python3 (New high-level scripting language) ...
Yes, salix mirrors seem to miss this package in SLACKBUILDS.TXT for some reason. So is this just an oversight or something else?DidierSpaier wrote:I see python3 in http://slackbuilds.org/slackbuilds/14.2/SLACKBUILDS.TXT
For some reason it seems that http://slackware.uk/salix/sbo/14.2/ be not in sync with http://slackbuilds.org/slackbuilds/14.2/ at time of writing.
-
- Posts: 518
- Joined: 20. Jun 2016, 20:15
Re: python3 not available from sourcery
Not sure this be related to that, but there have been since several months a general trend (there are exceptions) among http://slackbuilds.org contributors to update to the latest versions of packages, for no there other reason that "a new version has been released" .
This tendency, questionable in my humble opinion, can lead to conflicts with packages coming from repositories with a more conservative approach (and a more sound one, still IMHO), like the extra-14.2 repo (see gapan's blog post here).
Had you used spi, you would have get the Salix package instead.
So ecfx, my question is: why do want to install Python3 3.6.2 rather than 3.5.1? Do you need that as a dependency of another package that requires a more recent version, or for a specific feature not available in 3.5.1?
Personally, I am not in favor of updating a software in a stable Salix (or Slint, in my case) release, but as a security fix or a major bug fix, unless I be sure that it is a "leaf" package, in other words no other package depends on it. Which obviously is not the case of Python. And it seems me to be consistent with that policy to apply it also to sbo, as stated by gapan in his aforementioned blog post.
EDIT: after having sent this post I came across the complete explanation, that has been given by gapan in the blog post titled Our SBo mirrors. Fortunately I see no contradiction between gapan's blog post and what I wrote above
This tendency, questionable in my humble opinion, can lead to conflicts with packages coming from repositories with a more conservative approach (and a more sound one, still IMHO), like the extra-14.2 repo (see gapan's blog post here).
Had you used spi, you would have get the Salix package instead.
So ecfx, my question is: why do want to install Python3 3.6.2 rather than 3.5.1? Do you need that as a dependency of another package that requires a more recent version, or for a specific feature not available in 3.5.1?
Personally, I am not in favor of updating a software in a stable Salix (or Slint, in my case) release, but as a security fix or a major bug fix, unless I be sure that it is a "leaf" package, in other words no other package depends on it. Which obviously is not the case of Python. And it seems me to be consistent with that policy to apply it also to sbo, as stated by gapan in his aforementioned blog post.
EDIT: after having sent this post I came across the complete explanation, that has been given by gapan in the blog post titled Our SBo mirrors. Fortunately I see no contradiction between gapan's blog post and what I wrote above
Re: python3 not available from sourcery
Python3 is a package in the salix binary repositories. We won't upgrade it to 3.6, since that will definitely break every python library that depends on it. This is a stable distribution.
We also remove from our SBo mirror the SlackBuilds for which we provide binary packages. That's why you can't find it in Sourcery. It's not an oversight, it's how we do things.
If you really need python 3.6, nobody is preventing you from building your own package using the SlackBuild provided by SBo. We just don't provide a tool to break your system in an easy way.
We also remove from our SBo mirror the SlackBuilds for which we provide binary packages. That's why you can't find it in Sourcery. It's not an oversight, it's how we do things.
If you really need python 3.6, nobody is preventing you from building your own package using the SlackBuild provided by SBo. We just don't provide a tool to break your system in an easy way.
Re: python3 not available from sourcery
That all makes sense, and thanks for the link to the blog post. I guess "it's shinier" is not a good enough reason!DidierSpaier wrote:Not sure this be related to that, but there have been since several months a general trend (there are exceptions) among http://slackbuilds.org contributors to update to the latest versions of packages, for no there other reason that "a new version has been released" .
This tendency, questionable in my humble opinion, can lead to conflicts with packages coming from repositories with a more conservative approach (and a more sound one, still IMHO), like the extra-14.2 repo (see gapan's blog post here).
Had you used spi, you would have get the Salix package instead.
So ecfx, my question is: why do want to install Python3 3.6.2 rather than 3.5.1? Do you need that as a dependency of another package that requires a more recent version, or for a specific feature not available in 3.5.1?
Personally, I am not in favor of updating a software in a stable Salix (or Slint, in my case) release, but as a security fix or a major bug fix, unless I be sure that it is a "leaf" package, in other words no other package depends on it. Which obviously is not the case of Python. And it seems me to be consistent with that policy to apply it also to sbo, as stated by gapan in his aforementioned blog post.
EDIT: after having sent this post I came across the complete explanation, that has been given by gapan in the blog post titled Our SBo mirrors. Fortunately I see no contradiction between gapan's blog post and what I wrote above
I see this part of the blog post answers my question.
As forFinally, all software that is present in both the Salix binary package repositories and SBo, is removed from our own copy of the SBo repository, so there is no way users will be confused and go back and forth between versions. Actually, the SlackBuilds themselves are not removed from the repositories, rather the reference for them in the SLACKBUILDS.TXT file is removed, so it isn't used by our SlackBuild management tools, slapt-src, Sourcery or spi.
I know of at least two, SFML and jsoncpp.Similarly, if you find the same SlackBuild present in both the Salix binary package repositories (hence available in Gslapt) and our own copy of SBo repositories (hence available in Sourcery), please report that too.
Yes, makes sense and along with that blog post answers my question. As mentioned above, other packages are in both and I was just wondering why not python. Case closed.gapan wrote:Python3 is a package in the salix binary repositories. We won't upgrade it to 3.6, since that will definitely break every python library that depends on it. This is a stable distribution.
We also remove from our SBo mirror the SlackBuilds for which we provide binary packages. That's why you can't find it in Sourcery. It's not an oversight, it's how we do things.
If you really need python 3.6, nobody is preventing you from building your own package using the SlackBuild provided by SBo. We just don't provide a tool to break your system in an easy way.
Re: python3 not available from sourcery
Thanks! Fixed for all other too. I had neglected to exclude from SLACKBUILDS.TXT all the packages in the extra repo.ecfx wrote:I know of at least two, SFML and jsoncpp.Similarly, if you find the same SlackBuild present in both the Salix binary package repositories (hence available in Gslapt) and our own copy of SBo repositories (hence available in Sourcery), please report that too.
Re: python3 not available from sourcery
Gracias, gapan, todo claro como el agua.We also remove from our SBo mirror the SlackBuilds for which we provide binary packages. That's why you can't find it in Sourcery. It's not an oversight, it's how we do things.
Thanks! Fixed for all other too. I had neglected to exclude from SLACKBUILDS.TXT all the packages in the extra repo.