diff --git a/.github/workflows/tox.yml b/.github/workflows/tox.yml index d253148f5..502298a7e 100644 --- a/.github/workflows/tox.yml +++ b/.github/workflows/tox.yml @@ -10,7 +10,7 @@ jobs: fail-fast: false matrix: os: [ubuntu-latest, macos-latest] # All OSes pass except Windows because tests need Unix-only fcntl, grp, pwd, etc. - python-version: [ "3.7", "3.8", "3.9", "3.10", "3.11", "pypy-3.8" ] + python-version: [ "3.7", "3.8", "3.9", "3.10", "3.11", "3.12", "pypy-3.8", "pypy-3.10" ] steps: - uses: actions/checkout@v4 - name: Using Python ${{ matrix.python-version }} diff --git a/appveyor.yml b/appveyor.yml index 5eb48e9cd..89ea8414c 100644 --- a/appveyor.yml +++ b/appveyor.yml @@ -9,16 +9,18 @@ environment: PYTHON: "C:\\Python38-x64" # Windows is not ready for testing!!! # Python's fcntl, grp, pwd, os.geteuid(), and socket.AF_UNIX are all Unix-only. - #- TOXENV: py35 - # PYTHON: "C:\\Python35-x64" - #- TOXENV: py36 - # PYTHON: "C:\\Python36-x64" #- TOXENV: py37 # PYTHON: "C:\\Python37-x64" #- TOXENV: py38 # PYTHON: "C:\\Python38-x64" #- TOXENV: py39 # PYTHON: "C:\\Python39-x64" + #- TOXENV: py310 + # PYTHON: "C:\\Python39-x64" + #- TOXENV: py311 + # PYTHON: "C:\\Python39-x64" + #- TOXENV: py312 + # PYTHON: "C:\\Python39-x64" matrix: allow_failures: - TOXENV: py35 diff --git a/tox.ini b/tox.ini index a7b7d38c6..cc8d34f73 100644 --- a/tox.ini +++ b/tox.ini @@ -1,5 +1,5 @@ [tox] -envlist = py{37,38,39,310,311,py3}, lint, docs-lint, pycodestyle +envlist = py{37,38,39,310,311,312,py38,py310}, lint, docs-lint, pycodestyle skipsdist = false ; Can't set skipsdist and use_develop in tox v4 to true due to https://github.com/tox-dev/tox/issues/2730 @@ -26,8 +26,9 @@ commands = tests/test_systemd.py \ tests/test_util.py \ tests/test_valid_requests.py +# linting on fixed versions, upgrading to matrix-incompat pylint release is OK deps = - pylint==2.17.4 + pylint==3.0.2 [testenv:docs-lint] allowlist_externals =