[med-svn] [Git][python-team/packages/mypy][master] 3 commits: d/{tests/, }control: Pin the minimum version of pytest
Michael R. Crusoe (@crusoe)
gitlab at salsa.debian.org
Wed Mar 27 06:48:26 GMT 2024
Michael R. Crusoe pushed to branch master at Debian Python Team / packages / mypy
Commits:
300cddd1 by Michael R. Crusoe at 2024-03-27T07:42:01+01:00
d/{tests/,}control: Pin the minimum version of pytest
- - - - -
e013fb50 by Michael R. Crusoe at 2024-03-27T07:43:59+01:00
d/rules: try MYPYC_MULTI_FILE=1 on weaker archs instead of other build tricks.
- - - - -
3045c05f by Michael R. Crusoe at 2024-03-27T07:45:34+01:00
routine-update: Ready to upload to unstable
- - - - -
4 changed files:
- debian/changelog
- debian/control
- debian/rules
- debian/tests/control
Changes:
=====================================
debian/changelog
=====================================
@@ -1,3 +1,11 @@
+mypy (1.9.0-4) unstable; urgency=medium
+
+ * d/{tests/,}control: Pin the minimum version of pytest
+ * d/rules: try MYPYC_MULTI_FILE=1 on weaker archs instead of other
+ build tricks.
+
+ -- Michael R. Crusoe <crusoe at debian.org> Wed, 27 Mar 2024 07:45:33 +0100
+
mypy (1.9.0-3) unstable; urgency=medium
* Added patch to fix FTBFS with Pytest 8.1+
=====================================
debian/control
=====================================
@@ -14,6 +14,7 @@ Build-Depends: debhelper-compat (= 13),
python3-all,
python3-lxml,
python3-attr <!nocheck>,
+ python3-pytest (>= 8.1.0) <!nocheck>,
python3-pytest-xdist <!nocheck>,
python3-pytest-cov <!nocheck>,
python3-sphinx <!nodoc>,
=====================================
debian/rules
=====================================
@@ -12,14 +12,8 @@ endif
export DEB_BUILD_MAINT_OPTIONS=hardening=+all
include /usr/share/dpkg/default.mk
-ifneq (,$(filter $(DEB_BUILD_ARCH),armel))
- export MYPYC_OPT_LEVEL=2
-else ifneq (,$(filter $(DEB_BUILD_ARCH),armhf hppa))
- export MYPYC_OPT_LEVEL=1
-endif
-ifeq ($(DEB_HOST_ARCH_BITS), 32)
- export DEB_CFLAGS_MAINT_APPEND += -g1
- export DEB_CXXFLAGS_MAINT_APPEND += -g1
+ifneq (,$(filter $(DEB_BUILD_ARCH),armel armhf hppa riscv64 mipsel alpha ia64 m68k powerpc sh4 sparc64))
+ export MYPYC_MULTI_FILE=1
endif
ifneq (,$(filter $(DEB_HOST_ARCH),mips64el))
export DEB_CFLAGS_MAINT_APPEND += -mxgot
@@ -48,11 +42,7 @@ debian/sphinx/stubgen_options.rst: docs/source/stubgen.rst
sed -n -e '/stubgen --help/,$$ {/stubgen --help/d; p}' $< > $@
override_dh_auto_build-arch:
-ifneq (,$(filter $(DEB_BUILD_ARCH), riscv64 mipsel alpha ia64 m68k powerpc sh4 sparc64))
- MYPY_USE_MYPYC=0 dh_auto_build
-else
MYPY_USE_MYPYC=1 dh_auto_build
-endif
override_dh_auto_build-indep: manpages
MYPY_USE_MYPYC=0 dh_auto_build
=====================================
debian/tests/control
=====================================
@@ -3,6 +3,7 @@ Depends: gcc,
@,
python3-dev,
python3-lxml,
+ python3-pytest (>= 8.1.0),
python3-pytest-xdist,
python3-setuptools,
python3-tomli,
View it on GitLab: https://salsa.debian.org/python-team/packages/mypy/-/compare/ffc073eb23c19d5bc1880afaef720e1cf1582644...3045c05f45a3072cf475ec72640641a1e0b2a9fa
--
View it on GitLab: https://salsa.debian.org/python-team/packages/mypy/-/compare/ffc073eb23c19d5bc1880afaef720e1cf1582644...3045c05f45a3072cf475ec72640641a1e0b2a9fa
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/20240327/2f940270/attachment-0001.htm>
More information about the debian-med-commit
mailing list