[prev in list] [next in list] [prev in thread] [next in thread]
List: python-bugs-list
Subject: [Python-bugs-list] [ python-Bugs-417796 ] illegal version 1.0.2pre
From: noreply () sourceforge ! net (noreply () sourceforge ! net)
Date: 2001-07-30 6:15:58
Message-ID: E15R6LO-0005qv-00 () usw-sf-web3 ! sourceforge ! net
[Download RAW message or body]
Bugs item #417796, was opened at 2001-04-20 21:24
You can respond by visiting:
http://sourceforge.net/tracker/?func=detail&atid=105470&aid=417796&group_id=5470
Category: Distutils
Group: None
Status: Open
>Resolution: Fixed
Priority: 5
Submitted By: Garth T Kidd (gtk)
Assigned to: Thomas Heller (theller)
Summary: illegal version 1.0.2pre
Initial Comment:
Description:
The version in distutils/__init__ doesn't conform to
the strict versioning guidelines in distutils/version,
resulting in failure when trying to use distutils to
install 4Suite (and perhaps other modules).
Workaround:
Hand-edit distutils/__init__.py to remove "pre".
Pointers to vital stuff in code:
Lib/distutils/__init__.py:
__version__ = "1.0.2pre"
Lib/distutils/version.py:
A version number consists of two or three dot-
separated numeric components, with an optional "pre-
release" tag on the end. The pre-release tag consists
of the letter 'a' or 'b' followed by a number.
Demonstration of problem:
Python 2.1 (#1, Apr 18 2001, 10:49:25)
[GCC 2.95.2 19991024 (release)] on sunos5
Type "copyright", "credits" or "license" for more
information.
>>> import distutils
>>> import distutils.version
>>> v = distutils.version.StrictVersion
(distutils.__version__)
Traceback (most recent call last):
File "<stdin>", line 1, in ?
File "/usr/local/lib/python2.1/distutils/version.py",
line 42, in __init__
self.parse(vstring)
File "/usr/local/lib/python2.1/distutils/version.py",
line 109, in parse
raise ValueError, "invalid version number '%s'" %
vstring
ValueError: invalid version number '1.0.2pre'
>>>
----------------------------------------------------------------------
>Comment By: Garth T Kidd (gtk)
Date: 2001-07-29 23:15
Message:
Logged In: YES
user_id=59803
Fixed in distutils 1.20 tagged for release with Python 2.2,
meaning 4Suite et al won't install cleanly with any out-of-
the-box Python 2.1. :/
If there's ever a 2.1.2, anyone want to tag this for it?
----------------------------------------------------------------------
You can respond by visiting:
http://sourceforge.net/tracker/?func=detail&atid=105470&aid=417796&group_id=5470
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic