Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > linux.debian.bugs.rc > #291810
| From | Andreas Tille <tille@debian.org> |
|---|---|
| Newsgroups | linux.debian.bugs.rc |
| Subject | Bug#976779: Python3.9 issue: '"yield from" can't be applied to "Condition"' (Was: Bug#976779: mypy FTBFS with only python 3.9) |
| Date | 2020-12-08 13:40 +0100 |
| Message-ID | <BjKhY-5b7-13@gated-at.bofh.it> (permalink) |
| References | <Bjwf0-4UQ-17@gated-at.bofh.it> <Bjwf0-4UQ-17@gated-at.bofh.it> |
| Organization | linux.* mail to news gateway |
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:/<<PKGBUILDDIR>>/debian/mypy/usr/bin/ python$v -m pytest -n auto \
> -o testpaths=mypy/test -o python_files=test*.py \
> -k "not StubtestMiscUnit" \
> -o python_classes= -o python_functions=; \
> done
> bash: line 2: python3.8: command not found
I've dealt with this issue in Git. Unfortunately there is a test suite
error remaining:
set -e; for v in 3.9; do \
PATH=$PATH:/build/mypy-0.790/debian/mypy/usr/bin/ python$v -m pytest -n auto \
-o testpaths=mypy/test -o python_files=test*.py \
-k "not StubtestMiscUnit" \
-o python_classes= -o python_functions=; \
done
============================= test session starts ==============================
platform linux -- Python 3.9.1rc1, pytest-4.6.11, py-1.9.0, pluggy-0.13.0
rootdir: /build/mypy-0.790, inifile: pytest.ini, testpaths: mypy/test
plugins: cov-2.8.1, forked-1.3.0, xdist-1.32.0
gw0 I / gw1 I / gw2 I / gw3 I
gw0 [266] / gw1 [266] / gw2 [266] / gw3 [266]
...................................s..................................... [ 27%]
...................................................F.................... [ 54%]
....................................................s....sss............ [ 81%]
...............s...............................s. [100%]
=================================== FAILURES ===================================
__________________________ SamplesSuite.test_samples ___________________________
[gw3] linux -- Python 3.9.1 /usr/bin/python3.9
Sample check failed
----------------------------- Captured stdout call -----------------------------
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" can't be applied to "Condition"
Found 3 errors in 1 file (checked 1 source file)
=============== 1 failed, 258 passed, 7 skipped in 81.97 seconds ===============
Any hint would be welcome
Andreas.
--
http://fam-tille.de
Back to linux.debian.bugs.rc | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread
Bug#976779: mypy FTBFS with only python 3.9 Adrian Bunk <bunk@debian.org> - 2020-12-07 22:30 +0100 Processed: Python3.9 issue: '"yield from" can't be applied to "Condition"' (Was: Bug#976779: mypy FTBFS with only python 3.9) "Debian Bug Tracking System" <owner@bugs.debian.org> - 2020-12-08 13:40 +0100 Bug#976779: Python3.9 issue: '"yield from" can't be applied to "Condition"' (Was: Bug#976779: mypy FTBFS with only python 3.9) Andreas Tille <tille@debian.org> - 2020-12-08 13:40 +0100 Bug#976779: marked as done (mypy FTBFS with only python 3.9) "Debian Bug Tracking System" <owner@bugs.debian.org> - 2020-12-08 22:50 +0100
csiph-web