Update version numbering and clarify notes updates

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

molsen
pants
3658
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

  • 0
  • 0
  • 1
  • 0
  • 1
Description From Last Updated
  1. Thanks Matt.

  2. src/docs/release_strategy.md (Diff revision 1)
     
     
     
     
     

    This should probably go in https://github.com/pantsbuild/pants/blob/master/src/docs/release.md#prepare-release instead.

  3. 
      
  1. Ship It!
  2. 
      
Review request changed

Status: Closed (submitted)

Change Summary:

commit 8a77c87dd0752aac2b52190c539a522e182b7110

Loading...