Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Nightly build is failing #3676

Closed
github-actions bot opened this issue Nov 5, 2024 · 2 comments
Closed

Nightly build is failing #3676

github-actions bot opened this issue Nov 5, 2024 · 2 comments
Labels
Type: Maintenance Updates and clean ups (but not wrong)

Comments

@github-actions
Copy link
Contributor

github-actions bot commented Nov 5, 2024

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

============================= test session starts ==============================
platform linux -- Python 3.13.1, pytest-8.3.4, pluggy-1.5.0
Matplotlib: 3.10.0
Freetype: 2.6.1
Dep Versions: Cartopy: 0.24.0, Dask: 2024.12.0, Matplotlib: 3.10.0, Numpy: 2.2.0,
	Pandas: 2.2.3, Pint: 0.24.5.dev7+g3cbf3dd, Pooch: v1.8.2, Pyproj: 3.7.0,
	Scipy: 1.15.0rc1, Shapely: 2.0.6, Traitlets: 5.14.3,
	Xarray: 2024.11.1.dev29+g86a408d2
rootdir: /home/runner/work/MetPy/MetPy
configfile: pyproject.toml
plugins: mpl-0.17.0
collected 1578 items

tests/calc/test_basic.py ............................................... [ 2%]
........................................................................ [ 7%]
....................... [ 8%]
tests/calc/test_calc_tools.py .......................................... [ 11%]
........................................................................ [ 16%]
........................................... [ 18%]
tests/calc/test_cross_sections.py ............. [ 19%]
tests/calc/test_indices.py ............................ [ 21%]
tests/calc/test_kinematics.py .......................................... [ 24%]
....................................... [ 26%]
tests/calc/test_thermo.py .............................................. [ 29%]
........................................................................ [ 34%]
........................................................................ [ 38%]
........................... [ 40%]
tests/calc/test_turbulence.py ........................... [ 42%]
tests/interpolate/test_geometry.py ............. [ 42%]
tests/interpolate/test_grid.py ...................................... [ 45%]
tests/interpolate/test_interpolate_tools.py ....... [ 45%]
tests/interpolate/test_one_dimension.py ................... [ 47%]
tests/interpolate/test_points.py ........................ [ 48%]
tests/interpolate/test_slices.py ........ [ 49%]
tests/io/test_gempak.py ................................. [ 51%]
tests/io/test_gini.py .................. [ 52%]
tests/io/test_metar.py ........................................ [ 54%]
tests/io/test_nexrad.py ................................................ [ 57%]
........................................................................ [ 62%]
....................................................... [ 65%]
tests/io/test_station_data.py ...... [ 66%]
tests/io/test_text.py .... [ 66%]
tests/io/test_tools.py .. [ 66%]
tests/plots/test_cartopy_utils.py ....... [ 67%]
tests/plots/test_ctables.py .......... [ 67%]
tests/plots/test_declarative.py F..FFFFFFFFFFFF.F....F.FF..FFFFFFFFFFFFF [ 70%]
F......FFFFFFFFFFFFFFFFFFFFF.FF.FFFFF...FF [ 72%]
tests/plots/test_mapping.py ........................ [ 74%]
tests/plots/test_mpl.py F [ 74%]
tests/plots/test_patheffects.py FFFFFFFF [ 75%]
tests/plots/test_plot_areas.py FFFFF [ 75%]
tests/plots/test_skewt.py FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF [ 77%]
tests/plots/test_station_plot.py FFFFFFF..FFFF.FFFFFFFFFFFF [ 79%]
tests/plots/test_util.py FFFFFFFFFFF... [ 80%]
tests/plots/test_wx_symbols.py .... [ 80%]
tests/test_cbook.py .. [ 80%]
tests/test_deprecation.py . [ 80%]
tests/test_packaging.py . [ 80%]
tests/test_testing.py ........ [ 81%]
tests/test_xarray.py ................................................... [ 84%]
........................................................................ [ 88%]
........................................................................ [ 93%]
.............................................................. [ 97%]
tests/units/test_units.py ..FF.................................x.. [100%]

