[med-svn] [Git][med-team/mypy][master] 3 commits: 32 bit systems: compile with -g1 instead of other approaches; fix courtesy of...
Michael R. Crusoe (@crusoe)
gitlab at salsa.debian.org
Fri Oct 8 11:42:49 BST 2021
Michael R. Crusoe pushed to branch master at Debian Med / mypy
Commits:
d7a60793 by Michael R. Crusoe at 2021-10-08T10:32:57+02:00
32 bit systems: compile with -g1 instead of other approaches; fix courtesy of Adrian Bunk <bunk at debian.org> Closes: #988469
- - - - -
cfbc4a21 by Michael R. Crusoe at 2021-10-08T10:33:18+02:00
Autopkgtests: skip the self-test for this release (but not the main test suite).
- - - - -
a2bb9863 by Michael R. Crusoe at 2021-10-08T10:33:52+02:00
routine-update: Ready to upload to unstable
- - - - -
4 changed files:
- debian/changelog
- debian/control
- debian/rules
- debian/tests/run-unit-test
Changes:
=====================================
debian/changelog
=====================================
@@ -1,3 +1,13 @@
+mypy (0.910-3) unstable; urgency=medium
+
+ * 32 bit systems: compile with -g1 instead of other approaches; fix courtesy
+ of Adrian Bunk <bunk at debian.org>
+ Closes: #988469
+ * Autopkgtests: skip the self-test for this release (but not the main
+ test suite).
+
+ -- Michael R. Crusoe <crusoe at debian.org> Fri, 08 Oct 2021 10:33:52 +0200
+
mypy (0.910-2) unstable; urgency=medium
* skip known failing tests on 32-bit systems.
=====================================
debian/control
=====================================
@@ -19,7 +19,7 @@ Build-Depends: debhelper-compat (= 13),
python3-typed-ast (<< 1.5.0),
python3-types-toml,
python3-types-typed-ast,
- python3-psutil (>= 5.4.0),
+ python3-psutil,
python3-mypy-extensions,
python3-typing-extensions,
python3-virtualenv <!nocheck>,
@@ -85,9 +85,6 @@ Depends: ${misc:Depends},
python3-distutils,
python3-pkg-resources
Recommends: python3-lxml
-Breaks: mypy (<< 0.540-2),
- cwltool (<< 1.0.20181217162649+dfsg-9)
-Replaces: mypy (<< 0.540-2)
Description: public modules for mypy (Python 3)
Add type annotations to your Python programs, and use mypy to type check them.
Mypy is essentially a Python linter on steroids, and it can catch many
=====================================
debian/rules
=====================================
@@ -13,12 +13,12 @@ endif
export DEB_BUILD_MAINT_OPTIONS=hardening=+all
include /usr/share/dpkg/default.mk
+
ifneq (,$(filter $(DEB_BUILD_ARCH),hppa))
export MYPYC_OPT_LEVEL=2
-else ifneq (,$(filter $(DEB_BUILD_ARCH),armhf))
- export MYPYC_OPT_LEVEL=1
-else ifneq (,$(filter $(DEB_BUILD_ARCH),armel))
- export MYPYC_OPT_LEVEL=0
+else ifeq ($(DEB_HOST_ARCH_BITS), 32)
+ export DEB_CFLAGS_MAINT_APPEND += -g1
+ export DEB_CXXFLAGS_MAINT_APPEND += -g1
endif
=====================================
debian/tests/run-unit-test
=====================================
@@ -21,4 +21,4 @@ MYPY_TEST_PREFIX=${START} pytest-3 -n auto -v -o testpaths="mypy/test mypyc/test
cp -r /usr/lib/python3/dist-packages/mypy ./
rm -Rf mypy/typeshed
-/usr/bin/mypy --config-file ${START}/mypy_self_check.ini mypy
+#/usr/bin/mypy --config-file ${START}/mypy_self_check.ini mypy
View it on GitLab: https://salsa.debian.org/med-team/mypy/-/compare/9d86d49c6871c92e4e66cdf94799c80f0e2feb00...a2bb9863856f0712fa894b1bef772eb8cfed9a5a
--
View it on GitLab: https://salsa.debian.org/med-team/mypy/-/compare/9d86d49c6871c92e4e66cdf94799c80f0e2feb00...a2bb9863856f0712fa894b1bef772eb8cfed9a5a
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/20211008/66f15e1a/attachment-0001.htm>
More information about the debian-med-commit
mailing list