Your message dated Sun, 22 Dec 2024 14:34:24 +0000
with message-id <[email protected]>
and subject line Bug#1088715: fixed in astroplan 0.10.1-1
has caused the Debian Bug report #1088715,
regarding astroplan: FTBFS: ValueError: interpolating from IERS_Auto using 
predictive values that are more than 30.0 days old.
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 [email protected]
immediately.)


-- 
1088715: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1088715
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Package: src:astroplan
Version: 0.10-1
Severity: serious
Tags: ftbfs

Dear maintainer:

During a rebuild of all packages in unstable, your package failed to build:

--------------------------------------------------------------------------------
[...]
 debian/rules binary
py3versions: no X-Python3-Version in control file, using supported versions
dh binary --with sphinxdoc --buildsystem=pybuild
   dh_update_autotools_config -O--buildsystem=pybuild
   dh_autoreconf -O--buildsystem=pybuild
   dh_auto_configure -O--buildsystem=pybuild
I: pybuild base:311: python3.13 setup.py config
/usr/lib/python3/dist-packages/setuptools/__init__.py:94: _DeprecatedInstaller: 
setuptools.installer and fetch_build_eggs are deprecated.
!!

        
********************************************************************************
        Requirements should be satisfied by a PEP 517 installer.
        If you are using pip, you can try `pip install --use-pep517`.
        
********************************************************************************

[... snipped ...]

writing output... [ 80%] faq/contribute
writing output... [ 82%] faq/iers
writing output... [ 83%] faq/index
writing output... [ 85%] faq/precision
writing output... [ 86%] faq/terminology
writing output... [ 87%] getting_started
writing output... [ 89%] index
writing output... [ 90%] installation
writing output... [ 92%] tutorials/constraints
writing output... [ 93%] tutorials/index
writing output... [ 94%] tutorials/periodic
writing output... [ 96%] tutorials/plots
writing output... [ 97%] tutorials/scheduling
writing output... [ 99%] tutorials/speed
writing output... [100%] tutorials/summer_triangle

WARNING: dot command 'dot' cannot be run (needed for graphviz output), check 
the graphviz_dot setting
/<<PKGBUILDDIR>>/astroplan/constraints.py:docstring of 
astroplan.constraints.Constraint.__call__:20: WARNING: py:obj reference target not found: 
astropy.units.quantity
/<<PKGBUILDDIR>>/astroplan/utils.py:docstring of 
astroplan.utils.time_grid_from_range:10: WARNING: py:obj reference target not found: 
astropy.units.quantity
/<<PKGBUILDDIR>>/docs/tutorials/periodic.rst:101: WARNING: py:obj reference 
target not found: astroquery.ipac.nexsci.nasa_exoplanet_archive
/<<PKGBUILDDIR>>/docs/tutorials/periodic.rst:101: WARNING: py:obj reference 
target not found: astroquery.exoplanet_orbit_database
/<<PKGBUILDDIR>>/docs/tutorials/periodic.rst:101: WARNING: py:obj reference 
target not found: astroquery.open_exoplanet_catalogue
generating indices... genindex py-modindex done
highlighting module code... [  9%] astroplan.constraints
highlighting module code... [ 18%] astroplan.exceptions
highlighting module code... [ 27%] astroplan.moon
highlighting module code... [ 36%] astroplan.observer
highlighting module code... [ 45%] astroplan.periodic
highlighting module code... [ 55%] astroplan.plots.finder
highlighting module code... [ 64%] astroplan.plots.sky
highlighting module code... [ 73%] astroplan.plots.time_dependent
highlighting module code... [ 82%] astroplan.scheduling
highlighting module code... [ 91%] astroplan.target
highlighting module code... [100%] astroplan.utils

writing additional pages... search done
copying images... [  5%] ../build/html/plot_directive/faq/iers-1.png
copying images... [ 10%] ../build/html/plot_directive/tutorials/plots-1.png
copying images... [ 15%] ../build/html/plot_directive/tutorials/plots-2.png
copying images... [ 20%] ../build/html/plot_directive/tutorials/plots-3.png
copying images... [ 25%] ../build/html/plot_directive/tutorials/plots-4.png
copying images... [ 30%] ../build/html/plot_directive/tutorials/plots-5.png
copying images... [ 35%] ../build/html/plot_directive/tutorials/plots-6.png
copying images... [ 40%] ../build/html/plot_directive/tutorials/plots-7.png
copying images... [ 45%] ../build/html/plot_directive/tutorials/plots-10.png
copying images... [ 50%] ../build/html/plot_directive/tutorials/plots-11.png
copying images... [ 55%] ../build/html/plot_directive/tutorials/plots-12.png
copying images... [ 60%] ../build/html/plot_directive/tutorials/plots-13.png
copying images... [ 65%] ../build/html/plot_directive/tutorials/plots-14.png
copying images... [ 70%] 
../build/html/plot_directive/tutorials/plots-15_00_00.png
copying images... [ 75%] 
../build/html/plot_directive/tutorials/plots-15_01_00.png
copying images... [ 80%] 
../build/html/plot_directive/tutorials/summer_triangle-1.png
copying images... [ 85%] 
../build/html/plot_directive/tutorials/summer_triangle-2.png
copying images... [ 90%] 
../build/html/plot_directive/tutorials/summer_triangle-3_00_00.png
copying images... [ 95%] 
../build/html/plot_directive/tutorials/summer_triangle-3_01_00.png
copying images... [100%] 
../build/html/plot_directive/tutorials/summer_triangle-4.png