=================================== FAILURES ===================================
____________________________ test_declarative_image ____________________________

args = (), kwargs = {}

def wrapper(*args, **kwargs):
  store.return_value[test_name] = obj(*args, **kwargs)

/opt/hostedtoolcache/Python/3.13.1/x64/lib/python3.13/site-packages/pytest_mpl/plugin.py:125:


/opt/hostedtoolcache/Python/3.13.1/x64/lib/python3.13/site-packages/metpy/testing.py:127: in wrapped
return test_func(*args, **kwargs)
tests/plots/test_declarative.py:46: in test_declarative_image
pc.draw()
/opt/hostedtoolcache/Python/3.13.1/x64/lib/python3.13/site-packages/metpy/plots/declarative.py:187: in draw
with panel.hold_trait_notifications():
/opt/hostedtoolcache/Python/3.13.1/x64/lib/python3.13/contextlib.py:148: in exit
next(self.gen)
/opt/hostedtoolcache/Python/3.13.1/x64/lib/python3.13/site-packages/traitlets/traitlets.py:1510: in hold_trait_notifications
self.notify_change(change)
/opt/hostedtoolcache/Python/3.13.1/x64/lib/python3.13/site-packages/traitlets/traitlets.py:1525: in notify_change
return self._notify_observers(change)
/opt/hostedtoolcache/Python/3.13.1/x64/lib/python3.13/site-packages/traitlets/traitlets.py:1568: in _notify_observers
c(event)
/opt/hostedtoolcache/Python/3.13.1/x64/lib/python3.13/site-packages/metpy/plots/declarative.py:178: in refresh
self.figure.canvas.draw()
/opt/hostedtoolcache/Python/3.13.1/x64/lib/python3.13/site-packages/matplotlib/backends/backend_agg.py:382: in draw
self.figure.draw(self.renderer)
/opt/hostedtoolcache/Python/3.13.1/x64/lib/python3.13/site-packages/matplotlib/artist.py:94: in draw_wrapper
result = draw(artist, renderer, *args, **kwargs)
/opt/hostedtoolcache/Python/3.13.1/x64/lib/python3.13/site-packages/matplotlib/artist.py:71: in draw_wrapper
return draw(artist, renderer)
/opt/hostedtoolcache/Python/3.13.1/x64/lib/python3.13/site-packages/matplotlib/figure.py:3257: in draw
mimage._draw_list_compositing_images(
/opt/hostedtoolcache/Python/3.13.1/x64/lib/python3.13/site-packages/matplotlib/image.py:134: in _draw_list_compositing_images
a.draw(renderer)
/opt/hostedtoolcache/Python/3.13.1/x64/lib/python3.13/site-packages/matplotlib/artist.py:71: in draw_wrapper
return draw(artist, renderer)
/opt/hostedtoolcache/Python/3.13.1/x64/lib/python3.13/site-packages/cartopy/mpl/geoaxes.py:524: in draw
return super().draw(renderer=renderer, **kwargs)
/opt/hostedtoolcache/Python/3.13.1/x64/lib/python3.13/site-packages/matplotlib/artist.py:71: in draw_wrapper
return draw(artist, renderer)
/opt/hostedtoolcache/Python/3.13.1/x64/lib/python3.13/site-packages/matplotlib/axes/_base.py:3181: in draw
mimage._draw_list_compositing_images(
/opt/hostedtoolcache/Python/3.13.1/x64/lib/python3.13/site-packages/matplotlib/image.py:134: in _draw_list_compositing_images
a.draw(renderer)
/opt/hostedtoolcache/Python/3.13.1/x64/lib/python3.13/site-packages/matplotlib/artist.py:71: in draw_wrapper
return draw(artist, renderer)
/opt/hostedtoolcache/Python/3.13.1/x64/lib/python3.13/site-packages/cartopy/mpl/feature_artist.py:185: in draw
geoms = self._feature.intersecting_geometries(extent)
/opt/hostedtoolcache/Python/3.13.1/x64/lib/python3.13/site-packages/cartopy/feature/init.py:309: in intersecting_geometries
return super().intersecting_geometries(extent)
/opt/hostedtoolcache/Python/3.13.1/x64/lib/python3.13/site-packages/cartopy/feature/init.py:112: in intersecting_geometries
return (geom for geom in self.geometries() if
/opt/hostedtoolcache/Python/3.13.1/x64/lib/python3.13/site-packages/cartopy/feature/init.py:291: in geometries
path = shapereader.natural_earth(resolution=self.scale,
/opt/hostedtoolcache/Python/3.13.1/x64/lib/python3.13/site-packages/cartopy/io/shapereader.py:306: in natural_earth
return ne_downloader.path(format_dict)
/opt/hostedtoolcache/Python/3.13.1/x64/lib/python3.13/site-packages/cartopy/io/init.py:203: in path
result_path = self.acquire_resource(target_path, format_dict)
/opt/hostedtoolcache/Python/3.13.1/x64/lib/python3.13/site-packages/cartopy/io/shapereader.py:359: in acquire_resource
shapefile_online = self._urlopen(url)


self = <cartopy.io.shapereader.NEShpDownloader object at 0x7f19d3a11400>
url = 'https://naturalearth.s3.amazonaws.com/110m_physical/ne_110m_coastline.zip'

def _urlopen(self, url):
    """
    Returns a file handle to the given HTTP resource URL.

    Caller should close the file handle when finished with it.

    """
  warnings.warn(f'Downloading: {url}', DownloadWarning)

E cartopy.io.DownloadWarning: Downloading: https://naturalearth.s3.amazonaws.com/110m_physical/ne_110m_coastline.zip

/opt/hostedtoolcache/Python/3.13.1/x64/lib/python3.13/site-packages/cartopy/io/init.py:241: DownloadWarning
___________________________ test_declarative_contour ___________________________

args = (), kwargs = {}

def wrapper(*args, **kwargs):
  store.return_value[test_name] = obj(*args, **kwargs)

/opt/hostedtoolcache/Python/3.13.1/x64/lib/python3.13/site-packages/pytest_mpl/plugin.py:125:


/opt/hostedtoolcache/Python/3.13.1/x64/lib/python3.13/site-packages/metpy/testing.py:127: in wrapped
return test_func(*args, **kwargs)
tests/plots/test_declarative.py:121: in test_declarative_contour
pc.draw()
/opt/hostedtoolcache/Python/3.13.1/x64/lib/python3.13/site-packages/metpy/plots/declarative.py:187: in draw
with panel.hold_trait_notifications():
/opt/hostedtoolcache/Python/3.13.1/x64/lib/python3.13/contextlib.py:148: in exit
next(self.gen)
/opt/hostedtoolcache/Python/3.13.1/x64/lib/python3.13/site-packages/traitlets/traitlets.py:1510: in hold_trait_notifications
self.notify_change(change)
/opt/hostedtoolcache/Python/3.13.1/x64/lib/python3.13/site-packages/traitlets/traitlets.py:1525: in notify_change
return self._notify_observers(change)
/opt/hostedtoolcache/Python/3.13.1/x64/lib/python3.13/site-packages/traitlets/traitlets.py:1568: in _notify_observers
c(event)
/opt/hostedtoolcache/Python/3.13.1/x64/lib/python3.13/site-packages/metpy/plots/declarative.py:178: in refresh
self.figure.canvas.draw()
/opt/hostedtoolcache/Python/3.13.1/x64/lib/python3.13/site-packages/matplotlib/backends/backend_agg.py:382: in draw
self.figure.draw(self.renderer)
/opt/hostedtoolcache/Python/3.13.1/x64/lib/python3.13/site-packages/matplotlib/artist.py:94: in draw_wrapper
result = draw(artist, renderer, *args, **kwargs)
/opt/hostedtoolcache/Python/3.13.1/x64/lib/python3.13/site-packages/matplotlib/artist.py:71: in draw_wrapper
return draw(artist, renderer)
/opt/hostedtoolcache/Python/3.13.1/x64/lib/python3.13/site-packages/matplotlib/figure.py:3257: in draw
mimage._draw_list_compositing_images(
/opt/hostedtoolcache/Python/3.13.1/x64/lib/python3.13/site-packages/matplotlib/image.py:134: in _draw_list_compositing_images
a.draw(renderer)
/opt/hostedtoolcache/Python/3.13.1/x64/lib/python3.13/site-packages/matplotlib/artist.py:71: in draw_wrapper
return draw(artist, renderer)
/opt/hostedtoolcache/Python/3.13.1/x64/lib/python3.13/site-packages/cartopy/mpl/geoaxes.py:524: in draw
return super().draw(renderer=renderer, **kwargs)
/opt/hostedtoolcache/Python/3.13.1/x64/lib/python3.13/site-packages/matplotlib/artist.py:71: in draw_wrapper
return draw(artist, renderer)
/opt/hostedtoolcache/Python/3.13.1/x64/lib/python3.13/site-packages/matplotlib/axes/_base.py:3181: in draw
mimage._draw_list_compositing_images(
/opt/hostedtoolcache/Python/3.13.1/x64/lib/python3.13/site-packages/matplotlib/image.py:134: in _draw_list_compositing_images
a.draw(renderer)
/opt/hostedtoolcache/Python/3.13.1/x64/lib/python3.13/site-packages/matplotlib/artist.py:71: in draw_wrapper
return draw(artist, renderer)
/opt/hostedtoolcache/Python/3.13.1/x64/lib/python3.13/site-packages/cartopy/mpl/feature_artist.py:185: in draw
geoms = self._feature.intersecting_geometries(extent)
/opt/hostedtoolcache/Python/3.13.1/x64/lib/python3.13/site-packages/cartopy/feature/init.py:309: in intersecting_geometries
return super().intersecting_geometries(extent)
/opt/hostedtoolcache/Python/3.13.1/x64/lib/python3.13/site-packages/cartopy/feature/init.py:112: in intersecting_geometries
return (geom for geom in self.geometries() if
/opt/hostedtoolcache/Python/3.13.1/x64/lib/python3.13/site-packages/cartopy/feature/init.py:291: in geometries
path = shapereader.natural_earth(resolution=self.scale,
/opt/hostedtoolcache/Python/3.13.1/x64/lib/python3.13/site-packages/cartopy/io/shapereader.py:306: in natural_earth
return ne_downloader.path(format_dict)
/opt/hostedtoolcache/Python/3.13.1/x64/lib/python3.13/site-packages/cartopy/io/init.py:203: in path
result_path = self.acquire_resource(target_path, format_dict)
/opt/hostedtoolcache/Python/3.13.1/x64/lib/python3.13/site-packages/cartopy/io/shapereader.py:359: in acquire_resource
shapefile_online = self._urlopen(url)


self = <cartopy.io.shapereader.NEShpDownloader object at 0x7f19d3a11400>
url = 'https://naturalearth.s3.amazonaws.com/50m_physical/ne_50m_coastline.zip'

def _urlopen(self, url):
    """
    Returns a file handle to the given HTTP resource URL.

    Caller should close the file handle when finished with it.

    """
  warnings.warn(f'Downloading: {url}', DownloadWarning)

E cartopy.io.DownloadWarning: Downloading: https://naturalearth.s3.amazonaws.com/50m_physical/ne_50m_coastline.zip

/opt/hostedtoolcache/Python/3.13.1/x64/lib/python3.13/site-packages/cartopy/io/init.py:241: DownloadWarning
___________________________ test_declarative_titles ____________________________

args = (), kwargs = {}

def wrapper(*args, **kwargs):
  store.return_value[test_name] = obj(*args, **kwargs)

/opt/hostedtoolcache/Python/3.13.1/x64/lib/python3.13/site-packages/pytest_mpl/plugin.py:125:


/opt/hostedtoolcache/Python/3.13.1/x64/lib/python3.13/site-packages/metpy/testing.py:127: in wrapped
return test_func(*args, **kwargs)
tests/plots/test_declarative.py:152: in test_declarative_titles
pc.draw()
/opt/hostedtoolcache/Python/3.13.1/x64/lib/python3.13/site-packages/metpy/plots/declarative.py:187: in draw
with panel.hold_trait_notifications():
/opt/hostedtoolcache/Python/3.13.1/x64/lib/python3.13/contextlib.py:148: in exit
next(self.gen)
/opt/hostedtoolcache/Python/3.13.1/x64/lib/python3.13/site-packages/traitlets/traitlets.py:1510: in hold_trait_notifications
self.notify_change(change)
/opt/hostedtoolcache/Python/3.13.1/x64/lib/python3.13/site-packages/traitlets/traitlets.py:1525: in notify_change
return self._notify_observers(change)
/opt/hostedtoolcache/Python/3.13.1/x64/lib/python3.13/site-packages/traitlets/traitlets.py:1568: in _notify_observers
c(event)
/opt/hostedtoolcache/Python/3.13.1/x64/lib/python3.13/site-packages/metpy/plots/declarative.py:178: in refresh
self.figure.canvas.draw()
/opt/hostedtoolcache/Python/3.13.1/x64/lib/python3.13/site-packages/matplotlib/backends/backend_agg.py:382: in draw
self.figure.draw(self.renderer)
/opt/hostedtoolcache/Python/3.13.1/x64/lib/python3.13/site-packages/matplotlib/artist.py:94: in draw_wrapper
result = draw(artist, renderer, *args, **kwargs)
/opt/hostedtoolcache/Python/3.13.1/x64/lib/python3.13/site-packages/matplotlib/artist.py:71: in draw_wrapper
return draw(artist, renderer)
/opt/hostedtoolcache/Python/3.13.1/x64/lib/python3.13/site-packages/matplotlib/figure.py:3257: in draw
mimage._draw_list_compositing_images(
/opt/hostedtoolcache/Python/3.13.1/x64/lib/python3.13/site-packages/matplotlib/image.py:134: in _draw_list_compositing_images
a.draw(renderer)
/opt/hostedtoolcache/Python/3.13.1/x64/lib/python3.13/site-packages/matplotlib/artist.py:71: in draw_wrapper
return draw(artist, renderer)
/opt/hostedtoolcache/Python/3.13.1/x64/lib/python3.13/site-packages/cartopy/mpl/geoaxes.py:524: in draw
return super().draw(renderer=renderer, **kwargs)
/opt/hostedtoolcache/Python/3.13.1/x64/lib/python3.13/site-packages/matplotlib/artist.py:71: in draw_wrapper
return draw(artist, renderer)
/opt/hostedtoolcache/Python/3.13.1/x64/lib/python3.13/site-packages/matplotlib/axes/_base.py:3181: in draw
mimage._draw_list_compositing_images(
/opt/hostedtoolcache/Python/3.13.1/x64/lib/python3.13/site-packages/matplotlib/image.py:134: in _draw_list_compositing_images
a.draw(renderer)
/opt/hostedtoolcache/Python/3.13.1/x64/lib/python3.13/site-packages/matplotlib/artist.py:71: in draw_wrapper
return draw(artist, renderer)
/opt/hostedtoolcache/Python/3.13.1/x64/lib/python3.13/site-packages/cartopy/mpl/feature_artist.py:185: in draw
geoms = self._feature.intersecting_geometries(extent)
/opt/hostedtoolcache/Python/3.13.1/x64/lib/python3.13/site-packages/cartopy/feature/init.py:309: in intersecting_geometries
return super().intersecting_geometries(extent)
/opt/hostedtoolcache/Python/3.13.1/x64/lib/python3.13/site-packages/cartopy/feature/init.py:112: in intersecting_geometries
return (geom for geom in self.geometries() if
/opt/hostedtoolcache/Python/3.13.1/x64/lib/python3.13/site-packages/cartopy/feature/init.py:291: in geometries
path = shapereader.natural_earth(resolution=self.scale,
/opt/hostedtoolcache/Python/3.13.1/x64/lib/python3.13/site-packages/cartopy/io/shapereader.py:306: in natural_earth
return ne_downloader.path(format_dict)
/opt/hostedtoolcache/Python/3.13.1/x64/lib/python3.13/site-packages/cartopy/io/init.py:203: in path
result_path = self.acquire_resource(target_path, format_dict)
/opt/hostedtoolcache/Python/3.13.1/x64/lib/python3.13/site-packages/cartopy/io/shapereader.py:359: in acquire_resource
shapefile_online = self._urlopen(url)


self = <cartopy.io.shapereader.NEShpDownloader object at 0x7f19d3a11400>
url = 'https://naturalearth.s3.amazonaws.com/50m_physical/ne_50m_coastline.zip'

def _urlopen(self, url):
    """
    Returns a file handle to the given HTTP resource URL.

    Caller should close the file handle when finished with it.

    """
  warnings.warn(f'Downloading: {url}', DownloadWarning)

E cartopy.io.DownloadWarning: Downloading: https://naturalearth.s3.amazonaws.com/50m_physical/ne_50m_coastline.zip

/opt/hostedtoolcache/Python/3.13.1/x64/lib/python3.13/site-packages/cartopy/io/init.py:241: DownloadWarning
_______________________ test_declarative_smooth_contour ________________________

args = (), kwargs = {}

def wrapper(*args, **kwargs):
  store.return_value[test_name] = obj(*args, **kwargs)

/opt/hostedtoolcache/Python/3.13.1/x64/lib/python3.13/site-packages/pytest_mpl/plugin.py:125:


/opt/hostedtoolcache/Python/3.13.1/x64/lib/python3.13/site-packages/metpy/testing.py:127: in wrapped
return test_func(*args, **kwargs)
tests/plots/test_declarative.py:182: in test_declarative_smooth_contour
pc.draw()
/opt/hostedtoolcache/Python/3.13.1/x64/lib/python3.13/site-packages/metpy/plots/declarative.py:187: in draw
with panel.hold_trait_notifications():
/opt/hostedtoolcache/Python/3.13.1/x64/lib/python3.13/contextlib.py:148: in exit
next(self.gen)
/opt/hostedtoolcache/Python/3.13.1/x64/lib/python3.13/site-packages/traitlets/traitlets.py:1510: in hold_trait_notifications
self.notify_change(change)
/opt/hostedtoolcache/Python/3.13.1/x64/lib/python3.13/site-packages/traitlets/traitlets.py:1525: in notify_change
return self._notify_observers(change)
/opt/hostedtoolcache/Python/3.13.1/x64/lib/python3.13/site-packages/traitlets/traitlets.py:1568: in _notify_observers
c(event)
/opt/hostedtoolcache/Python/3.13.1/x64/lib/python3.13/site-packag

@github-actions github-actions bot added the Type: Maintenance Updates and clean ups (but not wrong) label Nov 5, 2024
@dopplershift
Copy link
Member

This seems to be due to matplotlib 3.10.0rc1. I'm working on getting those packages available from conda-forge.

@dopplershift
Copy link
Member

Matplotlib 3.10 fixes went in with #3716. I also had a fix up an issue where the Nightly workflow wasn't downloading the Cartopy maps, introduced in bb4aaac and fixed by e3221ca.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Type: Maintenance Updates and clean ups (but not wrong)
Projects
None yet
Development

No branches or pull requests

1 participant