[1.26] Fix running CPython 2.7 tests in CI#3137
Conversation
|
Let's test all the changes we implemented to 1.26.x against this Python 2.7 install, thanks @illia-v! |
|
The coverage problem in Ubuntu 22.04 is related to not reaching this warning because Ubuntu disabled TLS 1.0 & 1.1. I am not sure what's the problem with the two tests related to IP versions in Ubuntu 20.04, but it looks like fixing them won't fix the coverage issue because Ubuntu 20.04 disables TLS 1.0 & 1.1 too (there is I tried possible fixes like using Python 2.7 in a container in CI or tweaking OpenSSL config files, but it didn't work and I cannot invest more time in this for now. What do you think about ignoring the coverage miss for now to have tests passing? |
|
@illia-v Let's ignore the coverage miss for the 1.26.x branch and get this merged if that's all that's needed. |
Fixes #3077
actions/setup-python dropped support for CPython 2.7.
Since we still need to run tests using the version, CI starts to use Ubuntu's CPython 2.7 version.
Unfortunately, testing using CPython 2.7 on macOS and Windows is dropped by this PR.
This PR is based on #3136 to display the tests passing.