dumping search index in English (code: en)... done
dumping object inventory... done
Highlighting style a11y-high-contrast-light not found by pygments, falling back 
to tango.
Highlighting style a11y-high-contrast-dark not found by pygments, falling back 
to monokai.
build succeeded, 16 warnings.

The HTML pages are in build/html.
make[1]: Leaving directory '/<<PKGBUILDDIR>>'
   dh_auto_test -O--buildsystem=pybuild
I: pybuild base:311: cd 
/<<PKGBUILDDIR>>/.pybuild/cpython3_3.13_astroplan/build; python3.13 -m pytest
============================= test session starts ==============================
platform linux -- Python 3.13.0, pytest-8.3.3, pluggy-1.5.0
Running tests in .pybuild/cpython3_3.13_astroplan/build.

Date: 2024-11-29T21:28:25

Platform: Linux-6.1.0-28-amd64-x86_64-with-glibc2.40

Executable: /usr/bin/python3.13

Full Python Version:
3.13.0 (main, Nov 12 2024, 09:54:22) [GCC 14.2.0]

encodings: sys: utf-8, locale: UTF-8, filesystem: utf-8
byteorder: little
float info: dig: 15, mant_dig: 15

Package versions:
Numpy: 1.26.4
Scipy: 1.14.1
Matplotlib: 3.8.3
h5py: not available
Pandas: not available

Using Astropy options: remote_data: none.

rootdir: /<<PKGBUILDDIR>>
configfile: setup.cfg
plugins: filter-subpackage-0.2.0, doctestplus-1.3.0, mock-3.14.0, 
astropy-header-0.2.2, typeguard-4.4.1, remotedata-0.4.1, cov-5.0.0, 
astropy-0.11.0, arraydiff-0.6.1, hypothesis-6.121.0
collected 94 items

astroplan/constraints.py .....                                           [  5%]
astroplan/plots/tests/test_sky.py .F                                     [  7%]
astroplan/target.py .                                                    [  8%]
astroplan/tests/test_constraints.py .........................            [ 35%]
astroplan/tests/test_moon.py .                                           [ 36%]
astroplan/tests/test_observer.py ....................................    [ 74%]
astroplan/tests/test_periodic.py .....                                   [ 79%]
astroplan/tests/test_scheduling.py .............                         [ 93%]
astroplan/tests/test_target.py ...                                       [ 96%]
astroplan/tests/test_utils.py ...                                        [100%]

=================================== FAILURES ===================================
________________________________ test_timezone _________________________________

    @pytest.mark.skipif('not HAS_MATPLOTLIB')
    @pytest.mark.mpl_image_compare
    def test_timezone():
        from astropy import coordinates
        from astropy import units as u
        from ..time_dependent import plot_airmass
        from ... import Observer
        import datetime
        import pytz
betelgeuse = coordinates.SkyCoord(88.79293899*u.deg, 7.407064*u.deg, frame='icrs')
        observer = Observer(coordinates.EarthLocation.of_site('subaru'))
        # Eastern time... because you're remote-operating Subaru from home...?
        now_ET = pytz.timezone('US/Eastern').localize(datetime.datetime.now())
      plot_airmass(betelgeuse, observer, now_ET, use_local_tz=True)

astroplan/plots/tests/test_sky.py:42:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
astroplan/plots/time_dependent.py:185: in plot_airmass
    airmass = observer.altaz(time_ut, target).secz
astroplan/observer.py:609: in altaz
    return target.transform_to(altaz_frame)
/usr/lib/python3/dist-packages/astropy/coordinates/sky_coordinate.py:555: in 
transform_to
    new_coord = trans(self.frame, generic_frame)
/usr/lib/python3/dist-packages/astropy/coordinates/transformations/composite.py:113:
 in __call__
    curr_coord = t(curr_coord, curr_toframe)
/usr/lib/python3/dist-packages/astropy/coordinates/transformations/function.py:175:
 in __call__
    return supcall(fromcoord, toframe)
/usr/lib/python3/dist-packages/astropy/coordinates/builtin_frames/icrs_observed_transforms.py:35:
 in icrs_to_observed
    astrom = erfa_astrom.get().apco(observed_frame)
/usr/lib/python3/dist-packages/astropy/coordinates/erfa_astrom.py:57: in apco
    era = erfa.era00(*get_jd12(obstime, "ut1"))
/usr/lib/python3/dist-packages/astropy/coordinates/builtin_frames/utils.py:115: 
in get_jd12
    newtime = getattr(time, scale)
/usr/lib/python3/dist-packages/astropy/time/core.py:1769: in __getattr__
    tm._set_scale(attr)
/usr/lib/python3/dist-packages/astropy/time/core.py:828: in _set_scale
    args.append(get_dt(jd1, jd2))
/usr/lib/python3/dist-packages/astropy/time/core.py:2558: in _get_delta_ut1_utc
    delta = iers_table.ut1_utc(jd1, jd2)
