diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 7fade785..e8f5868a 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -60,24 +60,6 @@ jobs: toxpython: 'python3.11' tox_env: 'docs' os: 'ubuntu-latest' - - name: 'py37-pytest73-xdist330-coverage72 (ubuntu)' - python: '3.7' - toxpython: 'python3.7' - python_arch: 'x64' - tox_env: 'py37-pytest73-xdist330-coverage72' - os: 'ubuntu-latest' - - name: 'py37-pytest73-xdist330-coverage72 (windows)' - python: '3.7' - toxpython: 'python3.7' - python_arch: 'x64' - tox_env: 'py37-pytest73-xdist330-coverage72' - os: 'windows-latest' - - name: 'py37-pytest73-xdist330-coverage72 (macos)' - python: '3.7' - toxpython: 'python3.7' - python_arch: 'x64' - tox_env: 'py37-pytest73-xdist330-coverage72' - os: 'macos-latest' - name: 'py38-pytest73-xdist330-coverage72 (ubuntu)' python: '3.8' toxpython: 'python3.8' @@ -150,23 +132,23 @@ jobs: python_arch: 'x64' tox_env: 'py311-pytest73-xdist330-coverage72' os: 'macos-latest' - - name: 'pypy37-pytest73-xdist330-coverage72 (ubuntu)' - python: 'pypy-3.7' - toxpython: 'pypy3.7' + - name: 'py312-pytest73-xdist330-coverage72 (ubuntu)' + python: '3.12' + toxpython: 'python3.12' python_arch: 'x64' - tox_env: 'pypy37-pytest73-xdist330-coverage72' + tox_env: 'py312-pytest73-xdist330-coverage72' os: 'ubuntu-latest' - - name: 'pypy37-pytest73-xdist330-coverage72 (windows)' - python: 'pypy-3.7' - toxpython: 'pypy3.7' + - name: 'py312-pytest73-xdist330-coverage72 (windows)' + python: '3.12' + toxpython: 'python3.12' python_arch: 'x64' - tox_env: 'pypy37-pytest73-xdist330-coverage72' + tox_env: 'py312-pytest73-xdist330-coverage72' os: 'windows-latest' - - name: 'pypy37-pytest73-xdist330-coverage72 (macos)' - python: 'pypy-3.7' - toxpython: 'pypy3.7' + - name: 'py312-pytest73-xdist330-coverage72 (macos)' + python: '3.12' + toxpython: 'python3.12' python_arch: 'x64' - tox_env: 'pypy37-pytest73-xdist330-coverage72' + tox_env: 'py312-pytest73-xdist330-coverage72' os: 'macos-latest' - name: 'pypy38-pytest73-xdist330-coverage72 (ubuntu)' python: 'pypy-3.8' @@ -211,6 +193,7 @@ jobs: - uses: actions/setup-python@v4 with: python-version: ${{ matrix.python }} + allow-prereleases: true architecture: ${{ matrix.python_arch }} - name: install dependencies run: | diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index 1b105884..3f7d5606 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -18,7 +18,7 @@ repos: rev: v3.3.1 hooks: - id: pyupgrade - args: [--py37-plus] + args: [--py38-plus] - repo: https://github.com/PyCQA/flake8 rev: 6.0.0 hooks: diff --git a/ci/templates/.github/workflows/test.yml b/ci/templates/.github/workflows/test.yml index 6aaf1dbc..47f1fb24 100644 --- a/ci/templates/.github/workflows/test.yml +++ b/ci/templates/.github/workflows/test.yml @@ -94,6 +94,7 @@ jobs: - uses: actions/setup-python@v4 with: python-version: {{ '${{ matrix.python }}' }} + allow-prereleases: true architecture: {{ '${{ matrix.python_arch }}' }} - name: install dependencies run: | diff --git a/setup.py b/setup.py index 70224965..d6491251 100755 --- a/setup.py +++ b/setup.py @@ -110,11 +110,11 @@ def run(self): 'Programming Language :: Python', 'Programming Language :: Python :: 3', 'Programming Language :: Python :: 3 :: Only', - 'Programming Language :: Python :: 3.7', 'Programming Language :: Python :: 3.8', '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 :: Software Development :: Testing', @@ -132,7 +132,7 @@ def run(self): 'pytest>=4.6', 'coverage[toml]>=5.2.1' ], - python_requires='>=3.7', + python_requires='>=3.8', extras_require={ 'testing': [ 'fields', diff --git a/tox.ini b/tox.ini index 7d49a3be..27363f7f 100644 --- a/tox.ini +++ b/tox.ini @@ -12,7 +12,7 @@ passenv = [tox] envlist = check - py{37,38,39,310,311,py37,py38,py39}-pytest{73}-xdist330-coverage{72} + py{38,39,310,311,312,py38,py39}-pytest{73}-xdist330-coverage{72} docs [testenv] @@ -30,7 +30,7 @@ setenv = pytest70: _DEP_PYTEST=pytest==7.0.1 pytest71: _DEP_PYTEST=pytest==7.1.2 pytest72: _DEP_PYTEST=pytest==7.2.0 - pytest73: _DEP_PYTEST=pytest==7.3.1 + pytest73: _DEP_PYTEST=pytest==7.3.2 xdist127: _DEP_PYTESTXDIST=pytest-xdist==1.27.0 xdist129: _DEP_PYTESTXDIST=pytest-xdist==1.29.0