[Debian-med-packaging] Bug#1071461: nibabel: nose-style setup/teardown is no longer supported in pytest 8
Timo Röhling
roehling at debian.org
Sun May 19 17:39:42 BST 2024
Source: nibabel
Version: 5.2.1-1
Severity: serious
User: debian-release at lists.debian.org
Usertags: bsp-2024-05-mdc-ber
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA512
Dear maintainer,
your package uses setup() and teardown() functions which used to be part of the nose compatibility layer in pytest. However, these functions have been deprecated since pytest 7.2 and support for nose has been permanently removed as of pytest 8:
https://docs.pytest.org/en/8.1.x/deprecations.html#setup-teardown
You can probably just replace setup() and teardown() by setup_method() and teardown_method(), respectively.
Cheers
Timo
-----BEGIN PGP SIGNATURE-----
iQIzBAEBCgAdFiEEmwPruYMA35fCsSO/zIxr3RQD9MoFAmZKK00ACgkQzIxr3RQD
9MoL0Q//SQhorKZGmcLjv2ObqEbVIrD2OFMzfTtaE0XoarNIhSlr17e/odtfv3Ua
rtzqkVyF3TruaD2rjMnwGsK6fAGG+La8xVDDmSe2vAIqhZespaxSoatVqtdH9gMN
dxexaq944j+mvOP0kkSsmf1K1xmEr2TlmdkVJ5zGYFrkTVvdIzuqxODhu7eb5qah
eZINi2Ht+MNM/mW851XZWMuDCLJsw14JmzFl3S0CRMABJYudS+9cNJYsrACOa7Sl
sPdUbsA6d+SQVOCVgLD1qfMcOuKhRLTqIi1K09YEGaFc5QmDX/sd0pVHeCZ6+o/K
fSwc0Q+dFqmPzo2m4eBuxjCjjHUQKtpbIXI7fwD1oyLbI80OVE9GWS0Ll45K2xzw
kWmxBIARpXrhvbzEBOcntR5pyh9MsDRJQzNnPe/c5d80YDUfORPwi0fuRpC1rxbr
ktBVuI8wo55J2Vt3cN47v6NLlRPKaVU9UX3ePoRdNDk/HkvBa5J8iSNpaUqHu4an
66HyGf1LaLOWF+CYD78JMvu1rYiihD/CY9h6KuKF2gFjPhSaqoS4UopmZRPQV+4E
MlFLjmJli5GpvHTHjPRQULjvN8EgX1Xrha7UAxt/Ffe0PWcMBokvH8lqIFyzZ2oO
ThInCbz+XBOkpYtGgjLYuAZNfzg8JOpcqgzvCJuW9EiihHzW2QU=
=VeVj
-----END PGP SIGNATURE-----
More information about the Debian-med-packaging
mailing list