Le samedi 06 mai 2006 à 04:29 -0600, Bruce Sass a écrit : > Is it unreasonable to want to install a module package which should work > with any Python and have *.pyc's automatically compiled for an > interpreter which lives in /usr/local/bin, or install a local > interpreter and have Debian attempt to compile all the installed > modules for it, have a local module compiled for packaged interpreters?
I think this is unreasonable, yes. While we can maintain a list of python versions packaged for Debian and ensure they are all working correctly with e.g. python-support, trying to detect other versions and to compile modules for them would be too much error-prone. I have too much background of incomprehensible bugs that turned out to be caused by a user installing broken stuff in /usr/local. > ...and of course commenting. I have this picture in my head of a > Debian-Python infrastructure that has no pythonX.Y-module packages > because everything is automatically compiled for all available > interpreters. The "default python" would just happen to be the one > python-minimal is a subset of (which may well be an arbitrary choice) > and if an admin wants to use an alternate (maybe even local) Python as > the default they should be able to do so simply by providing the > equivalent of python-minimal for the new default interpreter > (necessarily tweaking any infrastructure code using non-portable > python, which would be a good thing). This is what python-support tries to achieve. However this is only possible for modules written in python. Modules written in C need to be built for every python version they support. > My motivation for thinking along these lines is the realization that > large chunks of the current Python Policy could be removed if 2.5 was > implemented in such a way as to make pythonX.Y-anything unnecessary. The python policy surely needs work. I wish I had more time to work on it, and still hope to bring up a new draft soon, but everyone is free to work on it as well. -- .''`. Josselin Mouette /\./\ : :' : [EMAIL PROTECTED] `. `' [EMAIL PROTECTED] `- Debian GNU/Linux -- The power of freedom
signature.asc
Description: Ceci est une partie de message numériquement signée