You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
test_timeout[Tests/images/timeout-d675703545fee17acab56e5fec644c19979175de.eps] in test_file_eps.py is a flaky test that intermittently fails. It often passes when restarted.
It often fails on the ubuntu-22.04-jammy-ppc64le and ubuntu-22.04-jammy-s390x Docker images jobs, which are pretty slow anyway - they take between 15-25 mins, so restarting can mean a long additional wait.
It would be good to fix this: fix/rewrite the test, or the code if the problem is there, or maybe even remove it. There are also pytest plugins to re-run flaky tests a number of times.
Perhaps this test should be skipped for these particular flavours.
I think the PSFile class in EpsImagePlugin.py could be merged into EpsImageFile._open() (it's only usage) for some improved performance. Does PSFile need to exist for any backwards-compatibility reasons?
Yes, PSFile is part of the public API, so we'd need to raise deprecation warnings for at least a year first before it can be removed in a major bump, which would be Pillow 11.0.0 in October 2024.
test_timeout[Tests/images/timeout-d675703545fee17acab56e5fec644c19979175de.eps]
intest_file_eps.py
is a flaky test that intermittently fails. It often passes when restarted.It often fails on the ubuntu-22.04-jammy-ppc64le and ubuntu-22.04-jammy-s390x Docker images jobs, which are pretty slow anyway - they take between 15-25 mins, so restarting can mean a long additional wait.
It would be good to fix this: fix/rewrite the test, or the code if the problem is there, or maybe even remove it. There are also pytest plugins to re-run flaky tests a number of times.
Perhaps this test should be skipped for these particular flavours.
The failure
The logs
ubuntu-22.04-jammy-ppc64le
https://github.com/python-pillow/Pillow/actions/runs/3819225905/jobs/6496611918#logs
Full logs: logs_29831.zip
ubuntu-22.04-jammy-s390x
https://github.com/python-pillow/Pillow/actions/runs/3876084655/jobs/6609487015
Full logs: logs_30163.zip
The test
Pillow/Tests/test_file_eps.py
Lines 286 to 295 in 50f7888
See also
The text was updated successfully, but these errors were encountered: