Issue2217

classification
Title: sys.version_info reports old version
Type: behaviour Severity: normal
Components: Versions: Jython 2.7
Milestone:
process
Status: closed Resolution: fixed
Dependencies: Superseder:
Assigned To: Nosy List: pdina, zyasoft
Priority: high Keywords:

Created on 2014-10-09.22:46:00 by pdina, last changed 2014-10-10.03:02:18 by zyasoft.

Messages
msg9127 (view) Author: Paolo Dina (pdina) Date: 2014-10-09.22:45:59
$ ./jython --version
Jython 2.7b3+

$ ./jython 
Jython 2.7b3+ (default:1e8dd809df28, Oct 10 2014, 00:27:05) 
[Java HotSpot(TM) 64-Bit Server VM (Oracle Corporation)] on java1.7.0_55
Type "help", "copyright", "credits" or "license" for more information.
>>> import sys
>>> sys.version
'2.7b3+ (default:1e8dd809df28, Oct 10 2014, 00:27:05) \n[Java HotSpot(TM) 64-Bit Server VM (Oracle Corporation)]'

>>> sys.version_info
(2, 7, 0, 'beta', 2)
msg9128 (view) Author: Jim Baker (zyasoft) Date: 2014-10-10.00:27:40
Relevant properties are in build.xml, specifically jython.release_serial:

        <!-- The current version info -->
        <property name="jython.version" value="2.7b3+"/>
        <property name="jython.version.noplus" value="2.7b3"/>
        <property name="jython.major_version" value="2"/>
        <property name="jython.minor_version" value="7"/>
        <property name="jython.micro_version" value="0"/>
        <property name="jython.release_level" value="${PY_RELEASE_LEVEL_BETA}"/>
        <!-- Usually zero, only used for alpha, beta and candidate versions
             where it must be greater than zero. -->
        <property name="jython.release_serial" value="2"/>
        <property name="jython.java.version" value="1.7"/>
msg9129 (view) Author: Jim Baker (zyasoft) Date: 2014-10-10.03:02:10
Unfortunately this is a manual process to update, but it is also simple and should be done.

Fixed as of https://hg.python.org/jython/rev/b072df07130a
History
Date User Action Args
2014-10-10 03:02:18zyasoftsetresolution: accepted -> fixed
2014-10-10 03:02:10zyasoftsetstatus: open -> closed
messages: + msg9129
2014-10-10 00:27:41zyasoftsetpriority: high
resolution: accepted
messages: + msg9128
nosy: + zyasoft
2014-10-09 22:46:00pdinacreate