Commit adba05d0 authored by Jason Madden's avatar Jason Madden

Update pylint on CI.

parent 1f0ce3ab
......@@ -276,7 +276,7 @@ jobs:
- stage: test
# We need pylint, since above we're not installing a
# requirements file.
install: pip install pylint
install: pip install -U pylint
script: python -m pylint --limit-inference-results=1 --rcfile=.pylintrc gevent
env: TRAVIS_PYTHON_VERSION=3.7
name: lint37
......
......@@ -6,8 +6,8 @@ restview
pylint>=1.8.0 ; python_version < "3.4"
# pylint 2 needs astroid 2; unfortunately, it uses `typed_ast`
# which has a C extension that doesn't build on PyPy
pylint >= 2.3.1 ; python_version >= "3.4" and platform_python_implementation == "CPython"
astroid >= 2.2.5 ; python_version >= "3.4" and platform_python_implementation == "CPython"
pylint >= 2.5.0 ; python_version >= "3.4" and platform_python_implementation == "CPython"
astroid >= 2.4.0 ; python_version >= "3.4" and platform_python_implementation == "CPython"
# For generating CHANGES.rst
towncrier
......
......@@ -16,6 +16,8 @@ import re
from .sysinfo import RUNNING_ON_APPVEYOR as APPVEYOR
from .sysinfo import RUNNING_ON_TRAVIS as TRAVIS
from .sysinfo import RESOLVER_NOT_SYSTEM as ARES
from .sysinfo import RESOLVER_ARES
from .sysinfo import RUNNING_ON_CI
from .sysinfo import RUN_COVERAGE
......@@ -1254,6 +1256,14 @@ if OSX:
'test_socket.RecvmsgIntoTCPTest.testRecvmsgIntoGenerator',
]
if RESOLVER_ARES and PY38 and not RUNNING_ON_CI:
disabled_tests += [
# When updating to 1.16.0 this was seen locally, but not on CI.
# Tuples differ: ('ff02::1de:c0:face:8d', 1234, 0, 0)
# != ('ff02::1de:c0:face:8d', 1234, 0, 1)
'test_socket.GeneralModuleTests.test_getaddrinfo_ipv6_scopeid_symbolic',
]
# Now build up the data structure we'll use to actually find disabled tests
# to avoid a linear scan for every file (it seems the list could get quite large)
# (First, freeze the source list to make sure it isn't modified anywhere)
......
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