[Debian-med-packaging] Bug#999479: mypy: please build-depend in python3-typeshed instead of individual python3-types-* packages
Andreas Tille
tille at debian.org
Fri Nov 12 08:25:57 GMT 2021
Hi Antonio,
Am Thu, Nov 11, 2021 at 02:14:21PM -0300 schrieb Antonio Terceiro:
> typeshed is now in unstable. Please use python3-typeshed as build
> dependency so we can remove the individual python3-types-* packages in
> favor of typeshed.
I tried to do so ...
diff --git a/debian/control b/debian/control
index e53840d0..10d17679 100644
--- a/debian/control
+++ b/debian/control
@@ -15,10 +15,7 @@ Build-Depends: debhelper-compat (= 13),
python3-setuptools,
python3-sphinx <!nodoc>,
python3-sphinx-rtd-theme <!nodoc>,
- python3-typed-ast (>= 1.4.0),
- python3-typed-ast (<< 1.5.0),
- python3-types-toml,
- python3-types-typed-ast,
+ python3-typeshed,
python3-psutil,
python3-mypy-extensions,
python3-typing-extensions,
... but I get:
export TEST_MYPYC=1
PYBUILD_SYSTEM=custom \
PYBUILD_TEST_ARGS="{interpreter} -m mypy \
--config-file {dir}/mypy_self_check.ini -p mypy" dh_auto_test
pybuild --test -i python{version} -p 3.9
I: pybuild base:237: python3.9 -m mypy --config-file /build/mypy-0.910/mypy_self_check.ini -p mypy
mypy/dmypy_server.py:877: error: unused "type: ignore" comment
import psutil # type: ignore # It's not in typeshed yet
^
Found 1 error in 1 file (checked 162 source files)
E: pybuild pybuild:354: test: plugin custom failed with: exit code=1: python3.9 -m mypy --config-file /build/mypy-0.910/mypy_self_check.ini -p mypy
rm -fr -- /tmp/dh-xdg-rundir-ZEmBmRmU
dh_auto_test: error: pybuild --test -i python{version} -p 3.9 returned exit code 13
Am I missing something?
Kind regards
Andreas.
--
http://fam-tille.de
More information about the Debian-med-packaging
mailing list