Re: Error in build time tests (Was: numpy breaks nipy autopkgtest: No module named 'numpy.testing.decorators')

2020-12-08 Thread Andrey Rahmatullin
On Tue, Dec 08, 2020 at 09:44:51PM +0100, Andreas Tille wrote: > > https://github.com/nipy/nipy/issues/461 > > As far as I can see that's included into 0.4.3~rc1. If by "it" you mean requiring sympy older than the Debian one then yes. But the package evidently doesn't enforce this requirement.

Re: Error in build time tests (Was: numpy breaks nipy autopkgtest: No module named 'numpy.testing.decorators')

2020-12-08 Thread Yaroslav Halchenko
FWIW those were reported "upstream" https://github.com/nipy/nipy/issues/466 unfortunately I had no time to look at them (again :-/) On Tue, 08 Dec 2020, Andreas Tille wrote: > Control: tags -1 pending > Control: tags -1 help > Hi, > I've updated nipy Git[1] to version 0.4.3~rc1 which solves

Re: Error in build time tests (Was: numpy breaks nipy autopkgtest: No module named 'numpy.testing.decorators')

2020-12-08 Thread Andreas Tille
On Tue, Dec 08, 2020 at 11:11:27PM +0500, Andrey Rahmatullin wrote: > https://github.com/nipy/nipy/issues/461 As far as I can see that's included into 0.4.3~rc1. Yaroslav, would you mind commenting on this? It would be great to have some kind of 0.4.3~rc2 to get nipy fixed. Kind regards

Re: How to run unit tests?

2020-12-08 Thread Andrey Rahmatullin
On Tue, Dec 08, 2020 at 09:33:03PM +0100, Peter Wienemann wrote: > Dear Python experts, > > in trying to update the python-lark package [0] to the most recent upstream > version, an interesting issue regarding unit tests showed up [1]. Depending > on how one runs unit tests they either fail or

How to run unit tests?

2020-12-08 Thread Peter Wienemann
Dear Python experts, in trying to update the python-lark package [0] to the most recent upstream version, an interesting issue regarding unit tests showed up [1]. Depending on how one runs unit tests they either fail or not. Tried options are: 1. PYTHONWARNINGS=d pythonX -m unittest

Re: Error in build time tests (Was: numpy breaks nipy autopkgtest: No module named 'numpy.testing.decorators')

2020-12-08 Thread Andrey Rahmatullin
On Tue, Dec 08, 2020 at 07:02:22PM +0100, Andreas Tille wrote: > TypeError: unsupported operand type(s) for *: 'GreaterThan' and 'Add' Consider starting to use Google to find at least some info related to questions you ask. https://github.com/nipy/nipy/issues/461 -- WBR, wRAR signature.asc

Error in build time tests (Was: numpy breaks nipy autopkgtest: No module named 'numpy.testing.decorators')

2020-12-08 Thread Andreas Tille
Control: tags -1 pending Control: tags -1 help Hi, I've updated nipy Git[1] to version 0.4.3~rc1 which solves the originally reported issue. However, there are some remaining failures in the build time test: ... == ERROR:

Re: Python3.9 issue: '"yield from" can't be applied to "Condition"' (Was: Bug#976779: mypy FTBFS with only python 3.9)

2020-12-08 Thread Andrey Rahmatullin
On Tue, Dec 08, 2020 at 01:27:57PM +0100, Andreas Tille wrote: > test-data/samples/crawl.py:750: error: "yield from" can't be applied to > "Condition" > test-data/samples/crawl.py:772: error: "yield from" can't be applied to > "Semaphore" > test-data/samples/crawl.py:778: error: "yield from"

Python3.9 issue: '"yield from" can't be applied to "Condition"' (Was: Bug#976779: mypy FTBFS with only python 3.9)

2020-12-08 Thread Andreas Tille
Control: tags -1 pending Control: tags -1 help On Mon, Dec 07, 2020 at 11:24:34PM +0200, Adrian Bunk wrote: > ... > #set -e; for v in 3.9; do > set -e; for v in 3.8; do \ > PATH=$PATH:/<>/debian/mypy/usr/bin/ python$v -m pytest -n > auto \ > -o testpaths=mypy/test -o