[med-svn] [Git][python-team/packages/mypy][master] don't skip any tests
Michael R. Crusoe (@crusoe)
gitlab at salsa.debian.org
Wed Aug 17 18:52:24 BST 2022
Michael R. Crusoe pushed to branch master at Debian Python Team / packages / mypy
Commits:
4467e0fc by Michael R. Crusoe at 2022-08-17T19:51:23+02:00
don't skip any tests
- - - - -
4 changed files:
- debian/changelog
- debian/rules
- debian/tests/control
- debian/tests/run-unit-test
Changes:
=====================================
debian/changelog
=====================================
@@ -1,3 +1,9 @@
+mypy (0.971-3) UNRELEASED; urgency=medium
+
+ * Stop skipping tests.
+
+ -- Michael R. Crusoe <crusoe at debian.org> Wed, 17 Aug 2022 19:51:00 +0200
+
mypy (0.971-2) unstable; urgency=medium
* debian/rules: Only run the tests for arch-dependent builds
=====================================
debian/rules
=====================================
@@ -81,7 +81,6 @@ ifeq (,$(filter nocheck,$(DEB_BUILD_PROFILES)))
set -e; for v in $(PY3VERS); do \
PYTHONPATH=$$(pybuild --print build_dir --pyver $$v | awk '{ print $$3 }') PATH=$$PATH:$(CURDIR)/debian/python3-mypy/usr/bin/ python$$v -m pytest -n auto \
-o testpaths="mypy/test mypyc/test" -o python_files=test*.py \
- -k "not (StubtestMiscUnit or StubtestUnit or testSubclassSpecialize1 or testSubclassSpecialize2 or testMultiModuleSpecialize or testMultiModuleSpecialize_multi or testMultiModuleSpecialize_separate)" \
-o python_classes= -o python_functions= ; \
done
endif
=====================================
debian/tests/control
=====================================
@@ -1,3 +1,3 @@
Tests: run-unit-test
-Depends: mypy, python3-typeshed, python3-pytest-xdist, python3-virtualenv, python3-lxml
+Depends: mypy, python3-typeshed, python3-pytest-xdist, python3-virtualenv, python3-lxml, python3-dev, gcc
Restrictions: allow-stderr
=====================================
debian/tests/run-unit-test
=====================================
@@ -19,11 +19,12 @@ stubtest --help
export TEST_MYPYC=1
-MYPY_TEST_PREFIX=${START} pytest-3 -n auto -v -o testpaths="mypy/test mypyc/test" \
- -o python_files=test*.py -o python_classes= \
- -o python_functions= -k "not (StubtestMiscUnit or StubtestUnit)" \
- --pyargs mypy
+rm -Rf mypy mypyc
cp -r /usr/lib/python3/dist-packages/mypy ./
+cp -r /usr/lib/python3/dist-packages/mypyc ./
+
+MYPY_TEST_PREFIX=${START} pytest-3 -v --pyargs mypy
+
rm -Rf mypy/typeshed
/usr/bin/mypy --config-file ${START}/mypy_self_check.ini mypy
View it on GitLab: https://salsa.debian.org/python-team/packages/mypy/-/commit/4467e0fccb1b889977b3aad6b3b9e23f7fb3a308
--
View it on GitLab: https://salsa.debian.org/python-team/packages/mypy/-/commit/4467e0fccb1b889977b3aad6b3b9e23f7fb3a308
You're receiving this email because of your account on salsa.debian.org.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://alioth-lists.debian.net/pipermail/debian-med-commit/attachments/20220817/9bf911a0/attachment-0001.htm>
More information about the debian-med-commit
mailing list