Closed j-s-ashley closed 3 months ago
Updating the Python version to 3.12 changed details of the error but maintained the result.
First call: line 476 in Windows fatal exception: __call__
if not self.request_mode():
self.compute()
Confirmed that the manual workflow trigger is not the cause of the error.
I'm going to check the package differences on Windows to see if there's something buggy in a dependency
$ diff -y /tmp/pip-list-pass.txt /tmp/pip-list-fail.txt
colorama 0.4.6 colorama 0.4.6
coverage 7.4.4 | coverage 7.5.3
EnergyFlow 1.3.3a0 EnergyFlow 1.3.3a0
h5py 3.11.0 h5py 3.11.0
iniconfig 2.0.0 iniconfig 2.0.0
numpy 1.26.4 numpy 1.26.4
packaging 24.0 | packaging 24.1
pip 24.0 pip 24.0
pluggy 1.5.0 pluggy 1.5.0
POT 0.9.3 POT 0.9.3
pytest 8.1.1 | pytest 8.2.2
scipy 1.13.0 | scipy 1.13.1
setuptools 69.5.1 | setuptools 70.0.0
six 1.16.0 six 1.16.0
Wasserstein 1.1.0 Wasserstein 1.1.0
wheel 0.43.0 wheel 0.43.0
wurlitzer 3.0.3 | wurlitzer 3.1.0
I'm starting with the following constraints.txt
file
$ cat constraints.txt
coverage==7.4.4
packaging==24.0
pytest==8.1.1
scipy==1.13.0
setuptools==69.5.1
wurlitzer==3.0.3
and using
python -m pip install --upgrade --constraint constraints.txt ".[test]"
in the CI on a debug branch, and then stepping through the constraints to unpin them and find where things break.
Something must have changed on the Windows runner environment in the last 2 months, as with the same Python environment
$ diff /tmp/pip-list-pass.txt /tmp/pip-list-constraint-fail.txt && echo $? # also constrained setuptools
0
the access violation is reproducible.
https://github.com/j-s-ashley/Wasserstein/actions/runs/9448008848/job/26021089328#step:5:147