Re: [python-cffi] Version number for the `notmuch2` bindings

2020-06-19 Thread Floris Bruynooghe
On Thu 18 Jun 2020 at 16:56 -0300, David Bremner wrote:

> Frank LENORMAND  writes:
>
>> Hi,
>>
>> The original Python bindings follow the entire repository's version
>> number[1]. The new Python bindings use `0.1`[2].
>>
>> The Debian package[3] follows the same version number as well, but
>> it's starting to confuse maintainers of packages for other environments
>> (e.g. Pypi[4]), who use `0.1` because that's what's in the code.
>
> Floris might have some good reason in mind for the divergence. I will
> say it's a pain in Debian to have different binary packages (.deb's)
> built from the same source with different version numbers. So I'd need
> to be convinced.

There is no good reason, it was overlooked when merging the cffi
bindings into notmuch proper.

Is there any reason we can not directly read the toplevel version file
from inside setup.py instead of having to add sed hackery?

Cheers,
Floris
___
notmuch mailing list
notmuch@notmuchmail.org
https://notmuchmail.org/mailman/listinfo/notmuch


Re: [python-cffi] Version number for the `notmuch2` bindings

2020-06-18 Thread David Bremner
Frank LENORMAND  writes:

> Hi,
>
> The original Python bindings follow the entire repository's version
> number[1]. The new Python bindings use `0.1`[2].
>
> The Debian package[3] follows the same version number as well, but
> it's starting to confuse maintainers of packages for other environments
> (e.g. Pypi[4]), who use `0.1` because that's what's in the code.
>

Since I'm (also) the Debian maintainer, I guess you know my view
already. I don't really see the need for an extra version number for the
cffi bindings. I'd be happy to provide the same kind sed hackery to keep
the two in sync as is done for the old bindings.

Floris might have some good reason in mind for the divergence. I will
say it's a pain in Debian to have different binary packages (.deb's)
built from the same source with different version numbers. So I'd need
to be convinced.
___
notmuch mailing list
notmuch@notmuchmail.org
https://notmuchmail.org/mailman/listinfo/notmuch