Update version numbering and clarify notes updates

Review Request #4069 - Created July 12, 2016 and submitted

Information
Matt Olsen
pants
3658
Reviewers
pants-reviews
benjyw, gmalmquist, jsirois, mateor, stuhood, zundel
pip resolves x.y.z-rc0 and x.y.z-pre0 to the same version number which caused
problems for people installing pants with pip. The dev suffix does not conflict
with rc in PEP440.  The version numbering has been verified to not cause
conflicts with a small test package and the following:

In [1]: from pip._vendor.packaging import version

In [2]: version.parse('1.1.0dev0')
Out[2]: <Version('1.1.0.dev0')>

In [3]: version.parse('1.1.0rc0')
Out[3]: <Version('1.1.0rc0')>

In [4]: version.parse('1.1.0')
Out[4]: <Version('1.1.0’)>

* Change pre to dev to avoid naming issues with PEP.
* Clarify notes that need to be updated on cutting a new stable branch.

CI pending: https://travis-ci.org/pantsbuild/pants/builds/144253603

Issues

  • 0
  • 1
  • 0
  • 1
Description From Last Updated
Stu Hood
Eric Ayers
Matt Olsen
Matt Olsen
Review request changed

Status: Closed (submitted)

Change Summary:

commit 8a77c87dd0752aac2b52190c539a522e182b7110

Loading...