[med-svn] [Git][python-team/packages/mypy][master] 3 commits: Unset CFLAGS when running tests

Colin Watson (@cjwatson) gitlab at salsa.debian.org
Mon Feb 24 16:42:07 GMT 2025



Colin Watson pushed to branch master at Debian Python Team / packages / mypy


Commits:
43e5553c by Colin Watson at 2025-02-24T16:40:11+00:00
Unset CFLAGS when running tests

Closes: #1098578

- - - - -
ab3371fa by Colin Watson at 2025-02-24T16:40:25+00:00
Ignore debian/files

- - - - -
d87885ec by Colin Watson at 2025-02-24T16:40:51+00:00
releasing package mypy version 1.15.0-4

- - - - -


3 changed files:

- + debian/.gitignore
- debian/changelog
- debian/rules


Changes:

=====================================
debian/.gitignore
=====================================
@@ -0,0 +1 @@
+/files


=====================================
debian/changelog
=====================================
@@ -1,3 +1,10 @@
+mypy (1.15.0-4) unstable; urgency=medium
+
+  * Team upload.
+  * Unset CFLAGS when running tests (closes: #1098578).
+
+ -- Colin Watson <cjwatson at debian.org>  Mon, 24 Feb 2025 16:40:29 +0000
+
 mypy (1.15.0-3) unstable; urgency=medium
 
   * Added patch to fix the Python3.12 build with gcc-15. Closes:


=====================================
debian/rules
=====================================
@@ -86,7 +86,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 $(DEB_BUILD_OPTION_PARALLEL) \
+		env -u CFLAGS 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/-/compare/3af1d16904d8d3eabc6f905ae6248966bff14b76...d87885ecf2f8c6ec037d81f2c50874c80912996d

-- 
View it on GitLab: https://salsa.debian.org/python-team/packages/mypy/-/compare/3af1d16904d8d3eabc6f905ae6248966bff14b76...d87885ecf2f8c6ec037d81f2c50874c80912996d
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/20250224/894ad18e/attachment-0001.htm>


More information about the debian-med-commit mailing list