Your message dated Sun, 09 Feb 2025 15:31:35 +0000
with message-id <e1th9ht-00bsz8...@fasolo.debian.org>
and subject line Bug#1095328: fixed in astroml 1.0.2-6
has caused the Debian Bug report #1095328,
regarding astroml: FTBFS: failure in [doctest] 
astroML.density_estimation.empirical.EmpiricalDistribution
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.)


-- 
1095328: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1095328
Debian Bug Tracking System
Contact ow...@bugs.debian.org with problems
--- 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 ---
--- Begin Message ---
Source: astroml
Source-Version: 1.0.2-6
Done: Ole Streicher <oleb...@debian.org>

We believe that the bug you reported is fixed in the latest version of
astroml, 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 1095...@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Ole Streicher <oleb...@debian.org> (supplier of updated astroml 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: Sun, 09 Feb 2025 14:43:39 +0100
Source: astroml
Architecture: source
Version: 1.0.2-6
Distribution: unstable
Urgency: medium
Maintainer: Debian Astronomy Team 
<debian-astro-maintain...@lists.alioth.debian.org>
Changed-By: Ole Streicher <oleb...@debian.org>
Closes: 1095328
Changes:
 astroml (1.0.2-6) unstable; urgency=medium
 .
   * Add author and date to matplotlib3.8 patch
   * Explicitly cast doctest results to float (Closes: #1095328)
   * Push Standards-Version to 4.7.0. No changes needed
Checksums-Sha1:
 63738acaea64b4a221054867d74dd5e4c99a1967 2361 astroml_1.0.2-6.dsc
 3d9aa9a71d3b1d1a93656a5ec31f4fc516af56e6 6904 astroml_1.0.2-6.debian.tar.xz
Checksums-Sha256:
 b511f7fb1b5b046656182815c3214c489dcb5e5993ad1eb9399316147b69bf42 2361 
astroml_1.0.2-6.dsc
 8b006a26e451339a2c206078755a04f1d4b5341c7b93ba2f0a3fbc7941f5b15d 6904 
astroml_1.0.2-6.debian.tar.xz
Files:
 eefbb6974313c6bd37d719af173ab7c0 2361 python optional astroml_1.0.2-6.dsc
 8c1a327b0a51dcda9dc81eac3c0654ed 6904 python optional 
astroml_1.0.2-6.debian.tar.xz

-----BEGIN PGP SIGNATURE-----

iQIzBAEBCgAdFiEE7/BpV0Ra2/h0L3qtmk9WvbkOGL0FAmeotOcACgkQmk9WvbkO
GL2NJw//XCBhyvdJIQWHthosdkc4Ywele0r+N/jSsWecDkNv+UGBsKB+SkEixtD1
ZX0TdPRUbtz60eAtozY4B28ZcWt7x5WyCkDbXYBqwRv7LHUFGWhjU/V3L3pB/K6v
uhd3m9z9ZE6BHqH4qiL8nn6ulZYR17XoVm0xQrULjfzmtJCMwbuFQWv5hzKDE4uH
AxcnCR5PsqujGk1nrCJVz24yNEP6e0BE3uITSeqZNZ2CH5vSWWbSyxXUL6pu2QKU
w4Gbcjwpm/1lbZLTQCNNuwyb1B07NVL5tPVt8KBe708AXLX13i8cLE/oKpa1+8Hb
3s7MRjuiC4Kgnr/BzTnpYhZREUK2c+CSiJ56+/t0GKnKyOeGnrycuOjXj/iou4Vk
rsY9r/sZH+ZYUnAFEK0G2gVi9ZSEpFWV4Tx1gy9bAVDI45+7oibWB4XeaiI8QDf0
9717bbDD8X5lEw/yw5Gx1RAkQAniX09fQEWSe76wwc98lbsrjQ8aPVpn1tK/JAx6
+sY174fP3hTF8P0AJHyHRMcc6xb7DvEor0Np+aOAjAxHDkA0fAUWo9FRHOhRKk9S
Mq8Z3V8FW23nK/czpKjrG/uu/ZIWIgWmq+f+SfG9W2vkv22pvlKG1UGmAubOW1KB
wS3hakDNcmwBLK1QRQTTXATdHrNLNaz2YWHzo8/whRCRVu/OTg0=
=H4lE
-----END PGP SIGNATURE-----

Attachment: pgpOSxuBrqTIA.pgp
Description: PGP signature


--- End Message ---

Reply via email to