Closed KubaO closed 7 months ago
We don't care about Python 2.7 anymore, right?
We don't care about Python 2.7 anymore, right?
Hi @KubaO, please excuse my very late answer. We don't really care about Python 2.7 in the sense that we don't run or support HPy on Python 2.7. However, we are running tests on PyPy and some of the test files therefore also need to be Python 2.7 compatible. Anyway, @mattip already has a fix (see #444 ).
Just to be clear: #444 fixes the CI startup failure for 2.7, but if you want to use open
with encoding
, that won't work on 2.7. So if these code paths are hit when running
python2.7 test/check_py27_compat.py
then the 2.7 CI job will still fail, since that is the command it runs.
Running this PR locally, everything here seems fine.
Close/reopen to trigger CI
This helps when using hpy under MSVC.