Source: astroplan
Version: 0.6-2
Severity: serious
Justification: FTBFS on amd64
Tags: bullseye sid ftbfs
Usertags: ftbfs-20200926 ftbfs-bullseye
Hi,
During a rebuild of all packages in sid, your package failed to build
on amd64.
Relevant part (hopefully):
> make[1]: Entering directory '/<<PKGBUILDDIR>>'
> py3versions: no X-Python3-Version in control file, using supported versions
> xvfb-run -a python3.8 setup.py test
> Matplotlib created a temporary config/cache directory at
> /tmp/matplotlib-ijh8gge6 because the default path
> (/sbuild-nonexistent/.config/matplotlib) is not a writable directory; it is
> highly recommended to set the MPLCONFIGDIR environment variable to a writable
> directory, in particular to speed up the import of Matplotlib and to better
> support multiprocessing.
> running test
> installing to temporary directory: /tmp/astroplan-test-q8j0250l
> ============================= test session starts
> ==============================
> platform linux -- Python 3.8.6, pytest-4.6.11, py-1.9.0, pluggy-0.13.0
> rootdir: /tmp/astroplan-test-q8j0250l/lib/python3.8/site-packages, inifile:
> setup.cfg
> plugins: openfiles-0.5.0, cov-2.8.1, filter-subpackage-0.1.1,
> astropy-header-0.1.2, hypothesis-5.32.1, arraydiff-0.3, remotedata-0.3.2,
> doctestplus-0.7.0
> collected 97 items
>
> astroplan/constraints.py ..... [
> 5%]
> astroplan/target.py . [
> 6%]
> astroplan/plots/tests/test_sky.py . [
> 7%]
> astroplan/tests/test_constraints.py ........................ [
> 31%]
> astroplan/tests/test_moon.py . [
> 32%]
> astroplan/tests/test_observer.py ................................. [
> 67%]
> astroplan/tests/test_periodic.py ..... [
> 72%]
> astroplan/tests/test_scheduling.py ...F......... [
> 85%]
> astroplan/tests/test_target.py ... [
> 88%]
> astroplan/tests/test_utils.py ... [
> 91%]
> docs/faq/iers.rst s [
> 92%]
> docs/faq/precision.rst s [
> 93%]
> docs/tutorials/constraints.rst s [
> 94%]
> docs/tutorials/periodic.rst s [
> 95%]
> docs/tutorials/plots.rst s [
> 96%]
> docs/tutorials/scheduling.rst s [
> 97%]
> docs/tutorials/speed.rst . [
> 98%]
> docs/tutorials/summer_triangle.rst .
> [100%]
>
> =================================== FAILURES
> ===================================
> __________________________ test_schedule_insert_slot
> ___________________________
>
> def test_schedule_insert_slot():
> start = Time('2016-02-06 03:00:00')
> schedule = Schedule(start, start + 5*u.hour)
> # testing for when float comparison doesn't work, does it start/end
> at the right time
> duration = 2*u.hour + 1*u.second
> end_time = start + duration
> block = TransitionBlock.from_duration(duration)
> schedule.insert_slot(end_time - duration, block)
> > assert not end_time - duration == start
> E AssertionError: assert not (<Time object: scale='utc' format='iso'
> value=2016-02-06 05:00:01.000> - <Quantity 2.00027778 h>) == <Time object:
> scale='utc' format='iso' value=2016-02-06 03:00:00.000>
>
> astroplan/tests/test_scheduling.py:78: AssertionError
> =============================== warnings summary
> ===============================
> astroplan/plots/time_dependent.py:9
>
> /tmp/astroplan-test-q8j0250l/lib/python3.8/site-packages/astroplan/plots/time_dependent.py:9:
> DeprecationWarning: Using or importing the ABCs from 'collections' instead
> of from 'collections.abc' is deprecated since Python 3.3, and in 3.9 it will
> stop working
> from collections import Sequence
>
> /usr/lib/python3/dist-packages/_pytest/mark/structures.py:331
> /usr/lib/python3/dist-packages/_pytest/mark/structures.py:331:
> 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/latest/mark.html
> warnings.warn(
>
> astroplan/tests/test_constraints.py::test_at_night_basic
> astroplan/tests/test_constraints.py::test_observability_table
> astroplan/tests/test_constraints.py::test_moon_illumination
> astroplan/tests/test_constraints.py::test_months_observable
> astroplan/tests/test_constraints.py::test_regression_shapes[constraint2]
> astroplan/tests/test_constraints.py::test_regression_shapes[constraint3]
> astroplan/tests/test_constraints.py::test_event_observable
> astroplan/tests/test_scheduling.py::test_scheduling_target_down
> astroplan/tests/test_scheduling.py::test_scheduling_during_day
> astroplan/tests/test_scheduling.py::test_scheduling_moon_up
>
> /tmp/astroplan-test-q8j0250l/lib/python3.8/site-packages/astroplan/utils.py:46:
> OldEarthOrientationDataWarning: For best precision (on the order of
> arcseconds), you must download an up-to-date IERS Bulletin A table. To do so,
> run:
>
> >>> from astroplan import download_IERS_A
> >>> download_IERS_A()
>
> warnings.warn(IERS_A_WARNING, OldEarthOrientationDataWarning)
>
> astroplan/tests/test_constraints.py::test_sun_separation
> astroplan/tests/test_constraints.py::test_moon_separation
> astroplan/tests/test_constraints.py::test_regression_shapes[constraint2]
> astroplan/tests/test_constraints.py::test_regression_shapes[constraint3]
> astroplan/tests/test_observer.py::test_sunrise_sunset_equator
> astroplan/tests/test_observer.py::test_sunrise_sunset_equator_civil_twilight
> astroplan/tests/test_observer.py::test_twilight_convenience_funcs
> astroplan/tests/test_observer.py::test_solar_transit
> astroplan/tests/test_observer.py::test_solar_transit_convenience_methods
> astroplan/tests/test_observer.py::test_is_night
> astroplan/tests/test_observer.py::test_moon_altaz
> astroplan/tests/test_observer.py::test_tonight
> astroplan/tests/test_observer.py::test_moon_rise_set
> astroplan/tests/test_observer.py::test_sun_set_vs_mmto_almanac[mmto_sunset0]
> astroplan/tests/test_observer.py::test_sun_set_vs_mmto_almanac[mmto_sunset1]
> astroplan/tests/test_observer.py::test_sun_set_vs_mmto_almanac[mmto_sunset2]
> astroplan/tests/test_observer.py::test_sun_set_vs_mmto_almanac[mmto_sunset3]
> astroplan/tests/test_observer.py::test_sun_set_vs_mmto_almanac[mmto_sunset4]
> astroplan/tests/test_observer.py::test_sun_set_vs_mmto_almanac[mmto_sunset5]
> astroplan/tests/test_scheduling.py::test_scheduling_during_day
> astroplan/tests/test_scheduling.py::test_scheduling_moon_up
> astroplan/tests/test_target.py::test_get_skycoord
> docs/tutorials/summer_triangle.rst::summer_triangle.rst
>
> /tmp/astroplan-test-q8j0250l/lib/python3.8/site-packages/astroplan/utils.py:42:
> OldEarthOrientationDataWarning: For best precision (on the order of
> arcseconds), you must download an up-to-date IERS Bulletin A table. To do so,
> run:
>
> >>> from astroplan import download_IERS_A
> >>> download_IERS_A()
>
> warnings.warn(IERS_A_WARNING, OldEarthOrientationDataWarning)
>
> -- Docs: https://docs.pytest.org/en/latest/warnings.html
> ========= 1 failed, 90 passed, 6 skipped, 35 warnings in 45.44 seconds
> =========
> /usr/lib/python3/dist-packages/astropy/config/configuration.py:557:
> ConfigurationMissingWarning: Configuration defaults will be used due to
> FileNotFoundError:2 on None
> warn(ConfigurationMissingWarning(msg))
> WARNING: CacheMissingWarning: Remote data cache could not be accessed due to
> FileNotFoundError: [Errno 2] No such file or directory:
> '/sbuild-nonexistent/.astropy' [astropy.utils.data]
> WARNING: CacheMissingWarning: Not clearing data cache - cache inaccessible
> due to FileNotFoundError: [Errno 2] No such file or directory:
> '/sbuild-nonexistent/.astropy' [astropy.utils.data]
> WARNING: CacheMissingWarning: ('Cache directory cannot be read or created,
> providing data in temporary file instead.',
> '/tmp/astropy-download-14935-g113bgcd') [astropy.utils.data]
> WARNING: CacheMissingWarning: Remote data cache could not be accessed due to
> FileNotFoundError: [Errno 2] No such file or directory:
> '/sbuild-nonexistent/.astropy' [astroplan.utils]
> /usr/lib/python3/dist-packages/astropy/config/configuration.py:557:
> ConfigurationMissingWarning: Configuration defaults will be used due to
> FileNotFoundError:2 on None
> warn(ConfigurationMissingWarning(msg))
> /usr/lib/python3/dist-packages/astropy_helpers/setup_helpers.py:161:
> AstropyDeprecationWarning: The package argument to generate_version_py has
> been deprecated and will be removed in future. Specify the package name in
> setup.cfg instead
> warnings.warn('The package argument to generate_version_py has '
> /usr/lib/python3/dist-packages/astropy_helpers/setup_helpers.py:166:
> AstropyDeprecationWarning: The version argument to generate_version_py has
> been deprecated and will be removed in future. Specify the version number in
> setup.cfg instead
> warnings.warn('The version argument to generate_version_py has '
> /usr/lib/python3/dist-packages/astropy_helpers/setup_helpers.py:171:
> AstropyDeprecationWarning: The release argument to generate_version_py has
> been deprecated and will be removed in future. We now use the presence of the
> "dev" string in the version to determine whether this is a release
> warnings.warn('The release argument to generate_version_py has '
> /usr/lib/python3/dist-packages/astropy_helpers/setup_helpers.py:186:
> AstropyDeprecationWarning: Specifying the package name using the
> "package_name" option in setup.cfg is deprecated - use the "name" option
> instead.
> warnings.warn('Specifying the package name using the "package_name" '
> /usr/lib/python3/dist-packages/astropy_helpers/version_helpers.py:239:
> AstropyDeprecationWarning: The packagename argument to generate_version_py
> has been deprecated and will be removed in future. Specify the package name
> in setup.cfg instead
> warnings.warn('The packagename argument to generate_version_py has '
> /usr/lib/python3/dist-packages/astropy_helpers/version_helpers.py:244:
> AstropyDeprecationWarning: The version argument to generate_version_py has
> been deprecated and will be removed in future. Specify the version number in
> setup.cfg instead
> warnings.warn('The version argument to generate_version_py has '
> /usr/lib/python3/dist-packages/astropy_helpers/version_helpers.py:249:
> AstropyDeprecationWarning: The release argument to generate_version_py has
> been deprecated and will be removed in future. We now use the presence of the
> "dev" string in the version to determine whether this is a release
> warnings.warn('The release argument to generate_version_py has '
> /usr/lib/python3/dist-packages/astropy_helpers/version_helpers.py:264:
> AstropyDeprecationWarning: Specifying the package name using the
> "package_name" option in setup.cfg is deprecated - use the "name" option
> instead.
> warnings.warn('Specifying the package name using the "package_name" '
> make[1]: *** [debian/rules:28: python-test3.8] Error 1
The full build log is available from:
http://qa-logs.debian.net/2020/09/26/astroplan_0.6-2_unstable.log
A list of current common problems and possible solutions is available at
http://wiki.debian.org/qa.debian.org/FTBFS . You're welcome to contribute!
About the archive rebuild: The rebuild was done on EC2 VM instances from
Amazon Web Services, using a clean, minimal and up-to-date chroot. Every
failed build was retried once to eliminate random failures.