Your message dated Wed, 29 May 2024 12:48:59 +0000
with message-id <e1scijj-00fvot...@fasolo.debian.org>
and subject line Bug#1071794: fixed in dcmstack 0.9-2
has caused the Debian Bug report #1071794,
regarding dcmstack: FTBFS: AttributeError: 'TestDcmstackCli' object has no
attribute 'out_dir'
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 ow...@bugs.debian.org
immediately.)
--
1071794: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1071794
Debian Bug Tracking System
Contact ow...@bugs.debian.org with problems
--- Begin Message ---
Package: src:dcmstack
Version: 0.9-1
Severity: serious
Tags: ftbfs
Dear maintainer:
During a rebuild of all packages in unstable, your package failed to build:
--------------------------------------------------------------------------------
[...]
debian/rules binary
dh binary --with python3,sphinxdoc --buildsystem=pybuild
dh_update_autotools_config -O--buildsystem=pybuild
dh_autoreconf -O--buildsystem=pybuild
dh_auto_configure -O--buildsystem=pybuild
pybuild --configure -i python{version} -p "3.12 3.11"
I: pybuild base:311: python3.12 setup.py config
running config
I: pybuild base:311: python3.11 setup.py config
running config
dh_auto_build -O--buildsystem=pybuild
pybuild --build -i python{version} -p "3.12 3.11"
I: pybuild base:311: /usr/bin/python3.12 setup.py build
running build
running build_py
creating /<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_dcmstack/build/dcmstack
copying src/dcmstack/extract.py ->
/<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_dcmstack/build/dcmstack
copying src/dcmstack/dcmstack.py ->
/<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_dcmstack/build/dcmstack
copying src/dcmstack/utils.py ->
/<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_dcmstack/build/dcmstack
copying src/dcmstack/nitool_cli.py ->
/<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_dcmstack/build/dcmstack
copying src/dcmstack/dcmmeta.py ->
/<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_dcmstack/build/dcmstack
copying src/dcmstack/dcmstack_cli.py ->
/<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_dcmstack/build/dcmstack
copying src/dcmstack/__init__.py ->
/<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_dcmstack/build/dcmstack
copying src/dcmstack/info.py ->
/<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_dcmstack/build/dcmstack
I: pybuild base:311: /usr/bin/python3 setup.py build
running build
running build_py
creating /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_dcmstack/build/dcmstack
copying src/dcmstack/extract.py ->
/<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_dcmstack/build/dcmstack
copying src/dcmstack/dcmstack.py ->
/<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_dcmstack/build/dcmstack
copying src/dcmstack/utils.py ->
/<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_dcmstack/build/dcmstack
copying src/dcmstack/nitool_cli.py ->
/<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_dcmstack/build/dcmstack
copying src/dcmstack/dcmmeta.py ->
/<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_dcmstack/build/dcmstack
copying src/dcmstack/dcmstack_cli.py ->
/<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_dcmstack/build/dcmstack
copying src/dcmstack/__init__.py ->
/<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_dcmstack/build/dcmstack
copying src/dcmstack/info.py ->
/<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_dcmstack/build/dcmstack
dh_auto_test -O--buildsystem=pybuild
pybuild --test --test-pytest -i python{version} -p "3.12 3.11"
I: pybuild base:311: cd /<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_dcmstack/build;
python3.12 -m pytest test
============================= test session starts ==============================
platform linux -- Python 3.12.3, pytest-8.1.2, pluggy-1.5.0
rootdir: /<<PKGBUILDDIR>>
collected 131 items
test/test_cli.py FFF [ 2%]
test/test_dcmmeta.py ................................................... [ 41%]
....................... [ 58%]
test/test_dcmstack.py ............................................. [ 93%]
test/test_extract.py ......... [100%]
=================================== FAILURES ===================================
__________________________ TestDcmstackCli.test_basic __________________________
self = <test.test_cli.TestDcmstackCli object at 0x7f2d3a00eb40>
def test_basic(self):
nii_paths = make_niftis(self.out_dir)
E AttributeError: 'TestDcmstackCli' object has no attribute 'out_dir'
test/test_cli.py:55: AttributeError
__________________________ TestDcmstackCli.test_embed __________________________
self = <test.test_cli.TestDcmstackCli object at 0x7f2d3c976180>
def test_embed(self):
nii_paths = make_niftis(self.out_dir, ['--embed'])
E AttributeError: 'TestDcmstackCli' object has no attribute 'out_dir'
test/test_cli.py:59: AttributeError
___________________________ TestNitoolCli.test_basic ___________________________
self = <test.test_cli.TestNitoolCli object at 0x7f2d39f5b1d0>
def test_basic(self):
nii_path = make_niftis(self.out_dir, ['--embed'])[0]
E AttributeError: 'TestNitoolCli' object has no attribute 'out_dir'
test/test_cli.py:65: AttributeError
=============================== warnings summary ===============================
.pybuild/cpython3_3.12_dcmstack/build/test/test_dcmstack.py::TestToNifti::test_single_vol
.pybuild/cpython3_3.12_dcmstack/build/test/test_dcmstack.py::TestToNifti::test_slice_dim_reorient
.pybuild/cpython3_3.12_dcmstack/build/test/test_dcmstack.py::TestToNifti::test_two_time_vol
.pybuild/cpython3_3.12_dcmstack/build/test/test_dcmstack.py::TestToNifti::test_two_vector_vol
/usr/lib/python3/dist-packages/nibabel/nifti1.py:1646: UserWarning: Multiple
slice orders satisfy: sequential decreasing, alternating decreasing,
alternating increasing 2. Choosing the first one
warnings.warn(
.pybuild/cpython3_3.12_dcmstack/build/test/test_dcmstack.py::test_fsl_hack
.pybuild/cpython3_3.12_dcmstack/build/test/test_dcmstack.py::test_pix_overflow
/usr/lib/python3/dist-packages/pydicom/dataset.py:2249: DeprecationWarning:
Starting in pydicom 3.0, Dataset.file_meta must be a FileMetaDataset class
instance
warnings.warn(
-- Docs: https://docs.pytest.org/en/stable/how-to/capture-warnings.html
=========================== short test summary info ============================
FAILED test/test_cli.py::TestDcmstackCli::test_basic - AttributeError: 'TestD...
FAILED test/test_cli.py::TestDcmstackCli::test_embed - AttributeError: 'TestD...
FAILED test/test_cli.py::TestNitoolCli::test_basic - AttributeError: 'TestNit...
================== 3 failed, 128 passed, 6 warnings in 1.57s ===================
E: pybuild pybuild:389: test: plugin distutils failed with: exit code=1: cd
/<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_dcmstack/build; python3.12 -m pytest
test
I: pybuild base:311: cd /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_dcmstack/build;
python3.11 -m pytest test
============================= test session starts ==============================
platform linux -- Python 3.11.9, pytest-8.1.2, pluggy-1.5.0
rootdir: /<<PKGBUILDDIR>>
collected 131 items
test/test_cli.py FFF [ 2%]
test/test_dcmmeta.py ................................................... [ 41%]
....................... [ 58%]
test/test_dcmstack.py ............................................. [ 93%]
test/test_extract.py ......... [100%]
=================================== FAILURES ===================================
__________________________ TestDcmstackCli.test_basic __________________________
self = <test.test_cli.TestDcmstackCli object at 0x7f4dc827e8d0>
def test_basic(self):
nii_paths = make_niftis(self.out_dir)
E AttributeError: 'TestDcmstackCli' object has no attribute 'out_dir'
test/test_cli.py:55: AttributeError
__________________________ TestDcmstackCli.test_embed __________________________
self = <test.test_cli.TestDcmstackCli object at 0x7f4dc82c9110>
def test_embed(self):
nii_paths = make_niftis(self.out_dir, ['--embed'])
E AttributeError: 'TestDcmstackCli' object has no attribute 'out_dir'
test/test_cli.py:59: AttributeError
___________________________ TestNitoolCli.test_basic ___________________________
self = <test.test_cli.TestNitoolCli object at 0x7f4dc82c9f50>
def test_basic(self):
nii_path = make_niftis(self.out_dir, ['--embed'])[0]
E AttributeError: 'TestNitoolCli' object has no attribute 'out_dir'
test/test_cli.py:65: AttributeError
=============================== warnings summary ===============================
.pybuild/cpython3_3.11_dcmstack/build/test/test_dcmstack.py::TestToNifti::test_single_vol
.pybuild/cpython3_3.11_dcmstack/build/test/test_dcmstack.py::TestToNifti::test_slice_dim_reorient
.pybuild/cpython3_3.11_dcmstack/build/test/test_dcmstack.py::TestToNifti::test_two_time_vol
.pybuild/cpython3_3.11_dcmstack/build/test/test_dcmstack.py::TestToNifti::test_two_vector_vol
/usr/lib/python3/dist-packages/nibabel/nifti1.py:1646: UserWarning: Multiple
slice orders satisfy: sequential decreasing, alternating decreasing,
alternating increasing 2. Choosing the first one
warnings.warn(
.pybuild/cpython3_3.11_dcmstack/build/test/test_dcmstack.py::test_fsl_hack
.pybuild/cpython3_3.11_dcmstack/build/test/test_dcmstack.py::test_pix_overflow
/usr/lib/python3/dist-packages/pydicom/dataset.py:2249: DeprecationWarning:
Starting in pydicom 3.0, Dataset.file_meta must be a FileMetaDataset class
instance
warnings.warn(
-- Docs: https://docs.pytest.org/en/stable/how-to/capture-warnings.html
=========================== short test summary info ============================
FAILED test/test_cli.py::TestDcmstackCli::test_basic - AttributeError: 'TestD...
FAILED test/test_cli.py::TestDcmstackCli::test_embed - AttributeError: 'TestD...
FAILED test/test_cli.py::TestNitoolCli::test_basic - AttributeError: 'TestNit...
================== 3 failed, 128 passed, 6 warnings in 1.75s ===================
E: pybuild pybuild:389: test: plugin distutils failed with: exit code=1: cd
/<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_dcmstack/build; python3.11 -m pytest
test
rm -fr -- /tmp/dh-xdg-rundir-QH2Nlt8D
dh_auto_test: error: pybuild --test --test-pytest -i python{version} -p "3.12
3.11" returned exit code 13
make: *** [debian/rules:8: binary] Error 25
dpkg-buildpackage: error: debian/rules binary subprocess returned exit status 2
--------------------------------------------------------------------------------
The above is just how the build ends and not necessarily the most relevant part.
If required, the full build log is available here:
https://people.debian.org/~sanvila/build-logs/202405/
About the archive rebuild: The build was made on virtual machines
of type m6a.large and r6a.large from AWS, using sbuild and a
reduced chroot with only build-essential packages.
If you could not reproduce the bug please contact me privately, as I
am willing to provide ssh access to a virtual machine where the bug is
fully reproducible.
If this is really a bug in one of the build-depends, please use
reassign and affects, so that this is still visible in the BTS web
page for this package.
Thanks.
--- End Message ---
--- Begin Message ---
Source: dcmstack
Source-Version: 0.9-2
Done: Étienne Mollier <emoll...@debian.org>
We believe that the bug you reported is fixed in the latest version of
dcmstack, 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 1071...@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.
Debian distribution maintenance software
pp.
Étienne Mollier <emoll...@debian.org> (supplier of updated dcmstack 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 ftpmas...@ftp-master.debian.org)
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA512
Format: 1.8
Date: Wed, 29 May 2024 14:27:30 +0200
Source: dcmstack
Architecture: source
Version: 0.9-2
Distribution: unstable
Urgency: medium
Maintainer: Debian Med Packaging Team
<debian-med-packag...@lists.alioth.debian.org>
Changed-By: Étienne Mollier <emoll...@debian.org>
Closes: 1063943 1071794
Changes:
dcmstack (0.9-2) unstable; urgency=medium
.
[ Alexandre Detiste ]
* patch-out usage of legacy python3-mock
.
[ Étienne Mollier ]
* pytest-8.patch: new: fix test failures with pytest 8.
(Closes: #1063943, #1071794)
* d/control: add myself to uploaders.
* d/control: declare compliance to standards version 4.7.0.
* d/man/*.1: fix slight issue in scripted manuals.
Checksums-Sha1:
340a30e1d0b2532f75ec23e77fa09cac0cd7048c 2370 dcmstack_0.9-2.dsc
95b3f8477b06bbe2affe6cbef6babd66953a525c 6896 dcmstack_0.9-2.debian.tar.xz
Checksums-Sha256:
4c91ceafc78b04abb442b58e21bc90534c570e088b178cedf247f1a203fb467e 2370
dcmstack_0.9-2.dsc
8fc446371409d372aa19aece4610e6f9181f1e66d99a396b80281b5cc0aad5de 6896
dcmstack_0.9-2.debian.tar.xz
Files:
85a96286cae93513c086eda2daa894e5 2370 science optional dcmstack_0.9-2.dsc
113e5973cbd5865f9ba4c0e8dc34d087 6896 science optional
dcmstack_0.9-2.debian.tar.xz
-----BEGIN PGP SIGNATURE-----
iQJIBAEBCgAyFiEEj5GyJ8fW8rGUjII2eTz2fo8NEdoFAmZXIA4UHGVtb2xsaWVy
QGRlYmlhbi5vcmcACgkQeTz2fo8NEdqUiw/6AwFUA6b2DOt9CdQJ1sWqoSysGalo
Kx8iWv/t+UW1+72mSIVd/KiDaAcik57LN+JpyXNwzj7nKdTf59IkKJWc4CX+3ns7
OaY7Tm6xffJPqJSmIAV7AQFCqbPm17Nq/FJCJHdOECaZAiRBvH1nURys5aoTrf2C
0X8PvuBgOHvvq8ycjPjP6eTDXREHwXoZyaOpNsH9Kmxr97QT6jyzytKwsXHoClNx
qpQ3eHAS8w6g1ZgoQlvflsyHKmks9zPYUdFYyE9QlLcHVGPw+kkx7X0roTTRQotx
xRjT2iM8EvhPUBAU62GmWWB6fZnaUWOZtTPcGiBDJSkf2pWZqcoNgaoIm8z5zyGF
fJGR/4jali85N2UsOKI0orKkjeKIN0UfMwh30iPLOUtCapoCrY5Y7T+BedM1UXfP
q66X8qj+sXvXJnQu0bRK396Bg2GPlWy8z6RGoMRQbzZIj6F1+bnyHvJRdB/PTq6m
IwDc/PF14C65t/QJb3vBSH18td+mR0BrW68mBaW9WA3yxGP/dviuiaoCvDnL6X6E
sj77p/ra8i0zeiPGGp8yqzHxyydT5TrFr+bUwalNx9dXotVPCTBCXPITjHurQV+t
bfJa4fhRVPQsNnOZiHdKgXukhXTPR1TrHYpRNTKkuMuKexxgNJK/oJPkpUpsoFwQ
6kkmq/9penEDLB8=
=AWiK
-----END PGP SIGNATURE-----
pgpzGKNpDx5QI.pgp
Description: PGP signature
--- End Message ---