Closed edoaltamura closed 1 month ago
The issue in PyTorch was resolved in the 2.4 release, so this constraint will be released accordingly. After the release the tests will run with the latest Pytorch and a compatible Numpy install (usually >2.0).
The UTF encoding issue is resolved but the Numpy still needs to be restricted to <2 when used with PyTorch as a workaround for Windows.
What should we add?
Revert changes in https://github.com/qiskit-community/qiskit-machine-learning/pull/816:
.github/workflows/main.yml
: delete&& matrix.os != 'windows-latest'
to restore mypy checks for Windows platform for PyTorch. This change depends on https://github.com/pytorch/pytorch/issues/124897 being resolved.constraints.txt
:numpy<2.0
->numpy>=1.20.0
restore original constraint on Numpy version