diff --git a/.github/workflows/tests.yml b/.github/workflows/tests.yml index 452240a..ebcebe5 100644 --- a/.github/workflows/tests.yml +++ b/.github/workflows/tests.yml @@ -5,7 +5,7 @@ on: branches: [ main ] pull_request: branches: [ main ] - type: [ "opened", "reopened", "synchronize" ] + types: [ "opened", "reopened", "synchronize" ] schedule: - cron: '0 12 * * 0' # run once a week on Sunday # Allow to run this workflow manually from the Actions tab @@ -17,23 +17,23 @@ jobs: matrix: config: # [Python version, tox env] - - ["3.7", "py37"] - - ["3.8", "py38"] - - ["3.9", "py39"] - ["3.10", "py310"] - ["3.11", "py311"] - - ["pypy-3.9", "pypy3"] - - ["3.10", "coverage"] + - ["3.12", "py312"] + - ["3.13", "py313"] + - ["3.14", "py314"] + - ["pypy-3.11", "pypy3"] + - ["3.13", "coverage"] runs-on: ubuntu-latest name: ${{ matrix.config[1] }} steps: - - uses: actions/checkout@v2 + - uses: actions/checkout@v5 - name: Set up Python - uses: actions/setup-python@v2 + uses: actions/setup-python@v6 with: python-version: ${{ matrix.config[0] }} - name: Pip cache - uses: actions/cache@v2 + uses: actions/cache@v4 with: path: ~/.cache/pip key: ${{ runner.os }}-pip-${{ hashFiles('setup.*', 'tox.ini') }} @@ -63,10 +63,10 @@ jobs: os: [ubuntu-latest, windows-latest, macos-latest] steps: - name: Checkout - uses: actions/checkout@v2 + uses: actions/checkout@v5 - name: Setup Python - uses: actions/setup-python@v2 + uses: actions/setup-python@v6 with: python-version: '3.x' architecture: 'x64' diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index 31a1ec5..613a18c 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -1,27 +1,25 @@ --- repos: - repo: https://github.com/pre-commit/pre-commit-hooks - rev: v4.5.0 + rev: v6.0.0 hooks: - id: trailing-whitespace - id: end-of-file-fixer - - id: fix-encoding-pragma - args: [--remove] - id: check-yaml - id: debug-statements - language_version: python3 - repo: https://github.com/PyCQA/flake8 - rev: 6.1.0 + rev: 7.3.0 hooks: - id: flake8 language_version: python3 additional_dependencies: [flake8-typing-imports==1.14.0] - repo: https://github.com/hhatto/autopep8 - rev: v2.0.4 + rev: v2.3.2 hooks: - id: autopep8 + args: [--in-place] - repo: https://github.com/PyCQA/isort - rev: 5.12.0 + rev: 7.0.0 hooks: - id: isort args: [--filter-files] diff --git a/CHANGES.rst b/CHANGES.rst index d74840d..75c246a 100644 --- a/CHANGES.rst +++ b/CHANGES.rst @@ -3,10 +3,20 @@ CHANGES ======= -6.1 (unreleased) +7.0 (unreleased) ================ -- Nothing changed yet. +Backwards incompatible changes +------------------------------ + +- Drop support for Python 3.7, 3.8, 3.9. + +Features +-------- + +- Add support for Python 3.12, 3.13, 3.14. + +- Update tests to ``pytest >= 7.4``. 6.0 (2023-07-07) diff --git a/setup.py b/setup.py index 5543355..3ca3138 100644 --- a/setup.py +++ b/setup.py @@ -15,7 +15,7 @@ def project_path(*names): setup( name='pytest-remove-stale-bytecode', - version='6.1.dev0', + version='7.0.dev0', install_requires=[ 'pytest', @@ -46,17 +46,17 @@ def project_path(*names): Operating System :: OS Independent 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 :: 3.13 +Programming Language :: Python :: 3.14 Programming Language :: Python :: Implementation :: CPython Programming Language :: Python :: Implementation :: PyPy Topic :: Software Development :: Libraries :: Python Modules Topic :: Software Development :: Testing """[:-1].split('\n'), - python_requires='>= 3.7', + python_requires='>= 3.10', description=__doc__.strip(), long_description='\n\n'.join(open(project_path(name)).read() for name in ( 'README.rst', diff --git a/tox.ini b/tox.ini index 72cbb9c..b1a8253 100644 --- a/tox.ini +++ b/tox.ini @@ -1,10 +1,10 @@ [tox] envlist= - py37, - py38, - py39, py310, py311, + py312, + py313, + py314, pypy3, coverage,