Your message dated Wed, 07 Oct 2026 13:50:29 +0000
with message-id <[email protected]>
and subject line Bug#1149384: fixed in pytest-mypy-plugins 4.0.3-6
has caused the Debian Bug report #1149384,
regarding pytest-mypy-plugins: FTBFS against python 3.15rc2 (tests fail but the
error is hidden)
to be marked as done.
This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.
(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact [email protected]
immediately.)
--
1149384: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1149384
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Package: src:pytest-mypy-plugins
Version: 4.0.3-4
User: [email protected]
Usertags: python3.15
Tags: ftbfs, forky, sid
Severity: important
Hi!
While rebuilding the python related packages against the Python 3.15rc2
version we found that pytest-mypy-plugins fails to build from source:
https://debusine.debian.net/debian/r-python-python3.15/artifact/4855925/
In the log, we can see that the calls to subprocess fail, but because
the output of the call is sent to /dev/null, we don't know what caused
the failure. However, given that this seems to be looking at error
messages, it's likely that the new Python 3.15 error messages don't
match the expected ones.
=================================== FAILURES
===================================
______________________ test_no_silence_site_packages_only
______________________
tmp_path =
PosixPath('/tmp/pytest-of-sbuild/pytest-0/test_no_silence_site_packages_0')
def test_no_silence_site_packages_only(tmp_path: Path) -> None:
make_yaml_test_file(
tmp_path,
"""
- case: test_non_test_case_files_cache_files_remain
mypy_config: |
strict=true
main: |
import subpkg
a: str
a / 2
files:
- path: subpkg.py
content: |
a: str
a / 2
out: |
{site_packages_path}/mypy/typeshed/stdlib/types.pyi:722: error:
Class cannot subclass "Any" (has type "Any") [misc]
main:4: error: Unsupported operand types for / ("str" and "int")
[operator]
subpkg:2: error: Unsupported operand types for / ("str" and
"int") [operator]
""",
)
res = subprocess.run(
[
sys.executable,
"-m",
"pytest",
f"--mypy-testing-base={tmp_path}",
"--mypy-no-silence-site-packages",
],
cwd=tmp_path,
stdout=subprocess.DEVNULL,
stderr=subprocess.STDOUT,
)
assert res.returncode == pytest.ExitCode.OK
E AssertionError: assert 1 == <ExitCode.OK: 0>
E + where 1 = CompletedProcess(args=['/usr/bin/python3.15',
'-m', 'pytest',
'--mypy-testing-base=/tmp/pytest-of-sbuild/pytest-0/test_no_silence_site_packages_0',
'--mypy-no-silence-site-packages'], returncode=1).returncode
E + and <ExitCode.OK: 0> = <enum 'ExitCode'>.OK
E + where <enum 'ExitCode'> = pytest.ExitCode
pytest_mypy_plugins/tests/test_site_packages.py:117: AssertionError
_____________ test_no_silence_site_packages_and_modify_pythonpath
______________
tmp_path =
PosixPath('/tmp/pytest-of-sbuild/pytest-0/test_no_silence_site_packages_1')
def test_no_silence_site_packages_and_modify_pythonpath(tmp_path:
Path) -> None:
make_yaml_test_file(
tmp_path,
"""
- case: test_non_test_case_files_cache_files_remain
mypy_config: |
strict=true
main: |
import subpkg
a: str
a / 2
files:
- path: subpkg.py
content: |
a: str
a / 2
out: |
{site_packages_path}/mypy/typeshed/stdlib/types.pyi:722: error:
Class cannot subclass "Any" (has type "Any") [misc]
main:4: error: Unsupported operand types for / ("str" and "int")
[operator]
subpkg:2: error: Unsupported operand types for / ("str" and
"int") [operator]
""",
)
res = subprocess.run(
[
sys.executable,
"-m",
"pytest",
f"--mypy-testing-base={tmp_path}",
"--mypy-no-silence-site-packages",
"--mypy-modify-pythonpath",
],
cwd=tmp_path,
stdout=subprocess.DEVNULL,
stderr=subprocess.STDOUT,
)
assert res.returncode == pytest.ExitCode.OK
E AssertionError: assert 1 == <ExitCode.OK: 0>
E + where 1 = CompletedProcess(args=['/usr/bin/python3.15',
'-m', 'pytest',
'--mypy-testing-base=/tmp/pytest-of-sbuild/pytest-0/test_no_silence_site_packages_1',
'--mypy-no-silence-site-packages', '--mypy-modify-pythonpath'],
returncode=1).returncode
E + and <ExitCode.OK: 0> = <enum 'ExitCode'>.OK
E + where <enum 'ExitCode'> = pytest.ExitCode
pytest_mypy_plugins/tests/test_site_packages.py:156: AssertionError
Setting the severity to important for now. Once Python 3.15 is released
and later added to python3-defaults, this bug will become release
critical.
--
Regards,
Marga
--- End Message ---
--- Begin Message ---
Source: pytest-mypy-plugins
Source-Version: 4.0.3-6
Done: Michael R. Crusoe <[email protected]>
We believe that the bug you reported is fixed in the latest version of
pytest-mypy-plugins, which is due to be installed in the Debian FTP archive.
A summary of the changes between this version and the previous one is
attached.
Thank you for reporting the bug, which will now be closed. If you
have further comments please address them to [email protected],
and the maintainer will reopen the bug report if appropriate.
Debian distribution maintenance software
pp.
Michael R. Crusoe <[email protected]> (supplier of updated pytest-mypy-plugins
package)
(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing [email protected])
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA512
Format: 1.8
Date: Wed, 07 Oct 2026 15:19:21 +0200
Source: pytest-mypy-plugins
Architecture: source
Version: 4.0.3-6
Distribution: unstable
Urgency: medium
Maintainer: Debian Python Team <[email protected]>
Changed-By: Michael R. Crusoe <[email protected]>
Closes: 1149384
Changes:
pytest-mypy-plugins (4.0.3-6) unstable; urgency=medium
.
* Team upload.
* Another new mypy version (2.4.0), another patch to adjust test line
numbers.
Also fixes FTBFS against Python 3.15. Closes: #1149384
* d/watch: upgrade to version 5 syntax
Checksums-Sha1:
41c19e269d7c62a2a35d78014117f3d0bde1045b 2365 pytest-mypy-plugins_4.0.3-6.dsc
89a9f11acb6b8f97e2ea11342d131fca10ebda0c 5284
pytest-mypy-plugins_4.0.3-6.debian.tar.xz
5e8d56fdc087c53c2d077dd921d52c26603f9cc2 10366
pytest-mypy-plugins_4.0.3-6_source.buildinfo
Checksums-Sha256:
2dbc8f506c079569ac22e1e82372a0726233cfa573dd9f110155f31eb2818185 2365
pytest-mypy-plugins_4.0.3-6.dsc
96b622bb178de4d2c0e6fc77f288438e786bff8aa7e92a0879e975f4b3f01271 5284
pytest-mypy-plugins_4.0.3-6.debian.tar.xz
5347ae7cccf7d61ea4418779de3e72ffe54ab1b9572c1c115f6dd44ebb815ce3 10366
pytest-mypy-plugins_4.0.3-6_source.buildinfo
Files:
94597b67eef4beecab031641d80b2c1d 2365 python optional
pytest-mypy-plugins_4.0.3-6.dsc
7a7f7bd788147fae376dfa6b9fc1eefd 5284 python optional
pytest-mypy-plugins_4.0.3-6.debian.tar.xz
fee1b6a3004352752e277f94315b440d 10366 python optional
pytest-mypy-plugins_4.0.3-6_source.buildinfo
-----BEGIN PGP SIGNATURE-----
iQJGBAEBCgAwFiEEck1gkzcRPHEFUNdHPCZ2P2xn5uIFAmrGSaISHGNydXNvZUBk
ZWJpYW4ub3JnAAoJEDwmdj9sZ+biV5wP/A/v2ydd1gaWNryTepOpnVTkdtyZqoZk
5eUYr9hyHrc+apRtbmQLri9tNwhMZ3UCZm5wjYeCrXXlLXplW9P1wrGwKzc5wvkq
ai8dE9Rqa7+Df4uvrBbekAbrTiHtzPFCiyTJkBvEZj0tGLKrtr4OU/fB+ENbh5dz
kTf14PHiGlO20817l5kM2tWUoYqo+dRtR4JFDo4T3TXbNA7fRe0GSPyXZM0L5veo
C2DlTXTLvnyrp2JVqbsy78HQmZEM6dA2GezBGX3gUFwU66VdMMuaTaoF9Ypvq6v5
jqSzuv206KzWreLAiTTFpNLoc9Fj3BvLmLw/y271dxy5RdMbNhNurMKYqFjdNChb
DVXXSinC8CxG20HEW9krNeCUgTH1MkN7MbbxBdhc+DJbLcXIAoiwKTgryJ/oMaX1
jDHbYvRRGss/67loPU2KhwTIsCXzLOR024rlL7HpMnwe/F1/Gaah3r3UFI5MN3zJ
CDo8SZVhg6ZjRu2imf/6CcpRbCPKLTQaC3gD1PHK2GaukBzkGX8pDzO3Bs8xvUGs
ZT/fh+orZ2+fSZLYxxnG4aasjgguGobMrpXsErKFNFUKCGBZCxf3J37zIgymi/6o
H8Hh2NZsOPvR1e3mzG+aKqNcyih8gcsVUHqUb7+1NBr1UNiM/DPFDyNTJ+8Cl/QL
EtjDrsedLChW
=xNKN
-----END PGP SIGNATURE-----
pgp6UJ6tRjp6C.pgp
Description: PGP signature
--- End Message ---