Message13088

Author jeff.allen
Recipients jeff.allen
Date 2020-05-31.17:22:18
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1590945738.82.0.930216162664.issue2892@roundup.psfhosted.org>
In-reply-to
Content
CPython (as observed in Travis CI) signs on like this:

CPython 2.7.15+ (heads/2.7:89b5ea2, Dec 19 2018, 15:16:35)
CPython 3.10.0a0 (heads/master:007bb06, May 31 2020, 03:31:05)

It's how the git version info appears that I want to emulate, as an indication I've mined Git correctly for the information. "master" vs "2.7" is a function of the branch we're on. Jython (clean from a commit) now signs on with:

Jython 2.7.3a1-DEV (heads/master:ba16fbc, May 31 2020, 18:10:49)
...
>>> sys._git
('Jython', 'heads/master', 'ba16fbc')

Seems like I can generate an acceptable sys.version from Ant and Gradle, and it all ties in as you'd hope when pushed to the dry-run repo:
https://github.com/jeff5/jython-nightjar/commit/ba16fbc48da14521906e983aa49312630f0b3e55
History
Date User Action Args
2020-05-31 17:22:18jeff.allensetmessageid: <1590945738.82.0.930216162664.issue2892@roundup.psfhosted.org>
2020-05-31 17:22:18jeff.allensetrecipients: + jeff.allen
2020-05-31 17:22:18jeff.allenlinkissue2892 messages
2020-05-31 17:22:18jeff.allencreate