[med-svn] [Git][python-team/packages/mypy][master] d/rules: use DEB_BUILD_OPTION_PARALLEL instead of "auto" for setting the...
Michael R. Crusoe (@crusoe)
gitlab at salsa.debian.org
Thu Jan 23 08:26:34 GMT 2025
Michael R. Crusoe pushed to branch master at Debian Python Team / packages / mypy
Commits:
bfd1614c by Michael R. Crusoe at 2025-01-23T09:25:32+01:00
d/rules: use DEB_BUILD_OPTION_PARALLEL instead of "auto" for setting the amount of parallel testing. Unbreaks the build on hurd-* where psutil does not work.
- - - - -
2 changed files:
- debian/changelog
- debian/rules
Changes:
=====================================
debian/changelog
=====================================
@@ -1,3 +1,11 @@
+mypy (1.14.1-3) unstable; urgency=medium
+
+ * d/rules: use DEB_BUILD_OPTION_PARALLEL instead of "auto" for setting
+ the amount of parallel testing. Unbreaks the build on hurd-* where
+ psutil does not work.
+
+ -- Michael R. Crusoe <crusoe at debian.org> Thu, 23 Jan 2025 09:24:57 +0100
+
mypy (1.14.1-2) unstable; urgency=medium
* d/rules: Applied patch from Samuel Thibault to fix FTBFS on hurd-i386.
=====================================
debian/rules
=====================================
@@ -4,10 +4,9 @@ export PYBUILD_DESTDIR_python3=debian/python3-mypy
export PYBUILD_NAME=mypy
PY3VERS=$(shell py3versions -vr)
-include /usr/share/dpkg/pkg-info.mk
+include /usr/share/dpkg/default.mk
export DEB_BUILD_MAINT_OPTIONS=hardening=+all
-include /usr/share/dpkg/default.mk
ifneq (,$(filter $(DEB_HOST_ARCH),armel armhf mips64el hppa riscv64 mipsel alpha ia64 m68k powerpc sh4 sparc64 hurd-i386))
export MYPYC_MULTI_FILE=1
@@ -81,7 +80,7 @@ ifeq (,$(filter nocheck,$(DEB_BUILD_PROFILES)))
--config-file {dir}/mypy_self_check.ini -p mypy" dh_auto_test
dh_auto_install
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 \
+ PYTHONPATH=$$(pybuild --print build_dir --pyver $$v | awk '{ print $$3 }') PATH=$$PATH:$(CURDIR)/debian/python3-mypy/usr/bin/ python$$v -m pytest -n $(DEB_BUILD_OPTION_PARALLEL) \
-o testpaths="mypy/test mypyc/test" -o python_files=test*.py -k 'not (testCustomTypeshedDirWithRelativePathDoesNotCrash or testNoPython3StubAvailable or testIgnoreImportIfNoPython3StubAvailable or PEP561Suite or testDaemonStatusKillRestartRecheck)' \
-o python_classes= -o python_functions= ; \
done
View it on GitLab: https://salsa.debian.org/python-team/packages/mypy/-/commit/bfd1614cca83ffc9929afbb1c6852666020746ee
--
View it on GitLab: https://salsa.debian.org/python-team/packages/mypy/-/commit/bfd1614cca83ffc9929afbb1c6852666020746ee
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/20250123/342ebdd1/attachment-0001.htm>
More information about the debian-med-commit
mailing list