Multiple python3x
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
IUS Community Project |
Won't Fix
|
Undecided
|
Unassigned |
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@
Loaded plugins: fastestmirror
Loading mirror speeds from cached hostfile
* epel: kartolo.
* ius: hkg.mirror.
Setting up Install Process
Resolving Dependencies
--> Running transaction check
---> Package python34u.x86_64 0:3.4.1-
--> Processing Dependency: python34u-
--> Processing Dependency: libpython3.
--> Running transaction check
---> Package python34u-
--> Processing Conflict: python34u-
--> Finished Dependency Resolution
Error: python34u conflicts with python33-
You could try using --skip-broken to work around the problem
You could try running: rpm -Va --nofiles --nodigest
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 man/man1/ python3. 1.gz
/usr/bin/python3
/usr/share/
/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. alternatives.
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-
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/iuscommunit y-pkg/python34u /blob/master/ SPECS/python34u .spec#L156- 159