Re: Python 3.x bindings support which versions, exactly?

2020-05-25 Thread Tomi Ollila
On Mon, May 25 2020, Floris Bruynooghe wrote:

> In tox.ini the earliest version is 3.5 and if memory serves me right
> there's a reasonably good reason for that.  I think the notmuch2
> bindings use some features not yet present in 3.4.  But anything >= 3.5
> should be supported and if not a bug.  I guess tox.ini should be updated
> with 3.8 sometime :)

I've been long thinking whether our current python3 check is "strict"
enough, as it, in configure, is:

if "$python" -c 'import sys; assert sys.version_info >= (3,0)' > /dev/null 2>&1

Perhaps that should be updated to (3,5) ?

>
> Cheers,
> Floris

Tomi
___
notmuch mailing list
notmuch@notmuchmail.org
https://notmuchmail.org/mailman/listinfo/notmuch


Re: Python 3.x bindings support which versions, exactly?

2020-05-25 Thread Floris Bruynooghe
On Sun 24 May 2020 at 16:29 -0300, David Bremner wrote:

> Ralph Seichter  writes:
>
>> Hello,
>>
>> having examined the source code, I assume that Notmuch's Python bindings
>> should support Python 3.x for any given 'x'. However, reading the Travis
>> logs at https://travis-ci.org/notmuch/notmuch and .travis.yml, the CI
>> tests apparently run on Ubuntu 18.04 and use only Python 3.6.
>>
>> While I hope there won't be any problems with Python 3.7, 3.8 and 3.9,
>> I wanted to ask here first if anybody has tested this yet?
>
> the old (modulename = notmuch) bindings actually do have memory
> management issues with python > 3.6 (maybe also with 3.6). The new
> bindings (modulename= notmuch2) should work with any python recent
> 3.x.

In tox.ini the earliest version is 3.5 and if memory serves me right
there's a reasonably good reason for that.  I think the notmuch2
bindings use some features not yet present in 3.4.  But anything >= 3.5
should be supported and if not a bug.  I guess tox.ini should be updated
with 3.8 sometime :)

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