Opened 13 years ago

Closed 12 years ago

Last modified 10 years ago

#3186 closed task (fixed)

Python-2.7

Reported by: Randy McMurchy Owned by: blfs-book@…
Priority: normal Milestone:
Component: BOOK Version: SVN
Severity: normal Keywords:
Cc:

Description

Version increment to 2.7

Version 3.1.2 is also considered a production stable version, but it may not be supported to the degree we need. Anyone with any feedback regarding the 3.1 series should update this ticket with that feedback.

http://python.org/download/

Change History (10)

comment:1 by Randy McMurchy, 13 years ago

A new feature introduced in 2.7 is --with-system-expat. This will fail with segfault. Python's internal version of Expat is 2.0.0 which does not exhibit this problem. According to http://bugs.python.org/issue9054 the issue is fixed with the patched attached to the bug ticket, but it does not fix it for me.

For now, the solution is to not mention in the dependencies that Expat can be used, and a little note saying not to use the --with-system-expat switch, as it could cause failures.

More reading says the issue is completely fixed in Python-3.2 but I have not tested that.

Additionally, BDB support is all but gone in Python. Any new version of BDB 5.X is not supported, and starting in Python-3.x, support for BDB is completely removed. I suppose they want to base their DB activities on sqlite.

comment:2 by Randy McMurchy, 13 years ago

Noted during the running of the test suite:

344 tests OK.
1 test failed:
    test_distutils

Additionally, when the book is updated to Python-2.7 please close ticket #3115 as that error does not occur in this version of Python.

comment:3 by Randy McMurchy, 13 years ago

During installation the man page is totally screwed up. Installed in /usr/bin is python2.7, but the man page installed is /usr/share/man/man1/python2.7.1

I suggest renaming the man page to python2.7, and creating a link to that file called /usr/share/man/man1/python/

in reply to:  3 comment:4 by Randy McMurchy, 13 years ago

Replying to randy@…:

During installation the man page is totally screwed up. Installed in /usr/bin is python2.7, but the man page installed is /usr/share/man/man1/python2.7.1

I suggest renaming the man page to python2.7, and creating a link to that file called /usr/share/man/man1/python/

What a bonehead I am. Of course it needs to be a .1 file, it is a man page. Please disregard the last comment except for making a symlink so that one can issue `man python'. Sheesh, I've been away too long.

comment:5 by ken@…, 13 years ago

My thoughts on 2.7 were summarised at http://comments.gmane.org/gmane.linux.lfs.beyond.support/41875 in early September. Since then, gnome-2.34 has come out. I don't know if that has improved things, but while the book is still using gnome-2.32, I think Python-2.7 is a bit too bleeding edge (I can cope with workarounds, but I get queasy at using development versions of gnome-ish packages).

For Python-3, I have no interest so long as gnome doesn't need it.

in reply to:  5 comment:6 by Randy McMurchy, 13 years ago

Replying to ken@…:

My thoughts on 2.7 were summarised at http://comments.gmane.org/gmane.linux.lfs.beyond.support/41875 in early September. Since then, gnome-2.34 has come out. I don't know if that has improved things, but while the book is still using gnome-2.32, I think Python-2.7 is a bit too bleeding edge

I think perhaps you have your GNOME versions confused. 2.32 was just released on September 29, 2010 and there are no plans for a 2.34 release as 3.0 will be the next production version of GNOME (http://www.gnome.org/). Additionally, the BLFS book is at 2.30.2, not 2.32; however I see the point you are making.

If we do not move to Python-2.7, then we *must* move to 2.6.6 to fix many security vulnerabilities. I don't know when we can release a new BLFS, and the answer to that question is key to everything. I'm going to start a thread on -dev about it.

comment:7 by Randy McMurchy, 13 years ago

Milestone: future6.7

Updated milestone to 6.7

comment:8 by Randy McMurchy, 13 years ago

Python-2.7 breaks the book's version of gobject-introspection. Updating gobject-introspection to 0.9.12 fixes the problem.

comment:9 by bdubbs@…, 12 years ago

Resolution: fixed
Status: newclosed

comment:10 by bdubbs@…, 10 years ago

Milestone: 6.7

Milestone 6.7 deleted

Note: See TracTickets for help on using tickets.