Issue 1590: "make altinstall" installs pydoc, idle, smtpd.py
Created on 2007-12-11 15:48 by dripton, last changed 2022-04-11 14:56 by admin. This issue is now closed.
| Files | ||||
|---|---|---|---|---|
| File name | Uploaded | Description | Edit | |
| altinstall.patch | dripton, 2007-12-12 14:25 | |||
| Messages (10) | |||
|---|---|---|---|
| msg58437 - (view) | Author: David Ripton (dripton) | Date: 2007-12-11 15:48 | |
Python 3.0a2, Gentoo Linux, x86 "make altinstall" installs idle, pydoc, and smtpd.py This can partially break the previous Python install, which is counter to the idea of altinstall being safe to use in parallel with an existing install of a different version of Python. IMO altinstall should install no files that lack a version number somewhere in their path. I suggest having altinstall simply not install pydoc, idle, and smtpd.py. |
|||
| msg58450 - (view) | Author: Guido van Rossum (gvanrossum) * ![]() |
Date: 2007-12-11 17:58 | |
Agreed. Please provide a patch. Isn't this a 2.5-2.6 issue as well? |
|||
| msg58462 - (view) | Author: Christian Heimes (christian.heimes) * ![]() |
Date: 2007-12-11 20:08 | |
Yes, 2.5 and 2.6 are affected, too. The scripts are install by setup.py in sharedinstall. |
|||
| msg58492 - (view) | Author: David Ripton (dripton) | Date: 2007-12-12 14:23 | |
Here's a patch, against the 3.0a2 tarball. |
|||
| msg58493 - (view) | Author: David Ripton (dripton) | Date: 2007-12-12 14:29 | |
Same patch appears to work fine against the 2.5.1 tarball. |
|||
| msg85734 - (view) | Author: David Ripton (dripton) | Date: 2009-04-07 19:09 | |
I see this has been marked as "test needed", but this patch is a change to Makefile.pre.in, and it's not clear to me how to unit test it using the existing Python test framework. FWIW, I've manually tested it (on Linux) by doing ./configure; make; sudo make install and verifying the absence of (newly installed) idle, pydoc, and smtpd.py in /usr/local/bin |
|||
| msg85735 - (view) | Author: Daniel Diniz (ajaksu2) * ![]() |
Date: 2009-04-07 19:15 | |
That's good enough a test for me :) Pinging gutworth so we can have this in 3.1. |
|||
| msg85738 - (view) | Author: Benjamin Peterson (benjamin.peterson) * ![]() |
Date: 2009-04-07 19:28 | |
Fixed in r71372. Thanks for the patch! |
|||
| msg85785 - (view) | Author: Benjamin Peterson (benjamin.peterson) * ![]() |
Date: 2009-04-08 21:40 | |
Refixed in r71400. |
|||
| msg85974 - (view) | Author: Ned Deily (ned.deily) * ![]() |
Date: 2009-04-14 20:28 | |
r71400 breaks installer builds. See issue5756. |
|||
| History | |||
|---|---|---|---|
| Date | User | Action | Args |
| 2022-04-11 14:56:28 | admin | set | github: 45931 |
| 2010-08-22 13:46:18 | eric.araujo | link | issue1495488 superseder |
| 2009-04-14 20:28:56 | ned.deily | set | nosy:
+ ned.deily messages: + msg85974 |
| 2009-04-08 21:40:23 | benjamin.peterson | set | messages: + msg85785 |
| 2009-04-07 19:28:05 | benjamin.peterson | set | status: open -> closed resolution: fixed messages: + msg85738 |
| 2009-04-07 19:15:04 | ajaksu2 | set | nosy:
+ ajaksu2, benjamin.peterson messages:
+ msg85735 |
| 2009-04-07 19:09:19 | dripton | set | messages: + msg85734 |
| 2009-04-06 10:49:23 | ajaksu2 | set | versions:
+ Python 3.1, Python 2.7, - Python 2.5 priority: normal -> high dependencies: + "make altinstall" installs pydoc, idle, smtpd.py with broken shebang lines components: + Installation keywords: + patch stage: test needed |
| 2009-04-06 10:47:51 | ajaksu2 | link | issue3744 superseder |
| 2007-12-12 14:29:40 | dripton | set | messages: + msg58493 |
| 2007-12-12 14:25:40 | dripton | set | files: + altinstall.patch |
| 2007-12-12 14:23:57 | dripton | set | messages: + msg58492 |
| 2007-12-11 20:08:14 | christian.heimes | set | priority: normal nosy: + christian.heimes messages: + msg58462 versions: + Python 2.6, Python 2.5 |
| 2007-12-11 17:58:00 | gvanrossum | set | nosy:
+ gvanrossum messages: + msg58450 |
| 2007-12-11 15:48:35 | dripton | create | |

