diff --git a/.github/workflows/build.yaml b/.github/workflows/build.yaml index db28319d..ec6123e7 100644 --- a/.github/workflows/build.yaml +++ b/.github/workflows/build.yaml @@ -6,13 +6,6 @@ on: schedule: - cron: '0 4 * * 1' jobs: - ruff: # https://beta.ruff.rs - runs-on: ubuntu-latest - steps: - - uses: actions/checkout@v3 - - run: pip install --user ruff - - run: ruff --format=github . - # this job ensures that tests can run from the packaged version, which means # that nose2 is correctly packaging and distributing its tests test-sdist: @@ -43,7 +36,7 @@ jobs: # any additional builds for windows and macos # handled via `include` to avoid an over-large test matrix os: [ubuntu-latest] - python-version: ["3.7", "3.8", "3.9", "3.10", "3.11", "3.12-dev", "pypy-3.9"] + python-version: ["3.8", "3.9", "3.10", "3.11", "3.12", "pypy-3.9"] include: - os: windows-latest python-version: "3.x" @@ -56,6 +49,7 @@ jobs: - uses: actions/setup-python@v4 with: python-version: ${{ matrix.python-version }} + allow-prereleases: true - name: install tox run: python -m pip install -U tox - name: test diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index 1859ca61..e383f737 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -33,6 +33,7 @@ repos: hooks: - id: validate-pyproject - repo: https://github.com/tox-dev/pyproject-fmt - rev: 0.11.2 + rev: 1.1.0 hooks: - id: pyproject-fmt + additional_dependencies: ["tox>=4.9"] diff --git a/pyproject.toml b/pyproject.toml index d5daccdc..fd06d743 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -17,7 +17,7 @@ license = {text = "BSD-2-Clause"} authors = [ { name = "Stephen Rosen", email = "dev@nose2.io" }, ] -requires-python = ">=3.6" +requires-python = ">=3.8" classifiers=[ "Development Status :: 4 - Beta", "Environment :: Console", @@ -26,12 +26,11 @@ classifiers=[ "Operating System :: OS Independent", "Programming Language :: Python", "Programming Language :: Python :: 3 :: Only", - "Programming Language :: Python :: 3.6", - "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 :: Libraries", @@ -116,7 +115,7 @@ ignore = [ "RUF005", "RUF100" ] -target-version = "py37" +target-version = "py38" [tool.ruff.isort] known-third-party = [ diff --git a/tox.ini b/tox.ini index ac1978fa..d6445708 100644 --- a/tox.ini +++ b/tox.ini @@ -1,5 +1,5 @@ [tox] -envlist=py{37,38,39,310,311}{,-nocov},pypy,docs,lint +envlist=py{38,39,310,311,312}{,-nocov},pypy,docs,lint [testenv] passenv = CI