← Back to team overview

ius-coredev team mailing list archive

[Bug 1358202] Re: Multiple python3x

 

Howdy hurie,

Thanks for your feedback on this.  Currently, we are explicitly
conflicting with other IUS python3 builds [0].  This is because there
are several file conflicts between our builds.

/usr/bin/pydoc3
/usr/bin/python3
/usr/share/man/man1/python3.1.gz
/usr/bin/pyvenv

These files are symbolic links to similar files ending in 3.4.  Here are
our options.

1. Do nothing, and continue to only allow a single version of IUS python3 installed at a time.
2. Remove every conflicting symbolic link, forcing users to use "python3.4" instead of "python3".
3. Same as 2, but only for the previous major versions (python32, python33), and leave the generic symlinks in the latest stable version (currently python34u).
4. Manage the symbolic links via update-alternatives.

The obvious problem with 2 is that many users will expect
/usr/bin/python3 to exist, and this change has the potential for
breakage.  Utilizing update-alternatives is not something we have done
before, but we are up for considering it.  More investigation is
required.

[0] https://github.com/iuscommunity-
pkg/python34u/blob/master/SPECS/python34u.spec#L156-159

-- 
You received this bug notification because you are a member of IUS Core
Development, which is subscribed to IUS Community Project.
https://bugs.launchpad.net/bugs/1358202

Title:
  Multiple python3x

Status in IUS Community Project:
  New

Bug description:
  It would be great if we can install multiple of same major python
  version, like installing python3.3 and python3.4.

  Currently, installing python3.4 after python3.3 will yield :

  [vagrant@vagrant-centos6 ~]$ sudo yum install python34u
  Loaded plugins: fastestmirror
  Loading mirror speeds from cached hostfile
   * epel: kartolo.sby.datautama.net.id
   * ius: hkg.mirror.rackspace.com
  Setting up Install Process
  Resolving Dependencies
  --> Running transaction check
  ---> Package python34u.x86_64 0:3.4.1-2.ius.centos6 will be installed
  --> Processing Dependency: python34u-libs(x86-64) = 3.4.1-2.ius.centos6 for package: python34u-3.4.1-2.ius.centos6.x86_64
  --> Processing Dependency: libpython3.4m.so.1.0()(64bit) for package: python34u-3.4.1-2.ius.centos6.x86_64
  --> Running transaction check
  ---> Package python34u-libs.x86_64 0:3.4.1-2.ius.centos6 will be installed
  --> Processing Conflict: python34u-3.4.1-2.ius.centos6.x86_64 conflicts python33
  --> Finished Dependency Resolution
  Error: python34u conflicts with python33-3.3.5-2.ius.centos6.x86_64
   You could try using --skip-broken to work around the problem
   You could try running: rpm -Va --nofiles --nodigest

To manage notifications about this bug go to:
https://bugs.launchpad.net/ius/+bug/1358202/+subscriptions


References