/usr/lib/python3/dist-packages/astropy/utils/iers/iers.py:346: in ut1_utc
    return self._interpolate(
/usr/lib/python3/dist-packages/astropy/utils/iers/iers.py:500: in _interpolate
    self._check_interpolate_indices(i1, i, np.max(mjd, initial=50000))
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

self = <IERS_Auto length=19192>
 year month  day    MJD   PolPMFlag_A ... PolPMFlag dX_2000A dY_2000A NutFlag
               ...P ...         P      nan      nan       0
   25     7    19 60875.0           P ...         P      nan      nan       0
indices_orig = array([18960, 18960, 18960, 18960, 18960, 18960, 18960, 18960, 
18960,
       18960, 18960, 18960, 18960, 18960, 18960,...18961, 18961, 18961, 18961, 
18961,
       18961, 18961, 18961, 18961, 18961, 18961, 18961, 18961, 18961,
       18961])
indices_clipped = array([18960, 18960, 18960, 18960, 18960, 18960, 18960, 
18960, 18960,
       18960, 18960, 18960, 18960, 18960, 18960,...18961, 18961, 18961, 18961, 
18961,
       18961, 18961, 18961, 18961, 18961, 18961, 18961, 18961, 18961,
       18961])
max_input_mjd = 60644.0

    def _check_interpolate_indices(self, indices_orig, indices_clipped, 
max_input_mjd):
        """Check that the indices from interpolation match those after clipping 
to the
        valid table range.  The IERS_Auto class is exempted as long as it has
        sufficiently recent available data so the clipped interpolation is
        always within the confidence bounds of current Earth rotation
        knowledge.
        """
        predictive_mjd = self.meta["predictive_mjd"]
# See explanation in _refresh_table_as_needed for these conditions
        auto_max_age = _none_to_float(conf.auto_max_age)
        if (
            max_input_mjd > predictive_mjd
            and self.time_now.mjd - predictive_mjd > auto_max_age
        ):
          raise ValueError(INTERPOLATE_ERROR.format(auto_max_age))
E           ValueError: interpolating from IERS_Auto using predictive values 
that are more
E           than 30.0 days old.
E
E           Normally you should not see this error because this class
E           automatically downloads the latest IERS-A table.  Perhaps you are
E           offline?  If you understand what you are doing then this error can 
be
E           suppressed by setting the auto_max_age configuration variable to
E           ``None``:
E
E             from astropy.utils.iers import conf
E             conf.auto_max_age = None

/usr/lib/python3/dist-packages/astropy/utils/iers/iers.py:870: ValueError
=============================== warnings summary ===============================
astroplan/plots/tests/test_sky.py:18
  
/<<PKGBUILDDIR>>/.pybuild/cpython3_3.13_astroplan/build/astroplan/plots/tests/test_sky.py:18:
 PytestUnknownMarkWarning: Unknown pytest.mark.mpl_image_compare - is this a typo?  You can 
register custom marks to avoid this warning - for details, see 
https://docs.pytest.org/en/stable/how-to/mark.html
    @pytest.mark.mpl_image_compare

astroplan/plots/tests/test_sky.py:28
  
/<<PKGBUILDDIR>>/.pybuild/cpython3_3.13_astroplan/build/astroplan/plots/tests/test_sky.py:28:
 PytestUnknownMarkWarning: Unknown pytest.mark.mpl_image_compare - is this a typo?  You can 
register custom marks to avoid this warning - for details, see 
https://docs.pytest.org/en/stable/how-to/mark.html
    @pytest.mark.mpl_image_compare

.pybuild/cpython3_3.13_astroplan/build/astroplan/plots/tests/test_sky.py::test_image_example
  /usr/lib/python3/dist-packages/_pytest/python.py:163: PytestReturnNotNoneWarning: 
Expected None, but 
.pybuild/cpython3_3.13_astroplan/build/astroplan/plots/tests/test_sky.py::test_image_example
 returned <Figure size 640x480 with 1 Axes>, which will be an error in a future 
version of pytest.  Did you mean to use `assert` instead of `return`?
    warnings.warn(

.pybuild/cpython3_3.13_astroplan/build/astroplan/plots/tests/test_sky.py: 2 
warnings
.pybuild/cpython3_3.13_astroplan/build/astroplan/tests/test_constraints.py: 18 
warnings
.pybuild/cpython3_3.13_astroplan/build/astroplan/tests/test_observer.py: 45 
warnings
.pybuild/cpython3_3.13_astroplan/build/astroplan/tests/test_scheduling.py: 8 
warnings
.pybuild/cpython3_3.13_astroplan/build/astroplan/tests/test_target.py: 1 warning
  /usr/lib/python3/dist-packages/astropy/utils/iers/iers.py:833: IERSWarning: failed 
to download https://datacenter.iers.org/data/9/finals2000A.all: <urlopen error 
[Errno 111] Connection refused>
    warn(f"failed to download {url}: {err}", IERSWarning)

.pybuild/cpython3_3.13_astroplan/build/astroplan/plots/tests/test_sky.py: 2 
warnings
.pybuild/cpython3_3.13_astroplan/build/astroplan/tests/test_constraints.py: 18 
warnings
.pybuild/cpython3_3.13_astroplan/build/astroplan/tests/test_observer.py: 45 
warnings
.pybuild/cpython3_3.13_astroplan/build/astroplan/tests/test_scheduling.py: 8 
warnings
.pybuild/cpython3_3.13_astroplan/build/astroplan/tests/test_target.py: 1 warning
  /usr/lib/python3/dist-packages/astropy/utils/iers/iers.py:833: IERSWarning: failed 
to download https://maia.usno.navy.mil/ser7/finals2000A.all: <urlopen error [Errno 
111] Connection refused>
    warn(f"failed to download {url}: {err}", IERSWarning)

.pybuild/cpython3_3.13_astroplan/build/astroplan/plots/tests/test_sky.py: 2 
warnings
.pybuild/cpython3_3.13_astroplan/build/astroplan/tests/test_constraints.py: 18 
warnings
.pybuild/cpython3_3.13_astroplan/build/astroplan/tests/test_observer.py: 45 
warnings
.pybuild/cpython3_3.13_astroplan/build/astroplan/tests/test_scheduling.py: 8 
warnings
.pybuild/cpython3_3.13_astroplan/build/astroplan/tests/test_target.py: 1 warning
  /usr/lib/python3/dist-packages/astropy/utils/iers/iers.py:848: IERSWarning: 
unable to download valid IERS file, using bundled IERS-A
    warn(

.pybuild/cpython3_3.13_astroplan/build/astroplan/plots/tests/test_sky.py::test_timezone
  /usr/lib/python3/dist-packages/astropy/utils/iers/iers.py:920: AstropyWarning: 
failed to download https://datacenter.iers.org/data/9/finals2000A.all and 
https://maia.usno.navy.mil/ser7/finals2000A.all: <urlopen error Unable to open any 
source! Exceptions were {'https://datacenter.iers.org/data/9/finals2000A.all': 
URLError(ConnectionRefusedError(111, 'Connection refused')), 
'https://maia.usno.navy.mil/ser7/finals2000A.all': 
URLError(ConnectionRefusedError(111, 'Connection refused'))}>.
  A coordinate or time-related calculation might be compromised or fail because the dates 
are not covered by the available IERS file.  See the "IERS data access" section 
of the astropy documentation for additional information on working offline.
    warn(

.pybuild/cpython3_3.13_astroplan/build/astroplan/tests/test_constraints.py::test_sun_separation
  /usr/lib/python3/dist-packages/astropy/coordinates/baseframe.py:1985: 
NonRotationTransformationWarning: transforming other coordinates from <ICRS Frame> to 
<GCRS Frame (obstime=2003-04-05 06:07:08.000, obsgeoloc=(-5368362.73938939, 
88215.16702606, 3436531.09497339) m, obsgeovel=(-6.42689654, -391.53883901, 0.01098554) m / 
s)>. Angular separation can depend on the direction of the transformation.
    warnings.warn(NonRotationTransformationWarning(self, other_frame))

.pybuild/cpython3_3.13_astroplan/build/astroplan/tests/test_constraints.py::test_moon_separation
  /usr/lib/python3/dist-packages/astropy/coordinates/baseframe.py:1985: 
NonRotationTransformationWarning: transforming other coordinates from <AltAz Frame 
(obstime=2003-04-05 06:07:08.000, location=(-1463969.30185172, -5166673.34223433, 
3434985.71204565) m, pressure=0.0 hPa, temperature=0.0 deg_C, relative_humidity=0.0, 
obswl=1.0 micron)> to <GCRS Frame (obstime=2003-04-05 06:07:08.000, 
obsgeoloc=(-5368362.73938939, 88215.16702606, 3436531.09497339) m, obsgeovel=(-6.42689654, 
-391.53883901, 0.01098554) m / s)>. Angular separation can depend on the direction of 
the transformation.
    warnings.warn(NonRotationTransformationWarning(self, other_frame))

.pybuild/cpython3_3.13_astroplan/build/astroplan/tests/test_constraints.py::test_regression_shapes[constraint3]
.pybuild/cpython3_3.13_astroplan/build/astroplan/tests/test_constraints.py::test_regression_shapes[constraint4]
  /usr/lib/python3/dist-packages/astropy/coordinates/baseframe.py:1985: 
NonRotationTransformationWarning: transforming other coordinates from <ICRS Frame> 
to <GCRS Frame (obstime=['2015-08-28 03:30:00.000' '2015-09-05 10:30:00.000'
   '2015-09-15 18:35:00.000'], obsgeoloc=[( 5509361.3408454 ,  
1016503.22928743, 3043229.22064993),
   (-3096061.92992127,  4660440.36397163, 3056514.588306  ),
   (-1437160.28756465, -5409076.23981381, 3053530.71513945)] m, obsgeovel=[( 
-74.13471161,  401.41027954,  0.13146191),
   (-339.85448429, -226.10806734,  0.50797505),
   ( 394.42563312, -105.1391762 , -0.60682656)] m / s)>. Angular separation can 
depend on the direction of the transformation.
    warnings.warn(NonRotationTransformationWarning(self, other_frame))

.pybuild/cpython3_3.13_astroplan/build/astroplan/tests/test_constraints.py::test_regression_shapes[constraint3]
.pybuild/cpython3_3.13_astroplan/build/astroplan/tests/test_constraints.py::test_regression_shapes[constraint4]
  /usr/lib/python3/dist-packages/astropy/coordinates/baseframe.py:1985: 
NonRotationTransformationWarning: transforming other coordinates from <ICRS Frame> to 
<GCRS Frame (obstime=2015-08-28 03:30:00.000, obsgeoloc=(5509361.3408454, 
1016503.22928743, 3043229.22064993) m, obsgeovel=(-74.13471161, 401.41027954, 0.13146191) m 
/ s)>. Angular separation can depend on the direction of the transformation.
    warnings.warn(NonRotationTransformationWarning(self, other_frame))

-- Docs: https://docs.pytest.org/en/stable/how-to/capture-warnings.html
=========================== short test summary info ============================
FAILED astroplan/plots/tests/test_sky.py::test_timezone - ValueError: interpo...
============ 1 failed, 93 passed, 232 warnings in 228.59s (0:03:48) ============
E: pybuild pybuild:389: test: plugin distutils failed with: exit code=1: cd 
/<<PKGBUILDDIR>>/.pybuild/cpython3_3.13_astroplan/build; python3.13 -m pytest
I: pybuild base:311: cd 
/<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_astroplan/build; python3.12 -m pytest
============================= test session starts ==============================
platform linux -- Python 3.12.7, pytest-8.3.3, pluggy-1.5.0
Running tests in .pybuild/cpython3_3.12_astroplan/build.

Date: 2024-11-29T21:32:14

Platform: Linux-6.1.0-28-amd64-x86_64-with-glibc2.40

Executable: /usr/bin/python3.12

Full Python Version:
3.12.7 (main, Nov  8 2024, 17:55:36) [GCC 14.2.0]

encodings: sys: utf-8, locale: UTF-8, filesystem: utf-8
byteorder: little
float info: dig: 15, mant_dig: 15

Package versions:
Numpy: 1.26.4
Scipy: 1.14.1
Matplotlib: 3.8.3
h5py: not available
Pandas: not available

Using Astropy options: remote_data: none.

rootdir: /<<PKGBUILDDIR>>
configfile: setup.cfg
plugins: filter-subpackage-0.2.0, doctestplus-1.3.0, mock-3.14.0, 
astropy-header-0.2.2, typeguard-4.4.1, remotedata-0.4.1, cov-5.0.0, 
astropy-0.11.0, arraydiff-0.6.1, hypothesis-6.121.0
collected 94 items

astroplan/constraints.py .....                                           [  5%]
astroplan/plots/tests/test_sky.py .F                                     [  7%]
astroplan/target.py .                                                    [  8%]
astroplan/tests/test_constraints.py .........................            [ 35%]
astroplan/tests/test_moon.py .                                           [ 36%]
astroplan/tests/test_observer.py ....................................    [ 74%]
astroplan/tests/test_periodic.py .....                                   [ 79%]
astroplan/tests/test_scheduling.py .............                         [ 93%]
astroplan/tests/test_target.py ...                                       [ 96%]
astroplan/tests/test_utils.py ...                                        [100%]

=================================== FAILURES ===================================
________________________________ test_timezone _________________________________

    @pytest.mark.skipif('not HAS_MATPLOTLIB')
    @pytest.mark.mpl_image_compare
    def test_timezone():
        from astropy import coordinates
        from astropy import units as u
        from ..time_dependent import plot_airmass
        from ... import Observer
        import datetime
        import pytz
betelgeuse = coordinates.SkyCoord(88.79293899*u.deg, 7.407064*u.deg, frame='icrs')
        observer = Observer(coordinates.EarthLocation.of_site('subaru'))
        # Eastern time... because you're remote-operating Subaru from home...?
        now_ET = pytz.timezone('US/Eastern').localize(datetime.datetime.now())
      plot_airmass(betelgeuse, observer, now_ET, use_local_tz=True)

astroplan/plots/tests/test_sky.py:42:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
astroplan/plots/time_dependent.py:185: in plot_airmass
    airmass = observer.altaz(time_ut, target).secz
astroplan/observer.py:609: in altaz
    return target.transform_to(altaz_frame)
/usr/lib/python3/dist-packages/astropy/coordinates/sky_coordinate.py:555: in 
transform_to
    new_coord = trans(self.frame, generic_frame)
/usr/lib/python3/dist-packages/astropy/coordinates/transformations/composite.py:113:
 in __call__
    curr_coord = t(curr_coord, curr_toframe)
/usr/lib/python3/dist-packages/astropy/coordinates/transformations/function.py:175:
 in __call__
    return supcall(fromcoord, toframe)
/usr/lib/python3/dist-packages/astropy/coordinates/builtin_frames/icrs_observed_transforms.py:35:
 in icrs_to_observed
    astrom = erfa_astrom.get().apco(observed_frame)
/usr/lib/python3/dist-packages/astropy/coordinates/erfa_astrom.py:57: in apco
    era = erfa.era00(*get_jd12(obstime, "ut1"))
/usr/lib/python3/dist-packages/astropy/coordinates/builtin_frames/utils.py:115: 
in get_jd12
    newtime = getattr(time, scale)
/usr/lib/python3/dist-packages/astropy/time/core.py:1769: in __getattr__
    tm._set_scale(attr)
/usr/lib/python3/dist-packages/astropy/time/core.py:828: in _set_scale
    args.append(get_dt(jd1, jd2))
/usr/lib/python3/dist-packages/astropy/time/core.py:2558: in _get_delta_ut1_utc
    delta = iers_table.ut1_utc(jd1, jd2)
/usr/lib/python3/dist-packages/astropy/utils/iers/iers.py:346: in ut1_utc
    return self._interpolate(
/usr/lib/python3/dist-packages/astropy/utils/iers/iers.py:500: in _interpolate
    self._check_interpolate_indices(i1, i, np.max(mjd, initial=50000))
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

self = <IERS_Auto length=19192>
 year month  day    MJD   PolPMFlag_A ... PolPMFlag dX_2000A dY_2000A NutFlag
               ...P ...         P      nan      nan       0
   25     7    19 60875.0           P ...         P      nan      nan       0
indices_orig = array([18960, 18960, 18960, 18960, 18960, 18960, 18960, 18960, 
18960,
       18960, 18960, 18960, 18960, 18960, 18960,...18961, 18961, 18961, 18961, 
18961,
       18961, 18961, 18961, 18961, 18961, 18961, 18961, 18961, 18961,
       18961])
indices_clipped = array([18960, 18960, 18960, 18960, 18960, 18960, 18960, 
18960, 18960,
       18960, 18960, 18960, 18960, 18960, 18960,...18961, 18961, 18961, 18961, 
18961,
       18961, 18961, 18961, 18961, 18961, 18961, 18961, 18961, 18961,
       18961])
max_input_mjd = 60644.0

    def _check_interpolate_indices(self, indices_orig, indices_clipped, 
max_input_mjd):
        """Check that the indices from interpolation match those after clipping 
to the
        valid table range.  The IERS_Auto class is exempted as long as it has
        sufficiently recent available data so the clipped interpolation is
        always within the confidence bounds of current Earth rotation
        knowledge.
        """
        predictive_mjd = self.meta["predictive_mjd"]
# See explanation in _refresh_table_as_needed for these conditions
        auto_max_age = _none_to_float(conf.auto_max_age)
        if (
            max_input_mjd > predictive_mjd
            and self.time_now.mjd - predictive_mjd > auto_max_age
        ):
          raise ValueError(INTERPOLATE_ERROR.format(auto_max_age))
E           ValueError: interpolating from IERS_Auto using predictive values 
that are more
E           than 30.0 days old.
E
E           Normally you should not see this error because this class
E           automatically downloads the latest IERS-A table.  Perhaps you are
E           offline?  If you understand what you are doing then this error can 
be
E           suppressed by setting the auto_max_age configuration variable to
E           ``None``:
E
E             from astropy.utils.iers import conf
E             conf.auto_max_age = None

/usr/lib/python3/dist-packages/astropy/utils/iers/iers.py:870: ValueError
=============================== warnings summary ===============================
astroplan/plots/tests/test_sky.py:18
  
/<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_astroplan/build/astroplan/plots/tests/test_sky.py:18:
 PytestUnknownMarkWarning: Unknown pytest.mark.mpl_image_compare - is this a typo?  You can 
register custom marks to avoid this warning - for details, see 
https://docs.pytest.org/en/stable/how-to/mark.html
    @pytest.mark.mpl_image_compare

astroplan/plots/tests/test_sky.py:28
  
/<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_astroplan/build/astroplan/plots/tests/test_sky.py:28:
 PytestUnknownMarkWarning: Unknown pytest.mark.mpl_image_compare - is this a typo?  You can 
register custom marks to avoid this warning - for details, see 
https://docs.pytest.org/en/stable/how-to/mark.html
    @pytest.mark.mpl_image_compare

.pybuild/cpython3_3.12_astroplan/build/astroplan/plots/tests/test_sky.py::test_image_example
  /usr/lib/python3/dist-packages/_pytest/python.py:163: PytestReturnNotNoneWarning: 
Expected None, but 
.pybuild/cpython3_3.12_astroplan/build/astroplan/plots/tests/test_sky.py::test_image_example
 returned <Figure size 640x480 with 1 Axes>, which will be an error in a future 
version of pytest.  Did you mean to use `assert` instead of `return`?
    warnings.warn(

.pybuild/cpython3_3.12_astroplan/build/astroplan/plots/tests/test_sky.py: 2 
warnings
.pybuild/cpython3_3.12_astroplan/build/astroplan/tests/test_constraints.py: 18 
warnings
.pybuild/cpython3_3.12_astroplan/build/astroplan/tests/test_observer.py: 45 
warnings
.pybuild/cpython3_3.12_astroplan/build/astroplan/tests/test_scheduling.py: 8 
warnings
.pybuild/cpython3_3.12_astroplan/build/astroplan/tests/test_target.py: 1 warning
  /usr/lib/python3/dist-packages/astropy/utils/iers/iers.py:833: IERSWarning: failed 
to download https://datacenter.iers.org/data/9/finals2000A.all: <urlopen error 
[Errno 111] Connection refused>
    warn(f"failed to download {url}: {err}", IERSWarning)

.pybuild/cpython3_3.12_astroplan/build/astroplan/plots/tests/test_sky.py: 2 
warnings
.pybuild/cpython3_3.12_astroplan/build/astroplan/tests/test_constraints.py: 18 
warnings
.pybuild/cpython3_3.12_astroplan/build/astroplan/tests/test_observer.py: 45 
warnings
.pybuild/cpython3_3.12_astroplan/build/astroplan/tests/test_scheduling.py: 8 
warnings
.pybuild/cpython3_3.12_astroplan/build/astroplan/tests/test_target.py: 1 warning
  /usr/lib/python3/dist-packages/astropy/utils/iers/iers.py:833: IERSWarning: failed 
to download https://maia.usno.navy.mil/ser7/finals2000A.all: <urlopen error [Errno 
111] Connection refused>
    warn(f"failed to download {url}: {err}", IERSWarning)

.pybuild/cpython3_3.12_astroplan/build/astroplan/plots/tests/test_sky.py: 2 
warnings
.pybuild/cpython3_3.12_astroplan/build/astroplan/tests/test_constraints.py: 18 
warnings
.pybuild/cpython3_3.12_astroplan/build/astroplan/tests/test_observer.py: 45 
warnings
.pybuild/cpython3_3.12_astroplan/build/astroplan/tests/test_scheduling.py: 8 
warnings
.pybuild/cpython3_3.12_astroplan/build/astroplan/tests/test_target.py: 1 warning
  /usr/lib/python3/dist-packages/astropy/utils/iers/iers.py:848: IERSWarning: 
unable to download valid IERS file, using bundled IERS-A
    warn(

.pybuild/cpython3_3.12_astroplan/build/astroplan/plots/tests/test_sky.py::test_timezone
  /usr/lib/python3/dist-packages/astropy/utils/iers/iers.py:920: AstropyWarning: 
failed to download https://datacenter.iers.org/data/9/finals2000A.all and 
https://maia.usno.navy.mil/ser7/finals2000A.all: <urlopen error Unable to open any 
source! Exceptions were {'https://datacenter.iers.org/data/9/finals2000A.all': 
URLError(ConnectionRefusedError(111, 'Connection refused')), 
'https://maia.usno.navy.mil/ser7/finals2000A.all': 
URLError(ConnectionRefusedError(111, 'Connection refused'))}>.
  A coordinate or time-related calculation might be compromised or fail because the dates 
are not covered by the available IERS file.  See the "IERS data access" section 
of the astropy documentation for additional information on working offline.
    warn(

.pybuild/cpython3_3.12_astroplan/build/astroplan/tests/test_constraints.py::test_sun_separation
  /usr/lib/python3/dist-packages/astropy/coordinates/baseframe.py:1985: 
NonRotationTransformationWarning: transforming other coordinates from <ICRS Frame> to 
<GCRS Frame (obstime=2003-04-05 06:07:08.000, obsgeoloc=(-5368362.73938939, 
88215.16702606, 3436531.09497339) m, obsgeovel=(-6.42689654, -391.53883901, 0.01098554) m / 
s)>. Angular separation can depend on the direction of the transformation.
    warnings.warn(NonRotationTransformationWarning(self, other_frame))

.pybuild/cpython3_3.12_astroplan/build/astroplan/tests/test_constraints.py::test_moon_separation
  /usr/lib/python3/dist-packages/astropy/coordinates/baseframe.py:1985: 
NonRotationTransformationWarning: transforming other coordinates from <AltAz Frame 
(obstime=2003-04-05 06:07:08.000, location=(-1463969.30185172, -5166673.34223433, 
3434985.71204565) m, pressure=0.0 hPa, temperature=0.0 deg_C, relative_humidity=0.0, 
obswl=1.0 micron)> to <GCRS Frame (obstime=2003-04-05 06:07:08.000, 
obsgeoloc=(-5368362.73938939, 88215.16702606, 3436531.09497339) m, obsgeovel=(-6.42689654, 
-391.53883901, 0.01098554) m / s)>. Angular separation can depend on the direction of 
the transformation.
    warnings.warn(NonRotationTransformationWarning(self, other_frame))

.pybuild/cpython3_3.12_astroplan/build/astroplan/tests/test_constraints.py::test_regression_shapes[constraint3]
.pybuild/cpython3_3.12_astroplan/build/astroplan/tests/test_constraints.py::test_regression_shapes[constraint4]
  /usr/lib/python3/dist-packages/astropy/coordinates/baseframe.py:1985: 
NonRotationTransformationWarning: transforming other coordinates from <ICRS Frame> 
to <GCRS Frame (obstime=['2015-08-28 03:30:00.000' '2015-09-05 10:30:00.000'
   '2015-09-15 18:35:00.000'], obsgeoloc=[( 5509361.3408454 ,  
1016503.22928743, 3043229.22064993),
   (-3096061.92992127,  4660440.36397163, 3056514.588306  ),
   (-1437160.28756465, -5409076.23981381, 3053530.71513945)] m, obsgeovel=[( 
-74.13471161,  401.41027954,  0.13146191),
   (-339.85448429, -226.10806734,  0.50797505),
   ( 394.42563312, -105.1391762 , -0.60682656)] m / s)>. Angular separation can 
depend on the direction of the transformation.
    warnings.warn(NonRotationTransformationWarning(self, other_frame))

.pybuild/cpython3_3.12_astroplan/build/astroplan/tests/test_constraints.py::test_regression_shapes[constraint3]
.pybuild/cpython3_3.12_astroplan/build/astroplan/tests/test_constraints.py::test_regression_shapes[constraint4]
  /usr/lib/python3/dist-packages/astropy/coordinates/baseframe.py:1985: 
NonRotationTransformationWarning: transforming other coordinates from <ICRS Frame> to 
<GCRS Frame (obstime=2015-08-28 03:30:00.000, obsgeoloc=(5509361.3408454, 
1016503.22928743, 3043229.22064993) m, obsgeovel=(-74.13471161, 401.41027954, 0.13146191) m 
/ s)>. Angular separation can depend on the direction of the transformation.
    warnings.warn(NonRotationTransformationWarning(self, other_frame))

-- Docs: https://docs.pytest.org/en/stable/how-to/capture-warnings.html
=========================== short test summary info ============================
FAILED astroplan/plots/tests/test_sky.py::test_timezone - ValueError: interpo...
============ 1 failed, 93 passed, 232 warnings in 215.49s (0:03:35) ============
E: pybuild pybuild:389: test: plugin distutils failed with: exit code=1: cd 
/<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_astroplan/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:12: 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/202411/

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.

--- End Message ---
--- Begin Message ---
Source: astroplan
Source-Version: 0.10.1-1
Done: Alexandre Detiste <[email protected]>

We believe that the bug you reported is fixed in the latest version of
astroplan, 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 [email protected],
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Alexandre Detiste <[email protected]> (supplier of updated astroplan 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 [email protected])


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA512

Format: 1.8
Date: Sun, 22 Dec 2024 14:13:43 +0100
Source: astroplan
Architecture: source
Version: 0.10.1-1
Distribution: unstable
Urgency: medium
Maintainer: Debian Astro Team <[email protected]>
Changed-By: Alexandre Detiste <[email protected]>
Closes: 1088715 1091018
Changes:
 astroplan (0.10.1-1) unstable; urgency=medium
 .
   * Team Upload
   * New upstream version 0.10.1
   * Disable the 1 test that needs to download from internet (Closes: #1088715)
   * Fix "six" induced FTBFS (Closes: #1091018)
Checksums-Sha1:
 0005b3b602d6751ecd62f83ebd8e8c14c02aa945 2373 astroplan_0.10.1-1.dsc
 3de3d243d79475847f6c3dcbc77584b78b5fd428 140603 astroplan_0.10.1.orig.tar.gz
 80730b851d714d995ea6e38ccb07392164671ef1 6228 astroplan_0.10.1-1.debian.tar.xz
 a06239a678f386cbd0195b8a75a561f9a85df8f2 14411 
astroplan_0.10.1-1_source.buildinfo
Checksums-Sha256:
 aa5fa19c110cb6b975d41e18117deff0be4dab9db6b036931c60ec79a5ce649d 2373 
astroplan_0.10.1-1.dsc
 39d97c3377e1630abff3a94d8c956980f77a3e809e27a0376dd7d30abe3b6959 140603 
astroplan_0.10.1.orig.tar.gz
 1f58594cb6d262794e428ed858982db6423e061fe794696ac7142507b5d3eb76 6228 
astroplan_0.10.1-1.debian.tar.xz
 7564ab1e5ac47300161b9b5c21f279bdc404400c7a4ec453b153e666fb213dd7 14411 
astroplan_0.10.1-1_source.buildinfo
Files:
 a7c50166a78f2d02b0a755209c30080b 2373 python optional astroplan_0.10.1-1.dsc
 9c0c5def3324369b47a7ff62b161fcc0 140603 python optional 
astroplan_0.10.1.orig.tar.gz
 a16ac8634b40359415de9aba4c5b917b 6228 python optional 
astroplan_0.10.1-1.debian.tar.xz
 ad398f5af5831596ccd388aa95ec382b 14411 python optional 
astroplan_0.10.1-1_source.buildinfo

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

iQJFBAEBCgAvFiEEj23hBDd/OxHnQXSHMfMURUShdBoFAmdoHlsRHHRjaGV0QGRl
Ymlhbi5vcmcACgkQMfMURUShdBpFkhAAjfAJcVZ89od44JQLB1HE0/Tq56FKflE4
5939i470CzUV505diIr1Xpc53Pl0a58ypO/467bLf2FjokvTWQrop2Z3g6EWXwzB
wfhhSx3n2BoOhh7gUP5eKBPKr3/wOnXftsBUuNTxizI7AYHDtAV5DqNd1LbGB9jz
QGcfdCxNmGW5NZJL3paR8Bis9rRAxVFKyZwn1x9AlhWsgVSNIhyhIL0i2fcJ0ThR
VFGCa0quzaZRpxNka8ZiaQH4PZBMK+w3s47TNlCAtcnlSmESg5Kjbc7sncyGhxKE
OlklllNE3wVv2huD/whFAc/K/impEUTwHqSVo+tkurdBL6tB5H9bCnilZ21u5hqo
sshARuQjoU4K6BWQXDZSU/grZAWtCqUYGjBrnzv+xaf4rvKE/XPLw4BBIkdQpG6O
8JPK8lkE9Yfsgt5tKwAquWY8JWWNSwjmuJiVesXUdh9g4dY8mb+RxoIuz4P/YjZz
zMHk517xkUkSBS83Argbp7LSJ9vzKUmkqqRndJgNeFEz6R9tjR5GU8oYznAhrqej
49ocEBglmftHfmO3t8dmd+njhBjgdHAgNxIi0yptk+pTY6bFZ5XHZiJpnM116xfp
cR8EEYRzC0X3fVKowTfgFTx4cy00AVYtam/t1hm3ZJmycrehq7lVe45gYxDmYp2L
tc/YZgDcras=
=QIQD
-----END PGP SIGNATURE-----

Attachment: pgpGpQfTFe0ON.pgp
Description: PGP signature


--- End Message ---

Reply via email to