I have two update requests for PEP 440.

Could PEP 440 date-based version identifier examples be extend to include
full timestamp version identifiers?

The version identifiers I use in a continuous integration build are derived
from ISO8601 time stamps.

YearMonthDay "." HourMinuteSecond    (UTC)

ex. date -u +'%Y%m%d.%H%M%S'

This version identifier format has the peculiar aspect of having a number
of leading 0s in the version segment when a package is created at the
beginning of a new day.

20141218.000018

I just want to make sure any test cases include this version identifier
format.


This leads me to my second request.

Could the effects of normalized version identifiers be clarified when it
comes to package builds?

The normalization section in PEP 440 only seems to discuss the use of
normalization in parsing and processing of the version identifier.  I was
quite surprised when my package build for the above version identifier
became the following under setuptools 8:

dated_release-20141218.18-p27-none-any.whl

Previous releases of setuptools would build:

dated_release-20141218.000018-p27-any.whl

This is jarring as it is an unexpected interpretation of PEP 440. It is the
classic pointer argument.  I want to call it THIS, but it really is THAT.

--
Marcos Klein
_______________________________________________
Distutils-SIG maillist  -  Distutils-SIG@python.org
https://mail.python.org/mailman/listinfo/distutils-sig

Reply via email to