IDAES / idaes-pse

The IDAES Process Systems Engineering Framework
https://idaes-pse.readthedocs.io/
Other
211 stars 227 forks source link

Intermittent failure in CI for test_scatter3D_alamo - PermissionError #1453

Open lbianchi-lbl opened 1 month ago

lbianchi-lbl commented 1 month ago

https://github.com/IDAES/idaes-pse/actions/runs/10011443971/job/27674889389

image

FAILED idaes/core/surrogate/plotting/tests/test_alamo_plotting.py::test_scatter3D_alamo - PermissionError: [WinError 32] The process cannot access the file because it is being used by another process: 'C:\\Users\\RUNNER~1\\AppData\\Local\\Temp\\tmpek0o4w_9\\results.pdf'
lbianchi-lbl commented 1 month ago

More failures, potentially related:

image

The common thread seems to be Matplotlib. It looks like the most recent version to support Python 3.8 (i.e. the version that gets installed in the CI runner when Python 3.8 is selected) is Matplotlib 3.7.5: https://pypi.org/project/matplotlib/3.7.5/. For reference, the most recent version of Matplotlib is 3.9.1.

lbianchi-lbl commented 2 weeks ago

A possibly related error just occurred on Python 3.9 in Windows:

image