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