The Second Order Effect

Twitter Weekly Updates for 2010-03-14

by on Mar.14, 2010, under Uncategorized

this is a repost from my old site.

I’ve created RPMs for RHEL 5.0, cure 5.1, shop 5.2 and 5.3, pills as well as CentOS 5.0, 5.1 and 5.2 for Python 2.5 and 2.6.

The RHEL/CentOS line only supports Python 2.4, and as it’s an integral part of yum and many other packages, any installation of new Pythons will require parallel installation.

(Note : Currently, the 2.5 and 2.6 RPMs cannot both be installed without an RPM –force)

TODO : Repository URL & GPG signing

As for the RPMs themselves :

Download

Caveats

Neither of these packages fully pass the Python test suite (import test.autotest).

That being said, we’ve been using the Python 2.5 package, released by Bashton, in production for a while now, and we haven’t seen any problems.

4 tests failed: test_distutils test_email test_email_renamed test_nis

I don’t know about email, but there are patches for CentOS/Fedora against distutils, so I expect that’s why it fails the test.

For Python 2.6, note the following :

  • I had to gimp autoconf’s version detection to force it to use 2.59. This may have unintended consequences
  • This RPM uses patches from the Fedora Core 11 Alpha release. (python-2.6-4.fc11 specifically). As Fedora updates this package, I’ll release updates. (Feel free to email to remind.)

Usage

Just install the RPMs for the version that you want. You’ll need at least the base python version package and the libs package.
To start Python 2.6, type python26 at your commandline rather than python. (Your original Python 2.4 is still installed.)
If you’re installing packages with setuptools, make sure to use the correct python version. (i.e. python26 setup.py install)
If you’d like to build an x86_64, call rpmbuild –rebuild with the appropriate arch setting.

Powered by Twitter Tools

Powered by Twitter Tools

Powered by Twitter Tools

  • Anyone *love* their 3G data plan? Turns out AT&T requires a 2yr commitment, viagra
    even if I use old equipment – not interested… #
  • Loving Intercon J – Setting up the set for Limbo now, then gaming all day! #
  • Man, I really want to sit down and write a game now. #
  • I'm thankful that the challenges in my life stem from an abundance of opportunities/ideas/directions rather than a lack of them. #
  • @randbot man, I thought you were referring to something that happened in game. in reply to randbot #

Powered by Twitter Tools

:

Leave a Reply

Looking for something?

Use the form below to search the site:

Still not finding what you're looking for? Drop a comment on a post or contact us so we can take care of it!

Visit our friends!

A few highly recommended friends...