Python 2.7 support for SLES 11

When will Python 2.7 be supported for SLES 11? How is that process managed?

Hi
You would need to create an Enhancement request (via bugzilla),
AFAIK it’s still using 2.6 for stability reasons…


Cheers Malcolm °¿° (Linux Counter #276890)
openSUSE 12.1 (x86_64) Kernel 3.1.10-1.9-desktop
up 16:04, 3 users, load average: 0.00, 0.03, 0.05
CPU Intel i5 CPU M520@2.40GHz | Intel Arrandale GPU

[QUOTE=malcolmlewis;4836]Hi
You would need to create an Enhancement request (via bugzilla),
AFAIK it’s still using 2.6 for stability reasons…


Cheers Malcolm °¿° (Linux Counter #276890)
openSUSE 12.1 (x86_64) Kernel 3.1.10-1.9-desktop
up 16:04, 3 users, load average: 0.00, 0.03, 0.05
CPU Intel i5 CPU M520@2.40GHz | Intel Arrandale GPU[/QUOTE]

Thanks, Malcolm.

I suspect more compatibility than stability is at play here.

We have been totally unsuccessful in installing a Python 2.7 executable on SLES 11. Any pointers would be helpful.

Hi
You would need to look at using the Open Build Service and linking
packages to devel:languages:python and building against your SLE target.


Cheers Malcolm °¿° (Linux Counter #276890)
SUSE Linux Enterprise Desktop 11 (x86_64) Kernel 3.0.31-0.9-default
up 7:15, 3 users, load average: 0.47, 0.40, 0.35
CPU Intel i5 CPU M520@2.40GHz | Intel Arrandale GPU

It also appears that on SLES11 SP1, the python version is python-2.6.8-0.15.1, whereas in SP2, it’s python-2.6.0-8.12.2. There are some patches to go to 2.6.8-0.13.1 in the patchfinder, but python-devel is missing and the patches are marked as “restricted”. Is this the normal behaviour? My registration seems to work, I get updates for the kernel, etc.

Hi
You need to add the SDK, this is done via downloading the SDK iso image
and adding via YaST add on products;

zypper if python-devel

Information for package python-devel:

Repository: SLE11-SDK-SP1-Updates
Name: python-devel
Version: 2.6.8-0.15.1
.....

Once the iso image is added, it adds the relevant online and update
repositories.

You should also be able to add manually by checking your system mirror
credentials via your NCC.


Cheers Malcolm °¿° (Linux Counter #276890)
openSUSE 12.2 (x86_64) Kernel 3.4.11-2.16-desktop
up 2 days 11:00, 4 users, load average: 1.18, 0.58, 0.26
CPU Intel i5 CPU M520@2.40GHz | Intel Arrandale GPU

Hi Malcolm,

thanks for the answer. Indeed I have the SDK registered and get updates (e.g. popt-devel updated from popt-devel-1.7-37.29.29.1 to 1.7-37.50.6). But python refuses to budge:

zypper update python
Refreshing service ‘nu_novell_com’.
Loading repository data…
Reading installed packages…
‘python’ is already installed.
Package ‘python’ is not available in your repositories. Cannot reinstall, upgrade, or downgrade.
Resolving package dependencies…

Nothing to do.

zypper if python
Refreshing service ‘nu_novell_com’.
Loading repository data…
Reading installed packages…

Information for package python:

Repository: @System
Name: python
Version: 2.6.0-8.12.2
Arch: x86_64
Vendor: SUSE LINUX Products GmbH, Nuernberg, Germany
Support Level: unknown
Installed: Yes
Status: up-to-date
Installed Size: 1.1 MiB
Summary: Python Interpreter
Description:
Python is an interpreted, object-oriented programming language, and is
often compared to Tcl, Perl, Scheme, or Java. You can find an overview
of Python in the documentation and tutorials included in the python-doc
(HTML) or python-doc-pdf (PDF) packages.

If you want to install third party modules using distutils, you need to
install python-devel package.

Sounds like you’re missing at least a repo. What’s the output of these commands?

$ zypper lr -u $ zypper packages | grep python
When posting the output wrap it in CODE tags for readability. (Look for the # button in the toolbar.)

Sorry about the bad code. I hope it’s better now.

output of zypper lr -u

#  | Alias                                                             | Name                                                  | Enabled | Refresh | URI                                                                                                                       
---+-------------------------------------------------------------------+-------------------------------------------------------+---------+---------+-----------------------------------------------------------------------------------------------------                      
 1 | SUSE-Linux-Enterprise-Server-11-SP2 11.2.2-1.234                  | SUSE-Linux-Enterprise-Server-11-SP2 11.2.2-1.234      | No      | Yes     | iso:///?iso=SLES-11-SP2-DVD-x86_64-GM-DVD1.iso&url=nfs://192.168.43.251/srv/nfs/Software/SuSE/                            
 2 | SUSE-Linux-Enterprise-Software-Development-Kit-11-SP2_11.2.2-1.66 | SUSE Linux Enterprise Software Development Kit 11 SP2 | No      | Yes     | iso:///?iso=SLE-11-SP2-SDK-DVD-x86_64-GM-DVD1.iso&url=file:///direct/Software/SuSE/                                       
 3 | nu_novell_com:SLE11-SDK-SP1-Pool                                  | SLE11-SDK-SP1-Pool                                    | No      | No      | https://nu.novell.com/repo/$RCE/SLE11-SDK-SP1-Pool/sle-11-x86_64?credentials=NCCcredentials                               
 4 | nu_novell_com:SLE11-SDK-SP1-Updates                               | SLE11-SDK-SP1-Updates                                 | No      | No      | https://nu.novell.com/repo/$RCE/SLE11-SDK-SP1-Updates/sle-11-x86_64?credentials=NCCcredentials                            
 5 | nu_novell_com:SLE11-SDK-SP2-Core                                  | SLE11-SDK-SP2-Core                                    | Yes     | Yes     | https://nu.novell.com/repo/$RCE/SLE11-SDK-SP2-Core/sle-11-x86_64?credentials=NCCcredentials                               
 6 | nu_novell_com:SLE11-SDK-SP2-Updates                               | SLE11-SDK-SP2-Updates                                 | Yes     | Yes     | https://nu.novell.com/repo/$RCE/SLE11-SDK-SP2-Updates/sle-11-x86_64?credentials=NCCcredentials                            
 7 | nu_novell_com:SLE11-SP1-Debuginfo-Pool                            | SLE11-SP1-Debuginfo-Pool                              | No      | Yes     | https://nu.novell.com/repo/$RCE/SLE11-SP1-Debuginfo-Pool/sle-11-x86_64?credentials=NCCcredentials                         
 8 | nu_novell_com:SLE11-SP1-Debuginfo-Updates                         | SLE11-SP1-Debuginfo-Updates                           | No      | Yes     | https://nu.novell.com/repo/$RCE/SLE11-SP1-Debuginfo-Updates/sle-11-x86_64?credentials=NCCcredentials                      
 9 | nu_novell_com:SLE11-SP2-Debuginfo-Core                            | SLE11-SP2-Debuginfo-Core                              | Yes     | Yes     | https://nu.novell.com/repo/$RCE/SLE11-SP2-Debuginfo-Core/sle-11-x86_64?credentials=NCCcredentials                         
10 | nu_novell_com:SLE11-SP2-Debuginfo-Updates                         | SLE11-SP2-Debuginfo-Updates                           | Yes     | Yes     | https://nu.novell.com/repo/$RCE/SLE11-SP2-Debuginfo-Updates/sle-11-x86_64?credentials=NCCcredentials                      
11 | nu_novell_com:SLE11-WebYaST-SP1-Pool                              | SLE11-WebYaST-SP1-Pool                                | No      | Yes     | https://nu.novell.com/repo/$RCE/SLE11-WebYaST-SP1-Pool/sle-11-x86_64?credentials=NCCcredentials                           
12 | nu_novell_com:SLE11-WebYaST-SP1-Updates                           | SLE11-WebYaST-SP1-Updates                             | No      | Yes     | https://nu.novell.com/repo/$RCE/SLE11-WebYaST-SP1-Updates/sle-11-x86_64?credentials=NCCcredentials                        
13 | nu_novell_com:SLE11-WebYaST-SP2-Pool                              | SLE11-WebYaST-SP2-Pool                                | Yes     | Yes     | https://nu.novell.com/repo/$RCE/SLE11-WebYaST-SP2-Pool/sle-11-x86_64?credentials=NCCcredentials                           
14 | nu_novell_com:SLE11-WebYaST-SP2-Updates                           | SLE11-WebYaST-SP2-Updates                             | Yes     | Yes     | https://nu.novell.com/repo/$RCE/SLE11-WebYaST-SP2-Updates/sle-11-x86_64?credentials=NCCcredentials                        
15 | nu_novell_com:SLES11-Extras                                       | SLES11-Extras                                         | No      | Yes     | https://nu.novell.com/repo/$RCE/SLES11-Extras/sle-11-x86_64?credentials=NCCcredentials                                    
16 | nu_novell_com:SLES11-SP1-Pool                                     | SLES11-SP1-Pool                                       | No      | No      | https://nu.novell.com/repo/$RCE/SLES11-SP1-Pool/sle-11-x86_64?credentials=NCCcredentials                                  
17 | nu_novell_com:SLES11-SP1-Updates                                  | SLES11-SP1-Updates                                    | No      | No      | https://nu.novell.com/repo/$RCE/SLES11-SP1-Updates/sle-11-x86_64?credentials=NCCcredentials                               
18 | nu_novell_com:SLES11-SP2-Core                                     | SLES11-SP2-Core                                       | Yes     | Yes     | https://nu.novell.com/repo/$RCE/SLES11-SP2-Core/sle-11-x86_64?credentials=NCCcredentials                                  
19 | nu_novell_com:SLES11-SP2-Extension-Store                          | SLES11-SP2-Extension-Store                            | Yes     | Yes     | https://nu.novell.com/repo/$RCE/SLES11-SP2-Extension-Store/sle-11-x86_64?credentials=NCCcredentials                       
20 | nu_novell_com:SLES11-SP2-Updates                                  | SLES11-SP2-Updates                                    | Yes     | Yes     | https://nu.novell.com/repo/$RCE/SLES11-SP2-Updates/sle-11-x86_64?credentials=NCCcredentials

zypper packages | grep python

  | SLE11-SDK-SP2-Updates       | audit-libs-python                           | 1.7.7-6.27.1                  | x86_64
  | SLES11-SP2-Updates          | audit-libs-python                           | 1.7.7-6.27.1                  | x86_64
  | SLE11-SDK-SP2-Updates       | audit-libs-python                           | 1.7.7-6.23.1                  | x86_64
  | SLES11-SP2-Updates          | audit-libs-python                           | 1.7.7-6.23.1                  | x86_64
  | SLE11-SDK-SP2-Core          | audit-libs-python                           | 1.7.7-6.21.14                 | x86_64
  | SLES11-SP2-Core             | audit-libs-python                           | 1.7.7-6.21.14                 | x86_64
  | SLES11-SP2-Updates          | libvirt-python                              | 0.9.6-0.23.1                  | x86_64
  | SLES11-SP2-Updates          | libvirt-python                              | 0.9.6-0.21.3                  | x86_64
  | SLES11-SP2-Updates          | libvirt-python                              | 0.9.6-0.19.4                  | x86_64
  | SLES11-SP2-Updates          | libvirt-python                              | 0.9.6-0.15.71                 | x86_64
  | SLES11-SP2-Core             | libvirt-python                              | 0.9.6-0.13.42                 | x86_64
v | SLES11-SP2-Updates          | libxml2-python                              | 2.7.6-0.21.1                  | x86_64
  | SLE11-SP2-Debuginfo-Updates | libxml2-python-debuginfo                    | 2.7.6-0.21.1                  | x86_64
  | SLE11-SP2-Debuginfo-Updates | libxml2-python-debugsource                  | 2.7.6-0.21.1                  | x86_64
  | SLE11-SDK-SP2-Core          | monodevelop-python                          | 2.4-5.5.179                   | noarch
i | SLES11-SP2-Core             | python-argparse                             | 1.2.1-2.5.65                  | x86_64
  | SLE11-SDK-SP2-Updates       | python-ethtool                              | 0.7-0.13.1                    | x86_64
  | SLES11-SP2-Updates          | python-ethtool                              | 0.7-0.13.1                    | x86_64
  | SLES11-SP2-Core             | python-gnome-extras                         | 2.19.1-145.38.1               | x86_64
  | SLE11-SP2-Debuginfo-Core    | python-gnome-extras-debuginfo               | 2.19.1-145.38.1               | x86_64
  | SLE11-SP2-Debuginfo-Core    | python-gnome-extras-debugsource             | 2.19.1-145.38.1               | x86_64
  | SLE11-SDK-SP2-Core          | python-gnome-extras-doc                     | 2.19.1-145.38.1               | x86_64
  | SLES11-SP2-Core             | python-gnome-extras-doc                     | 2.19.1-145.38.1               | x86_64
  | SLE11-SDK-SP2-Core          | python-logilab-astng                        | 0.22.0-1.7.1                  | x86_64
  | SLE11-SDK-SP2-Core          | python-logilab-common                       | 0.56.2-1.7.1                  | x86_64
v | SLE11-SDK-SP2-Updates       | python-qt                                   | 3.18.1-0.5.1                  | x86_64
  | SLE11-SP2-Debuginfo-Updates | python-qt-debuginfo                         | 3.18.1-0.5.1                  | x86_64
  | SLE11-SP2-Debuginfo-Updates | python-qt-debugsource                       | 3.18.1-0.5.1                  | x86_64
i | SLES11-SP2-Updates          | python-satsolver                            | 0.44.5-0.5.54                 | x86_64
v | SLES11-SP2-Updates          | python-satsolver                            | 0.44.5-0.5.8                  | x86_64
v | SLES11-SP2-Core             | python-satsolver                            | 0.42.0-6.7.31                 | x86_64
  | SLES11-SP2-Core             | python-sssd-config                          | 1.5.11-0.9.96                 | x86_64
  | SLE11-SDK-SP2-Core          | python-yui                                  | 0.1.0-14.5.91                 | x86_64
  | SLE11-SDK-SP2-Core          | python-zypp                                 | 0.5.3-1.5.165                 | x86_64
  | SLES11-SP2-Core             | python-zypp                                 | 0.5.3-1.5.165                 | x86_64
i | SLES11-SP2-Core             | rpm-python                                  | 4.4.2.3-37.46.7               | x86_64
  | SLE11-SP2-Debuginfo-Core    | rpm-python-debuginfo                        | 4.4.2.3-37.46.7               | x86_64
  | SLE11-SP2-Debuginfo-Core    | rpm-python-debugsource                      | 4.4.2.3-37.46.7               | x86_64
  | SLE11-SDK-SP2-Updates       | sax2-libsax-python                          | 8.1-561.559.1                 | x86_64
  | SLES11-SP2-Updates          | sax2-libsax-python                          | 8.1-561.559.1                 | x86_64
  | SLE11-SDK-SP2-Core          | sax2-libsax-python                          | 8.1-561.557.1                 | x86_64
  | SLES11-SP2-Core             | sax2-libsax-python                          | 8.1-561.557.1                 | x86_64
  | SLE11-SDK-SP2-Core          | subversion-python                           | 1.6.17-1.11.1                 | x86_64
i | SLE11-SDK-SP2-Core          | yast2-python-bindings                       | 2.17.4-1.32.115               | x86_64
i | SLES11-SP2-Core             | yast2-python-bindings                       | 2.17.4-1.32.115               | x86_64
  | SLE11-SP2-Debuginfo-Core    | yast2-python-bindings-debuginfo             | 2.17.4-1.32.115               | x86_64
  | SLE11-SP2-Debuginfo-Core    | yast2-python-bindings-debugsource           | 2.17.4-1.32.115               | x86_64
  | SLES11-SP2-Core             | zypp-plugin-python                          | 0.3-2.5.38                    | x86_64

An rpm -qi of python yields:

Name        : python                       Relocations: (not relocatable)
Version     : 2.6.0                             Vendor: SUSE LINUX Products GmbH, Nuernberg, Germany
Release     : 8.12.2                        Build Date: Fri May  6 17:10:04 2011
Install Date: Mon Sep 19 14:01:21 2011         Build Host: falla
Group       : Development/Languages/Python   Source RPM: python-2.6.0-8.12.2.src.rpm
Size        : 1186111                          License: X11/MIT
Signature   : RSA/8, Fri May  6 17:10:18 2011, Key ID e3a5c360307e3d54
Packager    : http://bugs.opensuse.org
URL         : http://www.python.org/
Summary     : Python Interpreter
Description :
Python is an interpreted, object-oriented programming language, and is
often compared to Tcl, Perl, Scheme, or Java.  You can find an overview
of Python in the documentation and tutorials included in the python-doc
(HTML) or python-doc-pdf (PDF) packages.

If you want to install third party modules using distutils, you need to
install python-devel package.



Authors:
--------
    Guido van Rossum <guido@python.org>
Distribution: SUSE Linux Enterprise 11

The SLES11-SP1-Updates and SLES11-SP1-Pool repos are disabled. Enable them, refresh them, check for updates.