--- Begin Message ---
Package: src:astroml
Version: 1.0.2-5
Severity: serious
Tags: ftbfs trixie sid
Dear maintainer:
During a rebuild of all packages in unstable, your package failed to build:
--------------------------------------------------------------------------------
[...]
debian/rules clean
dh clean --buildsystem=pybuild
dh_auto_clean -O--buildsystem=pybuild
dh_autoreconf_clean -O--buildsystem=pybuild
dh_clean -O--buildsystem=pybuild
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.12 with "build"
module
I: pybuild base:311: python3.12 -m build --skip-dependency-check --no-isolation
--wheel --outdir /<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_astroml
* Building wheel...
[... snipped ...]
adding 'astroML/datasets/hogg2010test.py'
adding 'astroML/datasets/imaging_sample.py'
adding 'astroML/datasets/kelly2007test.py'
adding 'astroML/datasets/moving_objects.py'
adding 'astroML/datasets/nasa_atlas.py'
adding 'astroML/datasets/rrlyrae_mags.py'
adding 'astroML/datasets/rrlyrae_templates.py'
adding 'astroML/datasets/sdss_S82standards.py'
adding 'astroML/datasets/sdss_corrected_spectra.py'
adding 'astroML/datasets/sdss_filters.py'
adding 'astroML/datasets/sdss_galaxy_colors.py'
adding 'astroML/datasets/sdss_galaxy_images.py'
adding 'astroML/datasets/sdss_specgals.py'
adding 'astroML/datasets/sdss_spectrum.py'
adding 'astroML/datasets/sdss_sspp.py'
adding 'astroML/datasets/wmap_temperatures.py'
adding 'astroML/datasets/tests/__init__.py'
adding 'astroML/datasets/tests/test_datasets.py'
adding 'astroML/datasets/tools/__init__.py'
adding 'astroML/datasets/tools/cas_query.py'
adding 'astroML/datasets/tools/download.py'
adding 'astroML/datasets/tools/sdss_fits.py'
adding 'astroML/datasets/tools/sql_query.py'
adding 'astroML/density_estimation/__init__.py'
adding 'astroML/density_estimation/bayesian_blocks.py'
adding 'astroML/density_estimation/density_estimation.py'
adding 'astroML/density_estimation/empirical.py'
adding 'astroML/density_estimation/gauss_mixture.py'
adding 'astroML/density_estimation/histtools.py'
adding 'astroML/density_estimation/xdeconv.py'
adding 'astroML/density_estimation/tests/__init__.py'
adding 'astroML/density_estimation/tests/test_bayesian_blocks.py'
adding 'astroML/density_estimation/tests/test_density.py'
adding 'astroML/density_estimation/tests/test_empirical.py'
adding 'astroML/density_estimation/tests/test_hist_binwidth.py'
adding 'astroML/density_estimation/tests/test_xdeconv.py'
adding 'astroML/dimensionality/__init__.py'
adding 'astroML/dimensionality/iterative_pca.py'
adding 'astroML/dimensionality/tests/__init__.py'
adding 'astroML/dimensionality/tests/test_iterative_PCA.py'
adding 'astroML/linear_model/TLS.py'
adding 'astroML/linear_model/__init__.py'
adding 'astroML/linear_model/kernel_regression.py'
adding 'astroML/linear_model/linear_regression.py'
adding 'astroML/linear_model/linear_regression_errors.py'
adding 'astroML/linear_model/tests/__init__.py'
adding 'astroML/linear_model/tests/test_TLS.py'
adding 'astroML/linear_model/tests/test_kernel_regression.py'
adding 'astroML/linear_model/tests/test_linear_regression.py'
adding 'astroML/plotting/__init__.py'
adding 'astroML/plotting/ellipse.py'
adding 'astroML/plotting/hist_tools.py'
adding 'astroML/plotting/mcmc.py'
adding 'astroML/plotting/multiaxes.py'
adding 'astroML/plotting/regression.py'
adding 'astroML/plotting/scatter_contour.py'
adding 'astroML/plotting/settings.py'
adding 'astroML/plotting/tools.py'
adding 'astroML/plotting/tests/__init__.py'
adding 'astroML/plotting/tests/test_devectorize.py'
adding 'astroML/stats/__init__.py'
adding 'astroML/stats/_binned_statistic.py'
adding 'astroML/stats/_point_statistics.py'
adding 'astroML/stats/random.py'
adding 'astroML/stats/tests/__init__.py'
adding 'astroML/stats/tests/test_binned_statistic.py'
adding 'astroML/stats/tests/test_stats.py'
adding 'astroML/tests/__init__.py'
adding 'astroML/tests/test_correlation.py'
adding 'astroML/tests/test_filters.py'
adding 'astroML/tests/test_fourier.py'
adding 'astroML/tests/test_lumfunc.py'
adding 'astroML/tests/test_resample.py'
adding 'astroML/time_series/ACF.py'
adding 'astroML/time_series/__init__.py'
adding 'astroML/time_series/generate.py'
adding 'astroML/time_series/periodogram.py'
adding 'astroML/time_series/tests/__init__.py'
adding 'astroML/time_series/tests/test_generate.py'
adding 'astroML/time_series/tests/test_periodogram.py'
adding 'astroML/utils/__init__.py'
adding 'astroML/utils/decorators.py'
adding 'astroML/utils/exceptions.py'
adding 'astroML/utils/utils.py'
adding 'astroML/utils/tests/__init__.py'
adding 'astroML/utils/tests/test_pickle_results.py'
adding 'astroML/utils/tests/test_utils.py'
adding 'astroML-1.0.2.dist-info/LICENSE.rst'
adding 'astroML-1.0.2.dist-info/METADATA'
adding 'astroML-1.0.2.dist-info/WHEEL'
adding 'astroML-1.0.2.dist-info/top_level.txt'
adding 'astroML-1.0.2.dist-info/RECORD'
removing build/bdist.linux-x86_64/wheel
Successfully built astroML-1.0.2-py3-none-any.whl
I: pybuild plugin_pyproject:144: Unpacking wheel built for python3.13 with
"installer" module
dh_auto_test -O--buildsystem=pybuild
I: pybuild base:311: cd /<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_astroml/build;
python3.12 -m pytest
============================= test session starts ==============================
platform linux -- Python 3.12.9, pytest-8.3.4, pluggy-1.5.0
rootdir: /<<PKGBUILDDIR>>
configfile: setup.cfg
plugins: filter-subpackage-0.2.0, mock-3.14.0, astropy-header-0.2.2,
typeguard-4.4.1, remotedata-0.4.1, cov-5.0.0, hypothesis-6.124.0,
astropy-0.11.0, doctestplus-1.4.0, arraydiff-0.6.1
collected 219 items
astroML/classification/tests/test_gmm_bayes.py ..... [ 2%]
astroML/clustering/tests/test_MST_clustering.py ... [ 3%]
astroML/datasets/LIGO_bigdog.py . [ 4%]
astroML/datasets/LINEAR_sample.py s [ 4%]
astroML/datasets/dr7_quasar.py . [ 5%]
astroML/datasets/imaging_sample.py . [ 5%]
astroML/datasets/moving_objects.py . [ 5%]
astroML/datasets/rrlyrae_mags.py . [ 6%]
astroML/datasets/sdss_S82standards.py s [ 6%]
astroML/datasets/sdss_specgals.py . [ 7%]
astroML/datasets/sdss_sspp.py . [ 7%]
astroML/datasets/tests/test_datasets.py s [ 8%]
astroML/density_estimation/bayesian_blocks.py . [ 8%]
astroML/density_estimation/empirical.py F [ 9%]
astroML/density_estimation/tests/test_bayesian_blocks.py ..... [ 11%]
astroML/density_estimation/tests/test_density.py ... [ 12%]
astroML/density_estimation/tests/test_empirical.py .. [ 13%]
astroML/density_estimation/tests/test_hist_binwidth.py .... [ 15%]
astroML/density_estimation/tests/test_xdeconv.py .... [ 17%]
astroML/dimensionality/tests/test_iterative_PCA.py . [ 17%]
astroML/filters.py . [ 18%]
astroML/linear_model/tests/test_TLS.py . [ 18%]
astroML/linear_model/tests/test_kernel_regression.py ... [ 20%]
astroML/linear_model/tests/test_linear_regression.py .......s [ 23%]
astroML/plotting/tests/test_devectorize.py . [ 24%]
astroML/plotting/tools.py .. [ 25%]
astroML/stats/_binned_statistic.py . [ 25%]
astroML/stats/tests/test_binned_statistic.py ............ [ 31%]
astroML/stats/tests/test_stats.py ..................................... [ 47%]
astroML/tests/test_correlation.py .. [ 48%]
astroML/tests/test_filters.py .... [ 50%]
astroML/tests/test_fourier.py .......................................... [ 69%]
........................................... [ 89%]
astroML/tests/test_lumfunc.py . [ 89%]
astroML/tests/test_resample.py ....... [ 93%]
astroML/time_series/tests/test_generate.py ..... [ 95%]
astroML/time_series/tests/test_periodogram.py . [ 95%]
astroML/utils/decorators.py . [ 96%]
astroML/utils/tests/test_pickle_results.py . [ 96%]
astroML/utils/tests/test_utils.py ...... [ 99%]
astroML/utils/utils.py F [100%]
=================================== FAILURES ===================================
_____ [doctest] astroML.density_estimation.empirical.EmpiricalDistribution _____
065 ----------
066 data : one-dimensional array
067 input data
068
069 Examples
070 --------
071 >>> import numpy as np
072 >>> np.random.seed(0)
073 >>> x = np.random.normal(size=10000) # normally-distributed variables
074 >>> x.mean(), x.std()
Expected:
(-0.018433720158265783, 0.98755656817612003)
Got:
(np.float64(-0.018433720158265818), np.float64(0.9875565681761208))
/<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_astroml/build/astroML/density_estimation/empirical.py:74:
DocTestFailure
___________ [doctest] astroML.utils.utils.log_multivariate_gaussian ____________
047 values: ndarray
048 shape = broadcast(x.shape[:-1], mu.shape[:-1], V.shape[:-2])
049
050 Examples
051 --------
052
053 >>> x = [1, 2]
054 >>> mu = [0, 0]
055 >>> V = [[2, 1], [1, 2]]
056 >>> log_multivariate_gaussian(x, mu, V)
Expected:
-3.3871832107434003
Got:
np.float64(-3.3871832107434003)
/<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_astroml/build/astroML/utils/utils.py:56:
DocTestFailure
=============================== warnings summary ===============================
../../../../../../usr/lib/python3/dist-packages/_pytest/config/__init__.py:1441
/usr/lib/python3/dist-packages/_pytest/config/__init__.py:1441:
PytestConfigWarning: Unknown config option: testspaths
self._warn_or_fail_if_strict(f"Unknown config option: {key}\n")
astroML/datasets/tools/sdss_fits.py:9
/<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_astroml/build/astroML/datasets/tools/sdss_fits.py:9:
DeprecationWarning: Please import `gaussian_filter1d` from the `scipy.ndimage`
namespace; the `scipy.ndimage.filters` namespace is deprecated and will be
removed in SciPy 2.0.0.
from scipy.ndimage.filters import gaussian_filter1d, uniform_filter1d
astroML/datasets/tools/sdss_fits.py:9
/<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_astroml/build/astroML/datasets/tools/sdss_fits.py:9:
DeprecationWarning: Please import `uniform_filter1d` from the `scipy.ndimage`
namespace; the `scipy.ndimage.filters` namespace is deprecated and will be
removed in SciPy 2.0.0.
from scipy.ndimage.filters import gaussian_filter1d, uniform_filter1d
astroML/decorators.py:7
/<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_astroml/build/astroML/decorators.py:7:
AstroMLDeprecationWarning: 'decorators' has been moved to 'astroML.utils' and
will be removed from the main namespace in the future.
warnings.warn("'decorators' has been moved to 'astroML.utils' and will be "
astroML/linear_model/linear_regression_errors.py:10
/<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_astroml/build/astroML/linear_model/linear_regression_errors.py:10:
UserWarning: LinearRegressionwithErrors requires PyMC3 to be installed
warnings.warn('LinearRegressionwithErrors requires PyMC3 to be installed')
.pybuild/cpython3_3.12_astroml/build/astroML/density_estimation/bayesian_blocks.py::astroML.density_estimation.bayesian_blocks.bayesian_blocks
<doctest astroML.density_estimation.bayesian_blocks.bayesian_blocks[1]>:1:
AstroMLDeprecationWarning: The bayesian_blocks function is deprecated and may
be removed in a future version.
Use astropy.stats.bayesian_blocks instead.
.pybuild/cpython3_3.12_astroml/build/astroML/density_estimation/bayesian_blocks.py::astroML.density_estimation.bayesian_blocks.bayesian_blocks
/<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_astroml/build/astroML/density_estimation/bayesian_blocks.py:263:
AstroMLDeprecationWarning: The Events class is deprecated and may be removed
in a future version.
Use astropy.stats.Events instead.
fitfunc = Events(**kwargs)
.pybuild/cpython3_3.12_astroml/build/astroML/density_estimation/bayesian_blocks.py::astroML.density_estimation.bayesian_blocks.bayesian_blocks
/usr/lib/python3/dist-packages/astropy/utils/decorators.py:140:
AstroMLDeprecationWarning: The FitnessFunc class is deprecated and may be
removed in a future version.
Use astropy.stats.FitnessFunc instead.
return func(*args, **kwargs)
.pybuild/cpython3_3.12_astroml/build/astroML/density_estimation/bayesian_blocks.py::astroML.density_estimation.bayesian_blocks.bayesian_blocks
/<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_astroml/build/astroML/density_estimation/bayesian_blocks.py:267:
AstroMLDeprecationWarning: The RegularEvents class is deprecated and may be
removed in a future version.
Use astropy.stats.RegularEvents instead.
fitfunc = RegularEvents(**kwargs)
.pybuild/cpython3_3.12_astroml/build/astroML/density_estimation/bayesian_blocks.py::astroML.density_estimation.bayesian_blocks.bayesian_blocks
/<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_astroml/build/astroML/density_estimation/bayesian_blocks.py:271:
AstroMLDeprecationWarning: The PointMeasures class is deprecated and may be
removed in a future version.
Use astropy.stats.PointMeasures instead.
fitfunc = PointMeasures(**kwargs)
.pybuild/cpython3_3.12_astroml/build/astroML/dimensionality/tests/test_iterative_PCA.py::test_iterative_PCA
/<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_astroml/build/astroML/dimensionality/iterative_pca.py:136:
RuntimeWarning: invalid value encountered in divide
ratio_i = X[i][notM[i]] / X_recons[i][notM[i]]
.pybuild/cpython3_3.12_astroml/build/astroML/filters.py::astroML.filters.savitzky_golay
<doctest astroML.filters.savitzky_golay[2]>:1: AstroMLDeprecationWarning: The
savitzky_golay function is deprecated and may be removed in a future version.
Use scipy.signal.savgol_filter instead.
.pybuild/cpython3_3.12_astroml/build/astroML/stats/tests/test_binned_statistic.py::test_1d_mean
.pybuild/cpython3_3.12_astroml/build/astroML/stats/tests/test_binned_statistic.py::test_2d_mean
.pybuild/cpython3_3.12_astroml/build/astroML/stats/tests/test_binned_statistic.py::test_dd_mean
/<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_astroml/build/astroML/stats/_binned_statistic.py:321:
RuntimeWarning: invalid value encountered in divide
result[a] /= flatcount
.pybuild/cpython3_3.12_astroml/build/astroML/stats/tests/test_binned_statistic.py::test_1d_mean
.pybuild/cpython3_3.12_astroml/build/astroML/stats/tests/test_binned_statistic.py::test_1d_median
.pybuild/cpython3_3.12_astroml/build/astroML/stats/tests/test_binned_statistic.py::test_2d_mean
.pybuild/cpython3_3.12_astroml/build/astroML/stats/tests/test_binned_statistic.py::test_2d_median
.pybuild/cpython3_3.12_astroml/build/astroML/stats/tests/test_binned_statistic.py::test_dd_mean
.pybuild/cpython3_3.12_astroml/build/astroML/stats/tests/test_binned_statistic.py::test_dd_median
/usr/lib/python3/dist-packages/numpy/_core/fromnumeric.py:3860:
RuntimeWarning: Mean of empty slice.
return _methods._mean(a, axis=axis, dtype=dtype,
.pybuild/cpython3_3.12_astroml/build/astroML/stats/tests/test_binned_statistic.py::test_1d_mean
.pybuild/cpython3_3.12_astroml/build/astroML/stats/tests/test_binned_statistic.py::test_1d_median
.pybuild/cpython3_3.12_astroml/build/astroML/stats/tests/test_binned_statistic.py::test_2d_mean
.pybuild/cpython3_3.12_astroml/build/astroML/stats/tests/test_binned_statistic.py::test_2d_median
.pybuild/cpython3_3.12_astroml/build/astroML/stats/tests/test_binned_statistic.py::test_dd_mean
.pybuild/cpython3_3.12_astroml/build/astroML/stats/tests/test_binned_statistic.py::test_dd_median
/usr/lib/python3/dist-packages/numpy/_core/_methods.py:145: RuntimeWarning:
invalid value encountered in scalar divide
ret = ret.dtype.type(ret / rcount)
.pybuild/cpython3_3.12_astroml/build/astroML/tests/test_resample.py::test_bootstrap_covar
/<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_astroml/build/astroML/resample.py:45:
UserWarning: bootstrap data are n-dimensional: assuming ordered n_samples by
n_attributes
warnings.warn("bootstrap data are n-dimensional: "
.pybuild/cpython3_3.12_astroml/build/astroML/time_series/tests/test_generate.py::test_generate_RW
/<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_astroml/build/astroML/time_series/generate.py:126:
DeprecationWarning: Conversion of an array with ndim > 0 to a scalar is
deprecated, and will error in future. Ensure you extract a single element from
your array before performing this operation. (Deprecated NumPy 1.25.)
x[0] = random_state.normal(xmean, SFinf)
.pybuild/cpython3_3.12_astroml/build/astroML/time_series/tests/test_generate.py:
99 warnings
/<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_astroml/build/astroML/time_series/generate.py:131:
DeprecationWarning: Conversion of an array with ndim > 0 to a scalar is
deprecated, and will error in future. Ensure you extract a single element from
your array before performing this operation. (Deprecated NumPy 1.25.)
x[i] = (x[i - 1]
.pybuild/cpython3_3.12_astroml/build/astroML/time_series/tests/test_periodogram.py::test_search_frequencies
/<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_astroml/build/astroML/time_series/periodogram.py:280:
AstroMLDeprecationWarning: The lomb_scargle function is deprecated and may be
removed in a future version.
Use astropy.stats.LombScargle instead.
power_best = LS_func(t, y, dy, omega_best, **LS_kwargs)
.pybuild/cpython3_3.12_astroml/build/astroML/time_series/tests/test_periodogram.py::test_search_frequencies
/<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_astroml/build/astroML/time_series/periodogram.py:299:
AstroMLDeprecationWarning: The lomb_scargle function is deprecated and may be
removed in a future version.
Use astropy.stats.LombScargle instead.
power = LS_func(t, y, dy, omega, **LS_kwargs)
-- Docs: https://docs.pytest.org/en/stable/how-to/capture-warnings.html
=========================== short test summary info ============================
FAILED
astroML/density_estimation/empirical.py::astroML.density_estimation.empirical.EmpiricalDistribution
FAILED astroML/utils/utils.py::astroML.utils.utils.log_multivariate_gaussian
============ 2 failed, 213 passed, 4 skipped, 130 warnings in 7.29s ============
E: pybuild pybuild:389: test: plugin pyproject failed with: exit code=1: cd
/<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_astroml/build; python3.12 -m pytest
I: pybuild base:311: cd /<<PKGBUILDDIR>>/.pybuild/cpython3_3.13_astroml/build;
python3.13 -m pytest
============================= test session starts ==============================
platform linux -- Python 3.13.2, pytest-8.3.4, pluggy-1.5.0
rootdir: /<<PKGBUILDDIR>>
configfile: setup.cfg
plugins: filter-subpackage-0.2.0, mock-3.14.0, astropy-header-0.2.2,
typeguard-4.4.1, remotedata-0.4.1, cov-5.0.0, hypothesis-6.124.0,
astropy-0.11.0, doctestplus-1.4.0, arraydiff-0.6.1
collected 219 items
astroML/classification/tests/test_gmm_bayes.py ..... [ 2%]
astroML/clustering/tests/test_MST_clustering.py ... [ 3%]
astroML/datasets/LIGO_bigdog.py . [ 4%]
astroML/datasets/LINEAR_sample.py s [ 4%]
astroML/datasets/dr7_quasar.py . [ 5%]
astroML/datasets/imaging_sample.py . [ 5%]
astroML/datasets/moving_objects.py . [ 5%]
astroML/datasets/rrlyrae_mags.py . [ 6%]
astroML/datasets/sdss_S82standards.py s [ 6%]
astroML/datasets/sdss_specgals.py . [ 7%]
astroML/datasets/sdss_sspp.py . [ 7%]
astroML/datasets/tests/test_datasets.py s [ 8%]
astroML/density_estimation/bayesian_blocks.py . [ 8%]
astroML/density_estimation/empirical.py F [ 9%]
astroML/density_estimation/tests/test_bayesian_blocks.py ..... [ 11%]
astroML/density_estimation/tests/test_density.py ... [ 12%]
astroML/density_estimation/tests/test_empirical.py .. [ 13%]
astroML/density_estimation/tests/test_hist_binwidth.py .... [ 15%]
astroML/density_estimation/tests/test_xdeconv.py .... [ 17%]
astroML/dimensionality/tests/test_iterative_PCA.py . [ 17%]
astroML/filters.py . [ 18%]
astroML/linear_model/tests/test_TLS.py . [ 18%]
astroML/linear_model/tests/test_kernel_regression.py ... [ 20%]
astroML/linear_model/tests/test_linear_regression.py .......s [ 23%]
astroML/plotting/tests/test_devectorize.py . [ 24%]
astroML/plotting/tools.py .. [ 25%]
astroML/stats/_binned_statistic.py . [ 25%]
astroML/stats/tests/test_binned_statistic.py ............ [ 31%]
astroML/stats/tests/test_stats.py ..................................... [ 47%]
astroML/tests/test_correlation.py .. [ 48%]
astroML/tests/test_filters.py .... [ 50%]
astroML/tests/test_fourier.py .......................................... [ 69%]
........................................... [ 89%]
astroML/tests/test_lumfunc.py . [ 89%]
astroML/tests/test_resample.py ....... [ 93%]
astroML/time_series/tests/test_generate.py ..... [ 95%]
astroML/time_series/tests/test_periodogram.py . [ 95%]
astroML/utils/decorators.py . [ 96%]
astroML/utils/tests/test_pickle_results.py . [ 96%]
astroML/utils/tests/test_utils.py ...... [ 99%]
astroML/utils/utils.py F [100%]
=================================== FAILURES ===================================
_____ [doctest] astroML.density_estimation.empirical.EmpiricalDistribution _____
065 ----------
066 data : one-dimensional array
067 input data
068
069 Examples
070 --------
071 >>> import numpy as np
072 >>> np.random.seed(0)
073 >>> x = np.random.normal(size=10000) # normally-distributed variables
074 >>> x.mean(), x.std()
Expected:
(-0.018433720158265783, 0.98755656817612003)
Got:
(np.float64(-0.018433720158265818), np.float64(0.9875565681761208))
/<<PKGBUILDDIR>>/.pybuild/cpython3_3.13_astroml/build/astroML/density_estimation/empirical.py:74:
DocTestFailure
___________ [doctest] astroML.utils.utils.log_multivariate_gaussian ____________
047 values: ndarray
048 shape = broadcast(x.shape[:-1], mu.shape[:-1], V.shape[:-2])
049
050 Examples
051 --------
052
053 >>> x = [1, 2]
054 >>> mu = [0, 0]
055 >>> V = [[2, 1], [1, 2]]
056 >>> log_multivariate_gaussian(x, mu, V)
Expected:
-3.3871832107434003
Got:
np.float64(-3.3871832107434003)
/<<PKGBUILDDIR>>/.pybuild/cpython3_3.13_astroml/build/astroML/utils/utils.py:56:
DocTestFailure
=============================== warnings summary ===============================
../../../../../../usr/lib/python3/dist-packages/_pytest/config/__init__.py:1441
/usr/lib/python3/dist-packages/_pytest/config/__init__.py:1441:
PytestConfigWarning: Unknown config option: testspaths
self._warn_or_fail_if_strict(f"Unknown config option: {key}\n")
astroML/datasets/tools/sdss_fits.py:9
/<<PKGBUILDDIR>>/.pybuild/cpython3_3.13_astroml/build/astroML/datasets/tools/sdss_fits.py:9:
DeprecationWarning: Please import `gaussian_filter1d` from the `scipy.ndimage`
namespace; the `scipy.ndimage.filters` namespace is deprecated and will be
removed in SciPy 2.0.0.
from scipy.ndimage.filters import gaussian_filter1d, uniform_filter1d
astroML/datasets/tools/sdss_fits.py:9
/<<PKGBUILDDIR>>/.pybuild/cpython3_3.13_astroml/build/astroML/datasets/tools/sdss_fits.py:9:
DeprecationWarning: Please import `uniform_filter1d` from the `scipy.ndimage`
namespace; the `scipy.ndimage.filters` namespace is deprecated and will be
removed in SciPy 2.0.0.
from scipy.ndimage.filters import gaussian_filter1d, uniform_filter1d
astroML/decorators.py:7
/<<PKGBUILDDIR>>/.pybuild/cpython3_3.13_astroml/build/astroML/decorators.py:7:
AstroMLDeprecationWarning: 'decorators' has been moved to 'astroML.utils' and
will be removed from the main namespace in the future.
warnings.warn("'decorators' has been moved to 'astroML.utils' and will be "
astroML/linear_model/linear_regression_errors.py:10
/<<PKGBUILDDIR>>/.pybuild/cpython3_3.13_astroml/build/astroML/linear_model/linear_regression_errors.py:10:
UserWarning: LinearRegressionwithErrors requires PyMC3 to be installed
warnings.warn('LinearRegressionwithErrors requires PyMC3 to be installed')
.pybuild/cpython3_3.13_astroml/build/astroML/density_estimation/bayesian_blocks.py::astroML.density_estimation.bayesian_blocks.bayesian_blocks
<doctest astroML.density_estimation.bayesian_blocks.bayesian_blocks[1]>:1:
AstroMLDeprecationWarning: The bayesian_blocks function is deprecated and may
be removed in a future version.
Use astropy.stats.bayesian_blocks instead.
.pybuild/cpython3_3.13_astroml/build/astroML/density_estimation/bayesian_blocks.py::astroML.density_estimation.bayesian_blocks.bayesian_blocks
/<<PKGBUILDDIR>>/.pybuild/cpython3_3.13_astroml/build/astroML/density_estimation/bayesian_blocks.py:263:
AstroMLDeprecationWarning: The Events class is deprecated and may be removed
in a future version.
Use astropy.stats.Events instead.
fitfunc = Events(**kwargs)
.pybuild/cpython3_3.13_astroml/build/astroML/density_estimation/bayesian_blocks.py::astroML.density_estimation.bayesian_blocks.bayesian_blocks
/usr/lib/python3/dist-packages/astropy/utils/decorators.py:140:
AstroMLDeprecationWarning: The FitnessFunc class is deprecated and may be
removed in a future version.
Use astropy.stats.FitnessFunc instead.
return func(*args, **kwargs)
.pybuild/cpython3_3.13_astroml/build/astroML/density_estimation/bayesian_blocks.py::astroML.density_estimation.bayesian_blocks.bayesian_blocks
/<<PKGBUILDDIR>>/.pybuild/cpython3_3.13_astroml/build/astroML/density_estimation/bayesian_blocks.py:267:
AstroMLDeprecationWarning: The RegularEvents class is deprecated and may be
removed in a future version.
Use astropy.stats.RegularEvents instead.
fitfunc = RegularEvents(**kwargs)
.pybuild/cpython3_3.13_astroml/build/astroML/density_estimation/bayesian_blocks.py::astroML.density_estimation.bayesian_blocks.bayesian_blocks
/<<PKGBUILDDIR>>/.pybuild/cpython3_3.13_astroml/build/astroML/density_estimation/bayesian_blocks.py:271:
AstroMLDeprecationWarning: The PointMeasures class is deprecated and may be
removed in a future version.
Use astropy.stats.PointMeasures instead.
fitfunc = PointMeasures(**kwargs)
.pybuild/cpython3_3.13_astroml/build/astroML/dimensionality/tests/test_iterative_PCA.py::test_iterative_PCA
/<<PKGBUILDDIR>>/.pybuild/cpython3_3.13_astroml/build/astroML/dimensionality/iterative_pca.py:136:
RuntimeWarning: invalid value encountered in divide
ratio_i = X[i][notM[i]] / X_recons[i][notM[i]]
.pybuild/cpython3_3.13_astroml/build/astroML/filters.py::astroML.filters.savitzky_golay
<doctest astroML.filters.savitzky_golay[2]>:1: AstroMLDeprecationWarning: The
savitzky_golay function is deprecated and may be removed in a future version.
Use scipy.signal.savgol_filter instead.
.pybuild/cpython3_3.13_astroml/build/astroML/stats/tests/test_binned_statistic.py::test_1d_mean
.pybuild/cpython3_3.13_astroml/build/astroML/stats/tests/test_binned_statistic.py::test_2d_mean
.pybuild/cpython3_3.13_astroml/build/astroML/stats/tests/test_binned_statistic.py::test_dd_mean
/<<PKGBUILDDIR>>/.pybuild/cpython3_3.13_astroml/build/astroML/stats/_binned_statistic.py:321:
RuntimeWarning: invalid value encountered in divide
result[a] /= flatcount
.pybuild/cpython3_3.13_astroml/build/astroML/stats/tests/test_binned_statistic.py::test_1d_mean
.pybuild/cpython3_3.13_astroml/build/astroML/stats/tests/test_binned_statistic.py::test_1d_median
.pybuild/cpython3_3.13_astroml/build/astroML/stats/tests/test_binned_statistic.py::test_2d_mean
.pybuild/cpython3_3.13_astroml/build/astroML/stats/tests/test_binned_statistic.py::test_2d_median
.pybuild/cpython3_3.13_astroml/build/astroML/stats/tests/test_binned_statistic.py::test_dd_mean
.pybuild/cpython3_3.13_astroml/build/astroML/stats/tests/test_binned_statistic.py::test_dd_median
/usr/lib/python3/dist-packages/numpy/_core/fromnumeric.py:3860:
RuntimeWarning: Mean of empty slice.
return _methods._mean(a, axis=axis, dtype=dtype,
.pybuild/cpython3_3.13_astroml/build/astroML/stats/tests/test_binned_statistic.py::test_1d_mean
.pybuild/cpython3_3.13_astroml/build/astroML/stats/tests/test_binned_statistic.py::test_1d_median
.pybuild/cpython3_3.13_astroml/build/astroML/stats/tests/test_binned_statistic.py::test_2d_mean
.pybuild/cpython3_3.13_astroml/build/astroML/stats/tests/test_binned_statistic.py::test_2d_median
.pybuild/cpython3_3.13_astroml/build/astroML/stats/tests/test_binned_statistic.py::test_dd_mean
.pybuild/cpython3_3.13_astroml/build/astroML/stats/tests/test_binned_statistic.py::test_dd_median
/usr/lib/python3/dist-packages/numpy/_core/_methods.py:145: RuntimeWarning:
invalid value encountered in scalar divide
ret = ret.dtype.type(ret / rcount)
.pybuild/cpython3_3.13_astroml/build/astroML/tests/test_resample.py::test_bootstrap_covar
/<<PKGBUILDDIR>>/.pybuild/cpython3_3.13_astroml/build/astroML/resample.py:45:
UserWarning: bootstrap data are n-dimensional: assuming ordered n_samples by
n_attributes
warnings.warn("bootstrap data are n-dimensional: "
.pybuild/cpython3_3.13_astroml/build/astroML/time_series/tests/test_generate.py::test_generate_RW
/<<PKGBUILDDIR>>/.pybuild/cpython3_3.13_astroml/build/astroML/time_series/generate.py:126:
DeprecationWarning: Conversion of an array with ndim > 0 to a scalar is
deprecated, and will error in future. Ensure you extract a single element from
your array before performing this operation. (Deprecated NumPy 1.25.)
x[0] = random_state.normal(xmean, SFinf)
.pybuild/cpython3_3.13_astroml/build/astroML/time_series/tests/test_generate.py:
99 warnings
/<<PKGBUILDDIR>>/.pybuild/cpython3_3.13_astroml/build/astroML/time_series/generate.py:131:
DeprecationWarning: Conversion of an array with ndim > 0 to a scalar is
deprecated, and will error in future. Ensure you extract a single element from
your array before performing this operation. (Deprecated NumPy 1.25.)
x[i] = (x[i - 1]
.pybuild/cpython3_3.13_astroml/build/astroML/time_series/tests/test_periodogram.py::test_search_frequencies
/<<PKGBUILDDIR>>/.pybuild/cpython3_3.13_astroml/build/astroML/time_series/periodogram.py:280:
AstroMLDeprecationWarning: The lomb_scargle function is deprecated and may be
removed in a future version.
Use astropy.stats.LombScargle instead.
power_best = LS_func(t, y, dy, omega_best, **LS_kwargs)
.pybuild/cpython3_3.13_astroml/build/astroML/time_series/tests/test_periodogram.py::test_search_frequencies
/<<PKGBUILDDIR>>/.pybuild/cpython3_3.13_astroml/build/astroML/time_series/periodogram.py:299:
AstroMLDeprecationWarning: The lomb_scargle function is deprecated and may be
removed in a future version.
Use astropy.stats.LombScargle instead.
power = LS_func(t, y, dy, omega, **LS_kwargs)
-- Docs: https://docs.pytest.org/en/stable/how-to/capture-warnings.html
=========================== short test summary info ============================
FAILED
astroML/density_estimation/empirical.py::astroML.density_estimation.empirical.EmpiricalDistribution
FAILED astroML/utils/utils.py::astroML.utils.utils.log_multivariate_gaussian
============ 2 failed, 213 passed, 4 skipped, 130 warnings in 7.04s ============
E: pybuild pybuild:389: test: plugin pyproject failed with: exit code=1: cd
/<<PKGBUILDDIR>>/.pybuild/cpython3_3.13_astroml/build; python3.13 -m pytest
dh_auto_test: error: pybuild --test --test-pytest -i python{version} -p "3.12
3.13" returned exit code 13
make: *** [debian/rules:7: 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/202502/
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 add an affects on src:astroml, so that this is still
visible in the BTS web page for this package.
Thanks.
--- End Message ---