[Numpy-discussion] Developmental version numbering with git

Matthew Brett matthew.brett@gmail....
Thu Nov 11 13:32:36 CST 2010


Hi,

On Tue, Nov 9, 2010 at 7:48 AM, Charles R Harris
<charlesr.harris@gmail.com> wrote:
>
>
> On Tue, Nov 9, 2010 at 8:20 AM, Scott Sinclair <scott.sinclair.za@gmail.com>
> wrote:
>>
>> On 8 November 2010 23:17, Matthew Brett <matthew.brett@gmail.com> wrote:
>> >> Since the change to git the numpy version in setup.py is '2.0.0.dev'
>> >> regardless because the prior numbering was determined by svn.
>> >>
>> >> Is there a plan to add some numbering system to numpy developmental
>> >> version?
>> >>
>> >> Regardless of the answer, the 'numpy/numpy/version.py' will need to
>> >> changed because of the reference to the svn naming.
>> >
>> > In case it's useful, we (nipy) went for a scheme where the version
>> > number stays as '2.0.0.dev', but we keep a record of what git commit
>> > has we are on - described here:
>> >
>> > http://web.archiveorange.com/archive/v/AW2a1CzoOZtfBfNav9hd
>> >
>> > I can post more details of the implementation if it's of any interest,
>>
>> In the meantime there's a patch in that direction here:
>>
>> https://github.com/numpy/numpy/pull/12

Tiny patch for py3k attached.

Should the generated numpy/version.py be in .gitignore?  Is there a
better name in order to signal the generated nature of the file?

Best,

Matthew
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-BF-py3k-fix-for-git-version-string.patch
Type: application/octet-stream
Size: 646 bytes
Desc: not available
Url : http://mail.scipy.org/pipermail/numpy-discussion/attachments/20101111/b8276348/attachment.obj 


More information about the NumPy-Discussion mailing list