Backporting python2.7 by itself probably won't help you that much. You'll
also need to backport/update python-defaults and then rebuild any third party
extensions you need. Depending on what it is you're after, it's a lot more
than just the interpreter backport (which is, by itself, probably not that
hard).
Scott K
--
To UNSUBSCRIBE, email to debian-pyt...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listm...@lists.debian.org
Archive: http://lists.debian.org/4453566.dlxrfZ2frN@scott-latitude-e6320
Good news! :)
> > You can take a look at [1]. I rebuilt it without modifications but it
> > probably needs some testing.
I'll test it with virtualenv later.
> > Are you aware that preparing a backport is not an one-time thing, right?
> > If you sign-up for backport maintenance of such widely used package
> > like python2.7, you will have to keep an eye on it during all its lifetime
> > backporting bugfixes and security updates.
Well, if I understood it right, it is mostly recompiling / repackaging
the current stuff from wheezy.
I guess I could do that, although I'ld prefer some experienced DD or
developer using debian would do it (I am using ubuntu on my desktops /
development machines, but I could create some VM, of course).
> > I can help with that but you have to find a DD willing to upload this
> > backport.
OK, any DD here willing to review / help with this?
> Backporting python2.7 by itself probably won't help you that much. You'll
> also need to backport/update python-defaults
What's "python-defaults"? I could not find a file or package with that
name.
> and then rebuild any third party extensions you need.
I guess I would only care for very few packages, primarily virtualenv.
Because if you have that, you can install what you need into a virtual
env.
Maybe checking whether / how mod-wsgi works with 2.7 would also be
interesting.
--
To UNSUBSCRIBE, email to debian-pyt...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listm...@lists.debian.org
Archive: http://lists.debian.org/1317636904.17505.8.camel@x300
Of course most other upstreams that want their code to run on an
existing server install, with minimal hassle, support Python 2.6 or even
2.5. The enterprise distributions move *very* slowly. I know of people
complaining that their deployment environment only has 2.4...
> Well, if I understood it right, it is mostly recompiling / repackaging
> the current stuff from wheezy.
That would be required to fix some bugs (wheezy doesn't even have 2.7 as
default yet, but that'll happen in the next week or so).
Many packages will support 2.7, but some of them will need to be rebuilt
to support it (i.e. C extensions, or packages using dh_python2)
I suspect that such rebuilding probably couldn't happen in Debian's
backports, as it would impact many packages.
> > > I can help with that but you have to find a DD willing to upload this
> > > backport.
> OK, any DD here willing to review / help with this?
You actually need someone on the backports team.
> > Backporting python2.7 by itself probably won't help you that much. You'll
> > also need to backport/update python-defaults
> What's "python-defaults"? I could not find a file or package with that
> name.
python-defaults is a source package. It builds the "python" package,
"python-all", etc. This determines what verions of python are available
and supported.
If you were to add 2.7 as a supported version, you'd have to touch
python-support and python-central as well. They hardcode supported
python versions. And before you could do that, you'd need to ensure that
every pure-python module is 2.7-compatible or has XS-Python-Version: <<
2.7 (or equivalent) in the source package.
Or you'd run into bugs like these:
http://udd.debian.org/cgi-bin/bts-usertags.cgi?tag=python2.4-incompatible&user=debian-python%40lists.debian.org
> I guess I would only care for very few packages, primarily virtualenv.
> Because if you have that, you can install what you need into a virtual
> env.
virtualenv uses python-support, so to get it to work under 2.7, you'd
have to change python-support, which means everything else using
python-support would have to be 2.7 compatible.
Maybe I'm being overly pessimistic, but this sounds like an impossibly
big task for doing properly in debian-backports.
SR
--
Stefano Rivera
http://tumbleweed.org.za/
H: +27 21 465 6908 C: +27 72 419 8559 UCT: x3127
--
To UNSUBSCRIBE, email to debian-pyt...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listm...@lists.debian.org
Archive: http://lists.debian.org/2011100311...@bach.rivera.co.za
On Oct 03, 2011, at 12:15 PM, Thomas Waldmann wrote:
>I guess I could do that, although I'ld prefer some experienced DD or
>developer using debian would do it (I am using ubuntu on my desktops /
>development machines, but I could create some VM, of course).
Not to discourage you working on useful Debian tasks, but if you're using
Ubuntu for development and production, then using Launchpad PPAs might be a
better way to go.
I have and will be maintaining a PPA for providing Python 2.7 to Lucid. This
is ostensibly so that the Launchpad team can port their code to Python 2.7
independent of porting it to Ubuntu 12.04 (the next LTS). I don't intend to
support every package, just the ones critical to Launchpad. However, you can
base your own PPA off of mine and build any additional packages you need
there.
https://launchpad.net/~pythoneers/+archive/lts
Anyway, since this is Ubuntu, it might be better to discuss it further on an
Ubuntu specific mailing list, or you can contact me directly for more
information.
Cheers,
-Barry
--
To UNSUBSCRIBE, email to debian-pyt...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listm...@lists.debian.org
Archive: http://lists.debian.org/20111003095...@resist.wooz.org
I didn't know it is all that complicated and interdependant (and if
something is like that, it maybe should be questioned whether it needs
to be like that - but I leave that to the debian developers).
Meanwhile it sounds like only requiring >= 2.6 for the next release and
just delaying python2.7-based preparation work for python3 compatibility
to a later release is the easier way to go. :|
Hopefully it will be a non-issue then when that stuff is going to be
released. For development it is not a big issue for me as I am using
ubuntu, which has a more fresh python anyway (and I also have
some /usr/local/ manually installed pythons for testing) - I was
primarily concerned about easy release deployment (where many people are
using debian, including me).
--
To UNSUBSCRIBE, email to debian-pyt...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listm...@lists.debian.org
Archive: http://lists.debian.org/1317731301.26692.20.camel@x300