Commit f68ae1ef authored by Jason Madden's avatar Jason Madden

Debugging pylint crash; try moving to 3.10

I do not reproduce locally on mac, with matching pylint and astroid versions.

See https://github.com/gevent/gevent/actions/runs/3042157082/jobs/5192451149
parent d89c5e80
......@@ -145,7 +145,7 @@ jobs:
runs-on: ${{ matrix.os }}
strategy:
matrix:
python-version: [2.7, pypy-2.7, pypy-3.7, 3.6, 3.7, 3.8, 3.9, '3.10.0']
python-version: [2.7, pypy-2.7, pypy-3.7, 3.6, 3.7, 3.8, 3.9, '3.10']
# ubuntu-latest is at least 20.04. But this breaks the SSL
# tests because Ubuntu increased the default OpenSSL
# strictness.
......@@ -174,7 +174,7 @@ jobs:
- os: ubuntu-18.04
python-version: 3.9
- os: ubuntu-18.04
python-version: '3.10.0'
python-version: '3.10'
steps:
- name: checkout
uses: actions/checkout@v2
......@@ -299,8 +299,8 @@ jobs:
python -c 'import gevent.core; print(gevent.core.loop)'
python -c 'import gevent.ares; print(gevent.ares)'
ccache -s
- name: Lint (Python 3.9)
if: matrix.python-version == 3.9 && startsWith(runner.os, 'Linux')
- name: Lint (Python 3)
if: matrix.python-version == '3.10' && startsWith(runner.os, 'Linux')
# We only need to do this on one version, and it should be Python 3, because
# pylint has stopped updating for Python 2.
# We do this here rather than a separate job to avoid the compilation overhead.
......@@ -328,14 +328,14 @@ jobs:
python -m gevent.tests --second-chance $G_USE_COV `(cd src/gevent/tests >/dev/null && ls test__*subprocess*.py)`
- name: "Tests: c-ares resolver"
# This sometimes fails on mac. Also, save mac minutes.
if: (matrix.python-version == 2.7 || matrix.python-version == 3.9) && startsWith(runner.os, 'Linux')
if: (matrix.python-version == 2.7 || matrix.python-version == '3.10') && startsWith(runner.os, 'Linux')
env:
GEVENT_RESOLVER: ares
run: |
python -mgevent.tests --second-chance $G_USE_COV --ignore tests_that_dont_use_resolver.txt
- name: "Tests: dnspython resolver"
# This has known issues on Pypy-3.6. Also, save mac minutes.
if: (matrix.python-version == 2.7 || matrix.python-version == 3.9) && startsWith(runner.os, 'Linux')
if: (matrix.python-version == 2.7 || matrix.python-version == '3.10') && startsWith(runner.os, 'Linux')
env:
GEVENT_RESOLVER: dnspython
run: |
......@@ -351,19 +351,19 @@ jobs:
- name: "Tests: PURE_PYTHON"
# No compiled cython modules on CPython, using the default backend. Get coverage here.
# We should only need to run this for a single Python 2 and a Python 3
if: (matrix.python-version == 2.7 || matrix.python-version == 3.9) && startsWith(runner.os, 'Linux')
if: (matrix.python-version == 2.7 || matrix.python-version == '3.10') && startsWith(runner.os, 'Linux')
env:
PURE_PYTHON: 1
run: |
python -mgevent.tests --second-chance --coverage
- name: "Tests: libuv"
if: (matrix.python-version == 2.7 || matrix.python-version == 3.9)
if: (matrix.python-version == 2.7 || matrix.python-version == '3.10')
env:
GEVENT_LOOP: libuv
run: |
python -m gevent.tests --second-chance $G_USE_COV
- name: "Tests: libev-cffi"
if: (matrix.python-version == 2.7 || matrix.python-version == 3.9) && startsWith(runner.os, 'Linux')
if: (matrix.python-version == 2.7 || matrix.python-version == '3.10') && startsWith(runner.os, 'Linux')
env:
GEVENT_LOOP: libev-cffi
run: |
......@@ -393,7 +393,7 @@ jobs:
runs-on: ${{ matrix.os }}
strategy:
matrix:
python-version: [2.7, 3.9]
python-version: [2.7, '3.10']
os: [ubuntu-18.04]
steps:
- name: checkout
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment