ANNOUNCE: Python 2.1 final release 
Author Message
 ANNOUNCE: Python 2.1 final release

Yes, the *final* release of python 2.1 is now available.  Thanks again
for all who helped!  Go here for downloads and information:

    http://www.*-*-*.com/

As a reminder, here's a list of some of the big new features in 2.1
(news since 2.0 was released in October 2000):

- nested scopes and __future__ directives
- rich comparisons and new coercion model
- warnings framework
- new build process (Unix)
- weak references
- function attributes
- unittest and doctest modules for automated testing
- ports to several new platforms, including Cygwin and RISCOS

--Guido van Rossum (home page: http://www.*-*-*.com/ ~guido/)



Sat, 04 Oct 2003 22:29:44 GMT  
 ANNOUNCE: Python 2.1 final release

Quote:

>Yes, the *final* release of Python 2.1 is now available.  Thanks again

I've updated my set of RPMs against 2.1.  I've similarly upgraded my 2.1
beta announcement to 2.1 final, and am including it below.  Changes in this
version are:

   Upgrade to 2.1 final.
   Binary and package name is "python2" by default.  Comment out the first
         (non-comment) line of the .spec file to build "python".
   Fixes the path to python2 in pydoc based on the above.
   Uses "--with-pymalloc" when configuring.
   Included Tony Seward's patch to fix the expat module's header path.
   Split out devel and tkinter packages.

Enjoy,
Sean
======================
Shy of RPMs because of library or other dependancy problems with most of
the RPMs you pick up?  The cure, in my experience is to pick up an SRPM.
All you need to do to build a binary package tailored to your system is run
"rpm --rebuild <packagename>.src.rpm".

The Source RPM and binaries for RedHat and KRUD 7.0 are at:

   ftp://ftp.tummy.com/pub/tummy/RPMS/SRPMS/python2-2.1-1tummy.src.rpm

   ftp://ftp.tummy.com/pub/tummy/RPMS/binaries-KRUD-7.0-i386/

You'll also need the following to build the SRPMSs:

   ftp://ftp.tummy.com/pub/tummy/RPMS/SRPMS/expat-1.1-3tummy.src.rpm

(Note, KRUD is our RedHat-based distribution with all errata applied.
Binaries should work on a stock RedHat 7.0 system, particularly if you have
the errata applied).

Again, this one builds the executable as "python2", and can be installed
along-side your normal Python on the system.  Want to check out a great new
feature?  Type "pydoc string" or "pydoc -g" from your shell.

Download the SRPM from above, and most users can install a binary built
against exactly the set of packages on their system by doing:

   rpm --rebuild expat-1.1-3tummy.src.rpm
   rpm -i /usr/src/redhat/RPMS/i386/expat*-1.1-3tummy.i386.rpm
   rpm --rebuild python-2.1b2-1tummy.src.rpm
   rpm -i /usr/src/redhat/RPMS/i386/python*2.1b1-1tummy.i386.rpm

Enjoy,
Sean
--
 The structure of a system reflects the structure of the organization that
 built it.  -- Richard E. Fairley

tummy.com - Linux Consulting since 1995. Qmail, KRUD, Firewalls, Python



Sun, 05 Oct 2003 10:03:52 GMT  
 ANNOUNCE: Python 2.1 final release
Problems building on Redhat 6.2.  Presumably a dumb mistake.  Any
ideas?

1. Already have 1.5.2 and 2.0 installed.  PYTHONHOME and PYTHONPATH are
set for the 1.5.2 install.  

2. Started with untar in a work dir, then:

./configure --prefix=/usr/local
gmake

3. This does the initial C compiling, but fails on:
PYTHONPATH= ./python ./setup.py build
'import site' failed; use -v for traceback
Traceback (most recent call last):
  File "./setup.py", line 9, in ?
    import sys, os, getopt
ImportError: No module named os
gmake: *** [sharedmods] Error 1

4. I then edited Makefile.pre.in to do:
PYTHONPATH=./Lib ./python ./setup.py build
This gets me past the build, but "gmake test" similarly fails on
PYTHONPATH.  Editing again to add ./Lib on the "setup.py test" gets a
little further.  

5. But by now it is clear I'm going the wrong direction:

PYTHONPATH=./Lib ./python -tt ./Lib/test/regrtest.py -l
Traceback (most recent call last):
  File "./Lib/test/regrtest.py", line 39, in ?
    import random
  File "/usr/local/src/toolkit/python/Python-2.1/Lib/random.py", line 76, in ?
    from math import log as _log, exp as _exp, pi as _pi, e as _e
ImportError: No module named math
gmake: *** [test] Error 1


Quote:
> Yes, the *final* release of Python 2.1 is now available.  Thanks again
> for all who helped!  Go here for downloads and information:

>     http://www.python.org/2.1/

> As a reminder, here's a list of some of the big new features in 2.1
> (news since 2.0 was released in October 2000):

> - nested scopes and __future__ directives
> - rich comparisons and new coercion model
> - warnings framework
> - new build process (Unix)
> - weak references
> - function attributes
> - unittest and doctest modules for automated testing
> - ports to several new platforms, including Cygwin and RISCOS

> --Guido van Rossum (home page: http://www.python.org/~guido/)

--

The Boeing Company          Renton:  (425) 237-6915
P. O. Box 3707  02-CA       Everett: (425) 266-3868
Seattle, WA 98124-2207      Page:    (425) 631-8803  


Sun, 05 Oct 2003 23:46:23 GMT  
 ANNOUNCE: Python 2.1 final release

Quote:

> 1. Already have 1.5.2 and 2.0 installed.  PYTHONHOME and PYTHONPATH are
> set for the 1.5.2 install.  

PYTHONHOME is probably the problem.  Can you try unsetting it
before running make?

  Neil



Mon, 06 Oct 2003 09:21:19 GMT  
 
 [ 4 post ] 

 Relevant Pages 

1. Cygwin Python Distribution (was ANNOUNCE: Python 2.1 final release)

2. Cygwin Python Distribution (was ANNOUNCE: Python 2.1 final release)

3. Cygwin Python Distribution (was ANNOUNCE: Python 2.1 final release)

4. ANNOUNCE: Python 2.1 final release

5. ANNOUNCE: A *second* Python 2.1 release candidate!

6. ANNOUNCE: A Python 2.1 release candidate!

7. ANNOUNCE: A *second* Python 2.1 release candidate!

8. ANNOUNCE: A Python 2.1 release candidate!

9. ANNOUNCE: A Python 2.1 release candidate!

10. RELEASED Mailman 2.1 - final

11. Final Release of HTMLgen 2.1

12. HTMLgen 2.1 Final Released.

 

 
Powered by phpBB® Forum Software