Skip to content

Nightly build is failing #3268

@github-actions

Description

@github-actions

The Nightly workflow is failing.
The tests failed.
Log:

Details
============================= test session starts ==============================
platform linux -- Python 3.12.1, pytest-7.4.3, pluggy-1.3.0
Matplotlib: 3.8.2
Freetype: 2.6.1
Dep Versions: Matplotlib 3.8.2, NumPy 1.26.2, Pandas 2.2.0rc0, Pint 0.24.dev1+g83bffe1, Pooch v1.8.0
	PyProj 3.6.1, SciPy 1.12.0rc1, Traitlets 5.14.0, Xarray 2023.12.1.dev16+g03ec3cb4
rootdir: /home/runner/work/MetPy/MetPy
configfile: pyproject.toml
plugins: mpl-0.16.1
collected 1512 items

tests/test_cbook.py .. [ 0%]
tests/test_deprecation.py . [ 0%]
tests/test_packaging.py . [ 0%]
tests/test_testing.py ........ [ 0%]
tests/test_xarray.py ................................................... [ 4%]
........................................................................ [ 8%]
........................................................................ [ 13%]
.................... [ 15%]
tests/calc/test_basic.py ............................................... [ 18%]
........................................................................ [ 22%]
..F.................... [ 24%]
tests/calc/test_calc_tools.py .......................................... [ 27%]
........................................................................ [ 31%]
.......................................... [ 34%]
tests/calc/test_cross_sections.py ............. [ 35%]
tests/calc/test_indices.py ............................ [ 37%]
tests/calc/test_kinematics.py .......................................... [ 40%]
...................................... [ 42%]
tests/calc/test_thermo.py .............................................. [ 45%]
........................................................................ [ 50%]
........................................................................ [ 55%]
..................... [ 56%]
tests/calc/test_turbulence.py ........................... [ 58%]
tests/interpolate/test_geometry.py ............. [ 59%]
tests/interpolate/test_grid.py ...................................... [ 61%]
tests/interpolate/test_interpolate_tools.py ....... [ 62%]
tests/interpolate/test_one_dimension.py ................... [ 63%]
tests/interpolate/test_points.py ........................ [ 65%]
tests/interpolate/test_slices.py ....... [ 65%]
tests/io/test_gempak.py ........................ [ 67%]
tests/io/test_gini.py .................. [ 68%]
tests/io/test_metar.py ........................................ [ 71%]
tests/io/test_nexrad.py ................................................ [ 74%]
........................................................................ [ 78%]
...................................................... [ 82%]
tests/io/test_station_data.py ...... [ 82%]
tests/io/test_text.py .. [ 83%]
tests/io/test_tools.py .. [ 83%]
tests/plots/test_cartopy_utils.py ....... [ 83%]
tests/plots/test_ctables.py .......... [ 84%]
tests/plots/test_declarative.py ........................................ [ 86%]
....................................... [ 89%]
tests/plots/test_mapping.py ........................ [ 91%]
tests/plots/test_mpl.py . [ 91%]
tests/plots/test_patheffects.py ........ [ 91%]
tests/plots/test_plot_areas.py ..... [ 92%]
tests/plots/test_skewt.py .................................... [ 94%]
tests/plots/test_station_plot.py .......................... [ 96%]
tests/plots/test_util.py .............. [ 97%]
tests/plots/test_wx_symbols.py .... [ 97%]
tests/units/test_units.py .....................................x.. [100%]

=================================== FAILURES ===================================
_______________________ test_smooth_window_1d_dataarray ________________________

def test_smooth_window_1d_dataarray():
    """Test smooth_window on 1D DataArray."""
    temperature = xr.DataArray(
        [37., 32., 34., 29., 28., 24., 26., 24., 27., 30.],
        dims=('time',),
      coords={'time': pd.date_range('2020-01-01', periods=10, freq='H')},
        attrs={'units': 'degF'})

tests/calc/test_basic.py:712:


/opt/hostedtoolcache/Python/3.12.1/x64/lib/python3.12/site-packages/pandas/core/indexes/datetimes.py:1008: in date_range
dtarr = DatetimeArray._generate_range(
/opt/hostedtoolcache/Python/3.12.1/x64/lib/python3.12/site-packages/pandas/core/arrays/datetimes.py:424: in _generate_range
freq = to_offset(freq)
offsets.pyx:4730: in pandas._libs.tslibs.offsets.to_offset
???


???
E FutureWarning: 'H' is deprecated and will be removed in a future version, please use 'h' instead.

offsets.pyx:4842: FutureWarning
=========================== short test summary info ============================
FAILED tests/calc/test_basic.py::test_smooth_window_1d_dataarray - FutureWarning: 'H' is deprecated and will be removed in a future version, please use 'h' instead.
============ 1 failed, 1510 passed, 1 xfailed in 467.89s (0:07:47) =============

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type: MaintenanceUpdates and clean ups (but not wrong)

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions