diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 937426e..54d73f3 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -25,11 +25,12 @@ jobs: - "3.9" - "3.10" - "3.11" + - "3.12" - "pypy3.7" steps: - name: Git clone - uses: actions/checkout@v3 + uses: actions/checkout@v4 - name: Set up Python ${{ matrix.python-version }} uses: actions/setup-python@v4 @@ -49,21 +50,21 @@ jobs: run: | python -m pip install -U pip python -m pip install -U setuptools wheel - python -m pip install -U coverage coveralls + python -m pip install -U coverage python -m pip install -e .[test] - name: Run tests run: coverage run tests.py - name: Check test coverage - run: coverage report -m --fail-under=100 + run: | + coverage report -m --fail-under=100 + coverage xml - name: Report to coveralls - run: coveralls - continue-on-error: true - env: - GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} - COVERALLS_SERVICE_NAME: github + uses: coverallsapp/github-action@v2 + with: + file: coverage.xml lint: name: ${{ matrix.toxenv }} @@ -79,7 +80,7 @@ jobs: steps: - name: Git clone - uses: actions/checkout@v3 + uses: actions/checkout@v4 - name: Set up Python ${{ env.default_python || '3.11' }} uses: actions/setup-python@v4 diff --git a/CHANGES.rst b/CHANGES.rst index 49c6288..670eee2 100644 --- a/CHANGES.rst +++ b/CHANGES.rst @@ -1,10 +1,10 @@ Changes ======= -1.8.9 (unreleased) +1.8.0 (unreleased) ------------------ -- Add support for Python 3.8, 3.9, 3.10, and 3.11. +- Add support for Python 3.8, 3.9, 3.10, 3.11, and 3.12. - Drop support for Python 2.7, 3.5 and 3.6. diff --git a/appveyor.yml b/appveyor.yml index 070ed75..5c1a5c2 100644 --- a/appveyor.yml +++ b/appveyor.yml @@ -4,11 +4,12 @@ environment: matrix: # https://www.appveyor.com/docs/installed-software#python lists available # versions - - PYTHON: "C:\\Python37" - - PYTHON: "C:\\Python38" - - PYTHON: "C:\\Python39" - - PYTHON: "C:\\Python310" - - PYTHON: "C:\\Python311" + - PYTHON: "C:\\Python37-x64" + - PYTHON: "C:\\Python38-x64" + - PYTHON: "C:\\Python39-x64" + - PYTHON: "C:\\Python310-x64" + - PYTHON: "C:\\Python311-x64" + - PYTHON: "C:\\Python312-x64" init: - "echo %PYTHON%" diff --git a/setup.py b/setup.py index 90d1165..bb6937c 100755 --- a/setup.py +++ b/setup.py @@ -54,6 +54,7 @@ def get_description(): 'Programming Language :: Python :: 3.9', 'Programming Language :: Python :: 3.10', 'Programming Language :: Python :: 3.11', + 'Programming Language :: Python :: 3.12', 'Programming Language :: Python :: Implementation :: CPython', 'Programming Language :: Python :: Implementation :: PyPy', 'Topic :: Multimedia :: Graphics', diff --git a/tox.ini b/tox.ini index 86b6b94..817a10d 100644 --- a/tox.ini +++ b/tox.ini @@ -1,6 +1,6 @@ [tox] envlist = - py37,py38,py39,py310,py311,pypy3 + py37,py38,py39,py310,py311,py312,pypy3 [testenv] extras = test