Skip to content

Commit

Permalink
CI: add CPython 3.12 and PyPy3.10
Browse files Browse the repository at this point in the history
Note: CPython <= 3.7 is EoL since 2923-06-27
Note: PyPy <= 3.8 is EoL since 2023-06-16
  • Loading branch information
pajod committed Dec 8, 2023
1 parent a919f75 commit b19826b
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 7 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/tox.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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 }}
Expand Down
10 changes: 6 additions & 4 deletions appveyor.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
5 changes: 3 additions & 2 deletions tox.ini
Original file line number Diff line number Diff line change
@@ -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

Expand All @@ -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 =
Expand Down

0 comments on commit b19826b

Please sign in to comment.