[Debian-pan-maintainers] Bug#1090107: nabu: FTBFS: E ModuleNotFoundError: No module named 'tomoscan.series'
Santiago Vila
sanvila at debian.org
Mon Dec 16 13:46:26 GMT 2024
Package: src:nabu
Version: 2024.2.0~rc4-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 --buildsystem=pybuild
dh_update_autotools_config -O--buildsystem=pybuild
dh_autoreconf -O--buildsystem=pybuild
dh_auto_configure -O--buildsystem=pybuild
dh_auto_build -O--buildsystem=pybuild
I: pybuild plugin_pyproject:129: Building wheel for python3.13 with "build" module
I: pybuild base:311: python3.13 -m build --skip-dependency-check --no-isolation --wheel --outdir /<<PKGBUILDDIR>>/.pybuild/cpython3_3.13_nabu
* Building wheel...
running bdist_wheel
running build
running build_py
creating build/lib/nabu
copying nabu/utils.py -> build/lib/nabu
[... snipped ...]
adding 'nabu/app/cast_volume.py'
adding 'nabu/app/cli_configs.py'
adding 'nabu/app/compare_volumes.py'
adding 'nabu/app/composite_cor.py'
adding 'nabu/app/correct_rot.py'
adding 'nabu/app/create_distortion_map_from_poly.py'
adding 'nabu/app/diag_to_pix.py'
adding 'nabu/app/diag_to_rot.py'
adding 'nabu/app/double_flatfield.py'
adding 'nabu/app/generate_header.py'
adding 'nabu/app/histogram.py'
adding 'nabu/app/multicor.py'
adding 'nabu/app/nx_z_splitter.py'
adding 'nabu/app/parse_reconstruction_log.py'
adding 'nabu/app/prepare_weights_double.py'
adding 'nabu/app/reconstruct.py'
adding 'nabu/app/reconstruct_helical.py'
adding 'nabu/app/reduce_dark_flat.py'
adding 'nabu/app/rotate.py'
adding 'nabu/app/shrink_dataset.py'
adding 'nabu/app/stitching.py'
adding 'nabu/app/utils.py'
adding 'nabu/app/validator.py'
adding 'nabu/app/tests/test_reduce_dark_flat.py'
adding 'nabu/cuda/__init__.py'
adding 'nabu/cuda/convolution.py'
adding 'nabu/cuda/fft.py'
adding 'nabu/cuda/kernel.py'
adding 'nabu/cuda/medfilt.py'
adding 'nabu/cuda/padding.py'
adding 'nabu/cuda/processing.py'
adding 'nabu/cuda/utils.py'
adding 'nabu/cuda/src/ElementOp.cu'
adding 'nabu/cuda/src/backproj.cu'
adding 'nabu/cuda/src/backproj_polar.cu'
adding 'nabu/cuda/src/boundary.h'
adding 'nabu/cuda/src/cone.cu'
adding 'nabu/cuda/src/convolution.cu'
adding 'nabu/cuda/src/dfi_fftshift.cu'
adding 'nabu/cuda/src/flatfield.cu'
adding 'nabu/cuda/src/fourier_wavelets.cu'
adding 'nabu/cuda/src/halftomo.cu'
adding 'nabu/cuda/src/helical_padding.cu'
adding 'nabu/cuda/src/hierarchical_backproj.cu'
adding 'nabu/cuda/src/histogram.cu'
adding 'nabu/cuda/src/interpolation.cu'
adding 'nabu/cuda/src/medfilt.cu'
adding 'nabu/cuda/src/normalization.cu'
adding 'nabu/cuda/src/padding.cu'
adding 'nabu/cuda/src/proj.cu'
adding 'nabu/cuda/src/rotation.cu'
adding 'nabu/cuda/src/transpose.cu'
adding 'nabu/cuda/tests/__init__.py'
adding 'nabu/estimation/__init__.py'
adding 'nabu/estimation/alignment.py'
adding 'nabu/estimation/cor.py'
adding 'nabu/estimation/cor_sino.py'
adding 'nabu/estimation/distortion.py'
adding 'nabu/estimation/focus.py'
adding 'nabu/estimation/tilt.py'
adding 'nabu/estimation/translation.py'
adding 'nabu/estimation/utils.py'
adding 'nabu/estimation/tests/__init__.py'
adding 'nabu/estimation/tests/test_alignment.py'
adding 'nabu/estimation/tests/test_cor.py'
adding 'nabu/estimation/tests/test_focus.py'
adding 'nabu/estimation/tests/test_tilt.py'
adding 'nabu/estimation/tests/test_translation.py'
adding 'nabu/io/__init__.py'
adding 'nabu/io/cast_volume.py'
adding 'nabu/io/detector_distortion.py'
adding 'nabu/io/reader.py'
adding 'nabu/io/reader_helical.py'
adding 'nabu/io/utils.py'
adding 'nabu/io/writer.py'
adding 'nabu/io/tests/__init__.py'
adding 'nabu/io/tests/test_cast_volume.py'
adding 'nabu/io/tests/test_detector_distortion.py'
adding 'nabu/io/tests/test_readers.py'
adding 'nabu/io/tests/test_writers.py'
adding 'nabu/misc/__init__.py'
adding 'nabu/misc/binning.py'
adding 'nabu/misc/fftshift.py'
adding 'nabu/misc/filters.py'
adding 'nabu/misc/fourier_filters.py'
adding 'nabu/misc/histogram.py'
adding 'nabu/misc/histogram_cuda.py'
adding 'nabu/misc/kernel_base.py'
adding 'nabu/misc/padding.py'
adding 'nabu/misc/padding_base.py'
adding 'nabu/misc/processing_base.py'
adding 'nabu/misc/rotation.py'
adding 'nabu/misc/rotation_cuda.py'
adding 'nabu/misc/transpose.py'
adding 'nabu/misc/unsharp.py'
adding 'nabu/misc/unsharp_cuda.py'
adding 'nabu/misc/unsharp_opencl.py'
adding 'nabu/misc/utils.py'
adding 'nabu/misc/tests/__init__.py'
adding 'nabu/misc/tests/test_binning.py'
adding 'nabu/misc/tests/test_interpolation.py'
adding 'nabu/opencl/__init__.py'
adding 'nabu/opencl/fft.py'
adding 'nabu/opencl/kernel.py'
adding 'nabu/opencl/memcpy.py'
adding 'nabu/opencl/padding.py'
adding 'nabu/opencl/processing.py'
adding 'nabu/opencl/utils.py'
adding 'nabu/opencl/src/ElementOp.cl'
adding 'nabu/opencl/src/backproj.cl'
adding 'nabu/opencl/src/fftshift.cl'
adding 'nabu/opencl/src/halftomo.cl'
adding 'nabu/opencl/src/padding.cl'
adding 'nabu/opencl/src/roll.cl'
adding 'nabu/opencl/src/transpose.cl'
adding 'nabu/opencl/tests/__init__.py'
adding 'nabu/pipeline/__init__.py'
adding 'nabu/pipeline/config.py'
adding 'nabu/pipeline/config_validators.py'
adding 'nabu/pipeline/datadump.py'
adding 'nabu/pipeline/dataset_validator.py'
adding 'nabu/pipeline/detector_distortion_provider.py'
adding 'nabu/pipeline/estimators.py'
adding 'nabu/pipeline/params.py'
adding 'nabu/pipeline/processconfig.py'
adding 'nabu/pipeline/reader.py'
adding 'nabu/pipeline/utils.py'
adding 'nabu/pipeline/writer.py'
adding 'nabu/pipeline/fullfield/__init__.py'
adding 'nabu/pipeline/fullfield/chunked.py'
adding 'nabu/pipeline/fullfield/chunked_cuda.py'
adding 'nabu/pipeline/fullfield/computations.py'
adding 'nabu/pipeline/fullfield/dataset_validator.py'
adding 'nabu/pipeline/fullfield/nabu_config.py'
adding 'nabu/pipeline/fullfield/processconfig.py'
adding 'nabu/pipeline/fullfield/reconstruction.py'
adding 'nabu/pipeline/helical/__init__.py'
adding 'nabu/pipeline/helical/dataset_validator.py'
adding 'nabu/pipeline/helical/fbp.py'
adding 'nabu/pipeline/helical/filtering.py'
adding 'nabu/pipeline/helical/gridded_accumulator.py'
adding 'nabu/pipeline/helical/helical_chunked_regridded.py'
adding 'nabu/pipeline/helical/helical_chunked_regridded_cuda.py'
adding 'nabu/pipeline/helical/helical_reconstruction.py'
adding 'nabu/pipeline/helical/helical_utils.py'
adding 'nabu/pipeline/helical/nabu_config.py'
adding 'nabu/pipeline/helical/processconfig.py'
adding 'nabu/pipeline/helical/span_strategy.py'
adding 'nabu/pipeline/helical/weight_balancer.py'
adding 'nabu/pipeline/helical/tests/__init__.py'
adding 'nabu/pipeline/tests/test_estimators.py'
adding 'nabu/pipeline/xrdct/__init__.py'
adding 'nabu/preproc/__init__.py'
adding 'nabu/preproc/alignment.py'
adding 'nabu/preproc/ccd.py'
adding 'nabu/preproc/ccd_cuda.py'
adding 'nabu/preproc/ctf.py'
adding 'nabu/preproc/ctf_cuda.py'
adding 'nabu/preproc/distortion.py'
adding 'nabu/preproc/double_flatfield.py'
adding 'nabu/preproc/double_flatfield_cuda.py'
adding 'nabu/preproc/double_flatfield_variable_region.py'
adding 'nabu/preproc/flatfield.py'
adding 'nabu/preproc/flatfield_cuda.py'
adding 'nabu/preproc/flatfield_variable_region.py'
adding 'nabu/preproc/phase.py'
adding 'nabu/preproc/phase_cuda.py'
adding 'nabu/preproc/shift.py'
adding 'nabu/preproc/shift_cuda.py'
adding 'nabu/preproc/tests/__init__.py'
adding 'nabu/preproc/tests/test_ccd_corr.py'
adding 'nabu/preproc/tests/test_ctf.py'
adding 'nabu/preproc/tests/test_double_flatfield.py'
adding 'nabu/preproc/tests/test_flatfield.py'
adding 'nabu/preproc/tests/test_paganin.py'
adding 'nabu/preproc/tests/test_vshift.py'
adding 'nabu/processing/__init__.py'
adding 'nabu/processing/azim.py'
adding 'nabu/processing/convolution_cuda.py'
adding 'nabu/processing/fft_base.py'
adding 'nabu/processing/fft_cuda.py'
adding 'nabu/processing/fft_opencl.py'
adding 'nabu/processing/fftshift.py'
adding 'nabu/processing/histogram.py'
adding 'nabu/processing/histogram_cuda.py'
adding 'nabu/processing/kernel_base.py'
adding 'nabu/processing/medfilt_cuda.py'
adding 'nabu/processing/muladd.py'
adding 'nabu/processing/muladd_cuda.py'
adding 'nabu/processing/padding_base.py'
adding 'nabu/processing/padding_cuda.py'
adding 'nabu/processing/padding_opencl.py'
adding 'nabu/processing/processing_base.py'
adding 'nabu/processing/roll_opencl.py'
adding 'nabu/processing/rotation.py'
adding 'nabu/processing/rotation_cuda.py'
adding 'nabu/processing/transpose.py'
adding 'nabu/processing/unsharp.py'
adding 'nabu/processing/unsharp_cuda.py'
adding 'nabu/processing/unsharp_opencl.py'
adding 'nabu/processing/tests/__init__.py'
adding 'nabu/processing/tests/test_fft.py'
adding 'nabu/processing/tests/test_fftshift.py'
adding 'nabu/processing/tests/test_histogram.py'
adding 'nabu/processing/tests/test_medfilt.py'
adding 'nabu/processing/tests/test_muladd.py'
adding 'nabu/processing/tests/test_padding.py'
adding 'nabu/processing/tests/test_roll.py'
adding 'nabu/processing/tests/test_rotation.py'
adding 'nabu/processing/tests/test_transpose.py'
adding 'nabu/processing/tests/test_unsharp.py'
adding 'nabu/reconstruction/__init__.py'
adding 'nabu/reconstruction/astra.py'
adding 'nabu/reconstruction/cone.py'
adding 'nabu/reconstruction/fbp.py'
adding 'nabu/reconstruction/fbp_base.py'
adding 'nabu/reconstruction/fbp_opencl.py'
adding 'nabu/reconstruction/filtering.py'
adding 'nabu/reconstruction/filtering_cuda.py'
adding 'nabu/reconstruction/filtering_opencl.py'
adding 'nabu/reconstruction/hbp.py'
adding 'nabu/reconstruction/mlem.py'
adding 'nabu/reconstruction/projection.py'
adding 'nabu/reconstruction/reconstructor.py'
adding 'nabu/reconstruction/reconstructor_cuda.py'
adding 'nabu/reconstruction/rings.py'
adding 'nabu/reconstruction/rings_cuda.py'
adding 'nabu/reconstruction/sinogram.py'
adding 'nabu/reconstruction/sinogram_cuda.py'
adding 'nabu/reconstruction/sinogram_opencl.py'
adding 'nabu/reconstruction/tests/__init__.py'
adding 'nabu/reconstruction/tests/test_cone.py'
adding 'nabu/reconstruction/tests/test_deringer.py'
adding 'nabu/reconstruction/tests/test_fbp.py'
adding 'nabu/reconstruction/tests/test_filtering.py'
adding 'nabu/reconstruction/tests/test_halftomo.py'
adding 'nabu/reconstruction/tests/test_mlem.py'
adding 'nabu/reconstruction/tests/test_projector.py'
adding 'nabu/reconstruction/tests/test_reconstructor.py'
adding 'nabu/reconstruction/tests/test_sino_normalization.py'
adding 'nabu/resources/__init__.py'
adding 'nabu/resources/cor.py'
adding 'nabu/resources/dataset_analyzer.py'
adding 'nabu/resources/gpu.py'
adding 'nabu/resources/logger.py'
adding 'nabu/resources/nxflatfield.py'
adding 'nabu/resources/utils.py'
adding 'nabu/resources/cli/__init__.py'
adding 'nabu/resources/templates/__init__.py'
adding 'nabu/resources/templates/bm05_pag.conf'
adding 'nabu/resources/templates/id16_ctf.conf'
adding 'nabu/resources/templates/id16_holo.conf'
adding 'nabu/resources/templates/id16a_fluo.conf'
adding 'nabu/resources/templates/id19_pag.conf'
adding 'nabu/resources/tests/__init__.py'
adding 'nabu/resources/tests/test_nxflatfield.py'
adding 'nabu/resources/tests/test_units.py'
adding 'nabu/stitching/__init__.py'
adding 'nabu/stitching/alignment.py'
adding 'nabu/stitching/config.py'
adding 'nabu/stitching/definitions.py'
adding 'nabu/stitching/frame_composition.py'
adding 'nabu/stitching/overlap.py'
adding 'nabu/stitching/sample_normalization.py'
adding 'nabu/stitching/single_axis_stitching.py'
adding 'nabu/stitching/slurm_utils.py'
adding 'nabu/stitching/stitcher_2D.py'
adding 'nabu/stitching/y_stitching.py'
adding 'nabu/stitching/z_stitching.py'
adding 'nabu/stitching/stitcher/__init__.py'
adding 'nabu/stitching/stitcher/base.py'
adding 'nabu/stitching/stitcher/post_processing.py'
adding 'nabu/stitching/stitcher/pre_processing.py'
adding 'nabu/stitching/stitcher/single_axis.py'
adding 'nabu/stitching/stitcher/stitcher.py'
adding 'nabu/stitching/stitcher/y_stitcher.py'
adding 'nabu/stitching/stitcher/z_stitcher.py'
adding 'nabu/stitching/stitcher/dumper/__init__.py'
adding 'nabu/stitching/stitcher/dumper/base.py'
adding 'nabu/stitching/stitcher/dumper/postprocessing.py'
adding 'nabu/stitching/stitcher/dumper/preprocessing.py'
adding 'nabu/stitching/tests/__init__.py'
adding 'nabu/stitching/tests/test_alignment.py'
adding 'nabu/stitching/tests/test_config.py'
adding 'nabu/stitching/tests/test_frame_composition.py'
adding 'nabu/stitching/tests/test_overlap.py'
adding 'nabu/stitching/tests/test_sample_normalization.py'
adding 'nabu/stitching/tests/test_slurm_utils.py'
adding 'nabu/stitching/tests/test_utils.py'
adding 'nabu/stitching/tests/test_y_preprocessing_stitching.py'
adding 'nabu/stitching/tests/test_z_postprocessing_stitching.py'
adding 'nabu/stitching/tests/test_z_preprocessing_stitching.py'
adding 'nabu/stitching/utils/__init__.py'
adding 'nabu/stitching/utils/post_processing.py'
adding 'nabu/stitching/utils/utils.py'
adding 'nabu/stitching/utils/tests/test_post-processing.py'
adding 'nabu/thirdparty/__init__.py'
adding 'nabu/thirdparty/algotom_convert_sino.py'
adding 'nabu/thirdparty/pore3d_deringer_munch.py'
adding 'nabu/thirdparty/tomocupy_remove_stripe.py'
adding 'nabu/thirdparty/tomopy_phase.py'
adding 'nabu/thirdparty/tomwer_load_flats_darks.py'
adding 'nabu-2024.2.0rc4.dist-info/LICENSE'
adding 'nabu-2024.2.0rc4.dist-info/METADATA'
adding 'nabu-2024.2.0rc4.dist-info/WHEEL'
adding 'nabu-2024.2.0rc4.dist-info/entry_points.txt'
adding 'nabu-2024.2.0rc4.dist-info/top_level.txt'
adding 'nabu-2024.2.0rc4.dist-info/RECORD'
removing build/bdist.linux-x86_64/wheel
Successfully built nabu-2024.2.0rc4-py3-none-any.whl
I: pybuild plugin_pyproject:144: Unpacking wheel built for python3.12 with "installer" module
dh_auto_test -O--buildsystem=pybuild
I: pybuild base:311: cd '/<<PKGBUILDDIR>>/.pybuild/cpython3_3.13_nabu/build'; python3.13 -m pytest
============================= test session starts ==============================
platform linux -- Python 3.13.1, pytest-8.3.4, pluggy-1.5.0
rootdir: /<<PKGBUILDDIR>>/.pybuild/cpython3_3.13_nabu/build
configfile: pyproject.toml
plugins: typeguard-4.4.1
collected 3944 items / 4 errors / 1 skipped
==================================== ERRORS ====================================
___ ERROR collecting nabu/stitching/tests/test_y_preprocessing_stitching.py ____
ImportError while importing test module '/<<PKGBUILDDIR>>/.pybuild/cpython3_3.13_nabu/build/nabu/stitching/tests/test_y_preprocessing_stitching.py'.
Hint: make sure your test modules/packages have valid Python names.
Traceback:
/usr/lib/python3.13/importlib/__init__.py:88: in import_module
return _bootstrap._gcd_import(name[level:], package, level)
nabu/stitching/tests/test_y_preprocessing_stitching.py:6: in <module>
from nabu.stitching.y_stitching import y_stitching
nabu/stitching/y_stitching.py:2: in <module>
from nabu.stitching.stitcher.y_stitcher import PreProcessingYStitcher as PreProcessYStitcher
nabu/stitching/stitcher/y_stitcher.py:1: in <module>
from nabu.stitching.stitcher.pre_processing import PreProcessingStitching
nabu/stitching/stitcher/pre_processing.py:17: in <module>
from tomoscan.series import Series
E ModuleNotFoundError: No module named 'tomoscan.series'
___ ERROR collecting nabu/stitching/tests/test_z_postprocessing_stitching.py ___
ImportError while importing test module '/<<PKGBUILDDIR>>/.pybuild/cpython3_3.13_nabu/build/nabu/stitching/tests/test_z_postprocessing_stitching.py'.
Hint: make sure your test modules/packages have valid Python names.
Traceback:
/usr/lib/python3.13/importlib/__init__.py:88: in import_module
return _bootstrap._gcd_import(name[level:], package, level)
nabu/stitching/tests/test_z_postprocessing_stitching.py:17: in <module>
from nabu.stitching.z_stitching import PostProcessZStitcher, PostProcessZStitcherNoDD
nabu/stitching/z_stitching.py:4: in <module>
from nabu.stitching.stitcher.z_stitcher import PreProcessingZStitcher as PreProcessZStitcher
nabu/stitching/stitcher/z_stitcher.py:1: in <module>
from nabu.stitching.stitcher.pre_processing import PreProcessingStitching
nabu/stitching/stitcher/pre_processing.py:17: in <module>
from tomoscan.series import Series
E ModuleNotFoundError: No module named 'tomoscan.series'
___ ERROR collecting nabu/stitching/tests/test_z_preprocessing_stitching.py ____
ImportError while importing test module '/<<PKGBUILDDIR>>/.pybuild/cpython3_3.13_nabu/build/nabu/stitching/tests/test_z_preprocessing_stitching.py'.
Hint: make sure your test modules/packages have valid Python names.
Traceback:
/usr/lib/python3.13/importlib/__init__.py:88: in import_module
return _bootstrap._gcd_import(name[level:], package, level)
nabu/stitching/tests/test_z_preprocessing_stitching.py:9: in <module>
from nabu.stitching.z_stitching import (
nabu/stitching/z_stitching.py:4: in <module>
from nabu.stitching.stitcher.z_stitcher import PreProcessingZStitcher as PreProcessZStitcher
nabu/stitching/stitcher/z_stitcher.py:1: in <module>
from nabu.stitching.stitcher.pre_processing import PreProcessingStitching
nabu/stitching/stitcher/pre_processing.py:17: in <module>
from tomoscan.series import Series
E ModuleNotFoundError: No module named 'tomoscan.series'
_____ ERROR collecting nabu/stitching/utils/tests/test_post-processing.py ______
ImportError while importing test module '/<<PKGBUILDDIR>>/.pybuild/cpython3_3.13_nabu/build/nabu/stitching/utils/tests/test_post-processing.py'.
Hint: make sure your test modules/packages have valid Python names.
Traceback:
/usr/lib/python3.13/importlib/__init__.py:88: in import_module
return _bootstrap._gcd_import(name[level:], package, level)
nabu/stitching/utils/tests/test_post-processing.py:3: in <module>
from nabu.stitching.stitcher.single_axis import PROGRESS_BAR_STITCH_VOL_DESC
nabu/stitching/stitcher/single_axis.py:6: in <module>
from tomoscan.series import Series
E ModuleNotFoundError: No module named 'tomoscan.series'
=============================== warnings summary ===============================
../../../../../../usr/lib/python3/dist-packages/pytools/persistent_dict.py:63
/usr/lib/python3/dist-packages/pytools/persistent_dict.py:63: RecommendedHashNotFoundWarning: Unable to import recommended hash 'siphash24.siphash13', falling back to 'hashlib.sha256'. Run 'python3 -m pip install siphash24' to install the recommended hash.
warn("Unable to import recommended hash 'siphash24.siphash13', "
nabu/stitching/stitcher_2D.py:22
/<<PKGBUILDDIR>>/.pybuild/cpython3_3.13_nabu/build/nabu/stitching/stitcher_2D.py:22: SyntaxWarning: invalid escape sequence '\/'
"""
-- Docs: https://docs.pytest.org/en/stable/how-to/capture-warnings.html
=========================== short test summary info ============================
ERROR nabu/stitching/tests/test_y_preprocessing_stitching.py
ERROR nabu/stitching/tests/test_z_postprocessing_stitching.py
ERROR nabu/stitching/tests/test_z_preprocessing_stitching.py
ERROR nabu/stitching/utils/tests/test_post-processing.py
!!!!!!!!!!!!!!!!!!! Interrupted: 4 errors during collection !!!!!!!!!!!!!!!!!!!!
=================== 1 skipped, 2 warnings, 4 errors in 2.44s ===================
E: pybuild pybuild:389: test: plugin pyproject failed with: exit code=2: cd '/<<PKGBUILDDIR>>/.pybuild/cpython3_3.13_nabu/build'; python3.13 -m pytest
I: pybuild base:311: cd '/<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_nabu/build'; python3.12 -m pytest
============================= test session starts ==============================
platform linux -- Python 3.12.8, pytest-8.3.4, pluggy-1.5.0
rootdir: /<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_nabu/build
configfile: pyproject.toml
plugins: typeguard-4.4.1
collected 3944 items / 4 errors / 1 skipped
==================================== ERRORS ====================================
___ ERROR collecting nabu/stitching/tests/test_y_preprocessing_stitching.py ____
ImportError while importing test module '/<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_nabu/build/nabu/stitching/tests/test_y_preprocessing_stitching.py'.
Hint: make sure your test modules/packages have valid Python names.
Traceback:
/usr/lib/python3.12/importlib/__init__.py:90: in import_module
return _bootstrap._gcd_import(name[level:], package, level)
nabu/stitching/tests/test_y_preprocessing_stitching.py:6: in <module>
from nabu.stitching.y_stitching import y_stitching
nabu/stitching/y_stitching.py:2: in <module>
from nabu.stitching.stitcher.y_stitcher import PreProcessingYStitcher as PreProcessYStitcher
nabu/stitching/stitcher/y_stitcher.py:1: in <module>
from nabu.stitching.stitcher.pre_processing import PreProcessingStitching
nabu/stitching/stitcher/pre_processing.py:17: in <module>
from tomoscan.series import Series
E ModuleNotFoundError: No module named 'tomoscan.series'
___ ERROR collecting nabu/stitching/tests/test_z_postprocessing_stitching.py ___
ImportError while importing test module '/<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_nabu/build/nabu/stitching/tests/test_z_postprocessing_stitching.py'.
Hint: make sure your test modules/packages have valid Python names.
Traceback:
/usr/lib/python3.12/importlib/__init__.py:90: in import_module
return _bootstrap._gcd_import(name[level:], package, level)
nabu/stitching/tests/test_z_postprocessing_stitching.py:17: in <module>
from nabu.stitching.z_stitching import PostProcessZStitcher, PostProcessZStitcherNoDD
nabu/stitching/z_stitching.py:4: in <module>
from nabu.stitching.stitcher.z_stitcher import PreProcessingZStitcher as PreProcessZStitcher
nabu/stitching/stitcher/z_stitcher.py:1: in <module>
from nabu.stitching.stitcher.pre_processing import PreProcessingStitching
nabu/stitching/stitcher/pre_processing.py:17: in <module>
from tomoscan.series import Series
E ModuleNotFoundError: No module named 'tomoscan.series'
___ ERROR collecting nabu/stitching/tests/test_z_preprocessing_stitching.py ____
ImportError while importing test module '/<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_nabu/build/nabu/stitching/tests/test_z_preprocessing_stitching.py'.
Hint: make sure your test modules/packages have valid Python names.
Traceback:
/usr/lib/python3.12/importlib/__init__.py:90: in import_module
return _bootstrap._gcd_import(name[level:], package, level)
nabu/stitching/tests/test_z_preprocessing_stitching.py:9: in <module>
from nabu.stitching.z_stitching import (
nabu/stitching/z_stitching.py:4: in <module>
from nabu.stitching.stitcher.z_stitcher import PreProcessingZStitcher as PreProcessZStitcher
nabu/stitching/stitcher/z_stitcher.py:1: in <module>
from nabu.stitching.stitcher.pre_processing import PreProcessingStitching
nabu/stitching/stitcher/pre_processing.py:17: in <module>
from tomoscan.series import Series
E ModuleNotFoundError: No module named 'tomoscan.series'
_____ ERROR collecting nabu/stitching/utils/tests/test_post-processing.py ______
ImportError while importing test module '/<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_nabu/build/nabu/stitching/utils/tests/test_post-processing.py'.
Hint: make sure your test modules/packages have valid Python names.
Traceback:
/usr/lib/python3.12/importlib/__init__.py:90: in import_module
return _bootstrap._gcd_import(name[level:], package, level)
nabu/stitching/utils/tests/test_post-processing.py:3: in <module>
from nabu.stitching.stitcher.single_axis import PROGRESS_BAR_STITCH_VOL_DESC
nabu/stitching/stitcher/single_axis.py:6: in <module>
from tomoscan.series import Series
E ModuleNotFoundError: No module named 'tomoscan.series'
=============================== warnings summary ===============================
../../../../../../usr/lib/python3/dist-packages/pytools/persistent_dict.py:63
/usr/lib/python3/dist-packages/pytools/persistent_dict.py:63: RecommendedHashNotFoundWarning: Unable to import recommended hash 'siphash24.siphash13', falling back to 'hashlib.sha256'. Run 'python3 -m pip install siphash24' to install the recommended hash.
warn("Unable to import recommended hash 'siphash24.siphash13', "
nabu/stitching/stitcher_2D.py:22
/<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_nabu/build/nabu/stitching/stitcher_2D.py:22: SyntaxWarning: invalid escape sequence '\/'
"""
-- Docs: https://docs.pytest.org/en/stable/how-to/capture-warnings.html
=========================== short test summary info ============================
ERROR nabu/stitching/tests/test_y_preprocessing_stitching.py
ERROR nabu/stitching/tests/test_z_postprocessing_stitching.py
ERROR nabu/stitching/tests/test_z_preprocessing_stitching.py
ERROR nabu/stitching/utils/tests/test_post-processing.py
!!!!!!!!!!!!!!!!!!! Interrupted: 4 errors during collection !!!!!!!!!!!!!!!!!!!!
=================== 1 skipped, 2 warnings, 4 errors in 2.69s ===================
E: pybuild pybuild:389: test: plugin pyproject failed with: exit code=2: cd '/<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_nabu/build'; python3.12 -m pytest
dh_auto_test: error: pybuild --test --test-pytest -i python{version} -p "3.13 3.12" returned exit code 13
make: *** [debian/rules:6: 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/202412/
About the archive rebuild: The build was made on virtual machines 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.
More information about the Debian-pan-maintainers
mailing list