[med-svn] [Git][python-team/packages/mypy][master] 2 commits: fix for tests
Michael R. Crusoe (@crusoe)
gitlab at salsa.debian.org
Mon Nov 13 10:28:26 GMT 2023
Michael R. Crusoe pushed to branch master at Debian Python Team / packages / mypy
Commits:
d4379417 by Michael R. Crusoe at 2023-11-13T10:20:31+01:00
fix for tests
- - - - -
bc1cca9e by Michael R. Crusoe at 2023-11-13T11:26:34+01:00
routine-update: Ready to upload to unstable
- - - - -
2 changed files:
- debian/changelog
- debian/rules
Changes:
=====================================
debian/changelog
=====================================
@@ -1,10 +1,12 @@
-mypy (1.7.0-1) UNRELEASED; urgency=medium
+mypy (1.7.0-1) unstable; urgency=medium
* New upstream version
* d/patches/sphinx_7: fix for newer Sphinx.
- TODO: needs newer typeshed for docutils & scribe
+ * d/rules: skip two tests that don't expect the docutils types we pull in
+ as part of python3-typeshed, and the PEP561Suite due to needing
+ internet access to PyPI
- -- Michael R. Crusoe <crusoe at debian.org> Sat, 11 Nov 2023 11:08:53 +0100
+ -- Michael R. Crusoe <crusoe at debian.org> Mon, 13 Nov 2023 11:26:34 +0100
mypy (1.6.1-1) unstable; urgency=medium
=====================================
debian/rules
=====================================
@@ -80,9 +80,12 @@ ifeq (,$(filter nocheck,$(DEB_BUILD_PROFILES)))
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 \
- -o testpaths="mypy/test mypyc/test" -o python_files=test*.py -k 'not (testCustomTypeshedDirWithRelativePathDoesNotCrash)' \
+ -o testpaths="mypy/test mypyc/test" -o python_files=test*.py -k 'not (testCustomTypeshedDirWithRelativePathDoesNotCrash or testNoPython3StubAvailable or testIgnoreImportIfNoPython3StubAvailable or PEP561Suite)' \
-o python_classes= -o python_functions= ; \
done
+ # testIgnoreImportIfNoPython3StubAvailable fails due to scribe not being installed (it isn't packaged for Debian)
+ # testNoPython3StubAvailable no longer work because python3-typeshed includes docutils types, which it isn't expecting
+ # PEP561Suite due to needing internet access to pypi.org
endif
override_dh_auto_test-indep:
View it on GitLab: https://salsa.debian.org/python-team/packages/mypy/-/compare/16b8a3cf0b9ee18f53fe95e134fbf4b516e253bb...bc1cca9ea7c8b8a7f0f2689a8438ecf661850790
--
View it on GitLab: https://salsa.debian.org/python-team/packages/mypy/-/compare/16b8a3cf0b9ee18f53fe95e134fbf4b516e253bb...bc1cca9ea7c8b8a7f0f2689a8438ecf661850790
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/20231113/d6b768b0/attachment-0001.htm>
More information about the debian-med-commit
mailing list