Re: Python 3.x bindings support which versions, exactly?
On Tue 26 May 2020 at 00:41 +0300, Tomi Ollila wrote: > 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) ? If this check is only used to decide to build the python-cffi/notmuch2 bindings, then yes. ___ notmuch mailing list notmuch@notmuchmail.org https://notmuchmail.org/mailman/listinfo/notmuch
Re: Python 3.x bindings support which versions, exactly?
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?
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
Re: Python 3.x bindings support which versions, exactly?
* David Bremner: > That's another reason for me to get a release out the door soon. Given how long ago the old Python bindings were written, I can wait a bit longer for the improved version. ;-) Still, I am looking forward to the next Notmuch release. -Ralph ___ notmuch mailing list notmuch@notmuchmail.org https://notmuchmail.org/mailman/listinfo/notmuch
Re: Python 3.x bindings support which versions, exactly?
Ralph Seichter writes: > * David Bremner: > >> The new bindings (modulename= notmuch2) should work with any python >> recent 3.x. They still have a few rough edges afaiu, but definitely >> new projects should target the new bindings. > > Alas, there are no release archives available yet which contain the new > bindings. I was hoping to add Python 3.8 support for the Gentoo Linux > package I maintain, but our ebuilds rely on tagged releases of the > packaged software. Sorry about that. That's another reason for me to get a release out the door soon. d ___ notmuch mailing list notmuch@notmuchmail.org https://notmuchmail.org/mailman/listinfo/notmuch
Re: Python 3.x bindings support which versions, exactly?
* David Bremner: > The new bindings (modulename= notmuch2) should work with any python > recent 3.x. They still have a few rough edges afaiu, but definitely > new projects should target the new bindings. Alas, there are no release archives available yet which contain the new bindings. I was hoping to add Python 3.8 support for the Gentoo Linux package I maintain, but our ebuilds rely on tagged releases of the packaged software. -Ralph ___ notmuch mailing list notmuch@notmuchmail.org https://notmuchmail.org/mailman/listinfo/notmuch
Re: Python 3.x bindings support which versions, exactly?
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. They still have a few rough edges afaiu, but definitely new projects should target the new bindings. d ___ notmuch mailing list notmuch@notmuchmail.org https://notmuchmail.org/mailman/listinfo/notmuch
Python 3.x bindings support which versions, exactly?
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? -Ralph ___ notmuch mailing list notmuch@notmuchmail.org https://notmuchmail.org/mailman/listinfo/notmuch