#1140887 traitlets: autopkgtest regression with pytest 9.1

#1140887#5
Date:
2026-06-27 21:23:38 UTC
From:
To:
Dear maintainer,

According to https://ci.debian.net data, your package traitlets has an
autopkgtest regression with pytest.

The following architectures failed: amd64, arm64, i386, loong64,
ppc64el, riscv64, s390x.

Hopefully relevant excerpt from
https://ci.debian.net/packages/t/traitlets/testing/amd64/72572315/
follows:

 65s ==================================== ERRORS ====================================
 65s ____________________ ERROR collecting tests/test_typing.py _____________________
 65s ____________________ ERROR collecting tests/test_typing.py _____________________
 65s ERROR tests/test_typing.py - Failed: 'mypy_testing' not found in `markers` configuration option
 65s ERROR tests/test_typing.py - Failed: 'mypy_testing' not found in `markers` configuration option
 65s E: pybuild pybuild:485: test: plugin pyproject failed with: exit code=2: cd /tmp/autopkgtest-lxc.1s3kq9cu/downtmp/autopkgtest_tmp/build; python3.14 -m pytest tests
 66s ==================================== ERRORS ====================================
 66s ____________________ ERROR collecting tests/test_typing.py _____________________
 66s ____________________ ERROR collecting tests/test_typing.py _____________________
 66s ERROR tests/test_typing.py - Failed: 'mypy_testing' not found in `markers` configuration option
 66s ERROR tests/test_typing.py - Failed: 'mypy_testing' not found in `markers` configuration option
 66s E: pybuild pybuild:485: test: plugin pyproject failed with: exit code=2: cd /tmp/autopkgtest-lxc.1s3kq9cu/downtmp/autopkgtest_tmp/build; python3.13 -m pytest tests
 66s pybuild-autopkgtest: error: pybuild --autopkgtest --test-pytest -i python{version} -p "3.14 3.13" --parallel= returned exit code 13
 66s pybuild-autopkgtest: error: /tmp/DMbbBLXtZO/run pybuild-autopkgtest returned exit code 2
 66s pybuild-autopkgtest  FAIL non-zero exit status 25
 67s pybuild-autopkgtest  FAIL non-zero exit status 25