diff --git a/.github/workflows/tests.yaml b/.github/workflows/tests.yaml index de80d78..a1cecb7 100644 --- a/.github/workflows/tests.yaml +++ b/.github/workflows/tests.yaml @@ -7,6 +7,6 @@ jobs: - uses: actions/checkout@v3 - uses: wntrblm/nox@2023.04.22 with: - python-versions: "3.7, 3.8, 3.9, 3.10, 3.11, 3.12" + python-versions: "3.8, 3.9, 3.10, 3.11, 3.12" - run: nox - run: nox -s build diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index 64c4cc4..2d03bb5 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -1,23 +1,23 @@ repos: - repo: https://github.com/pre-commit/pre-commit-hooks - rev: v4.6.0 + rev: v5.0.0 hooks: - id: check-toml - id: check-yaml - id: end-of-file-fixer - id: trailing-whitespace - repo: https://github.com/tox-dev/pyproject-fmt - rev: "2.2.4" + rev: "v2.5.1" hooks: - id: pyproject-fmt - repo: https://github.com/astral-sh/ruff-pre-commit - rev: v0.6.8 + rev: v0.11.6 hooks: - id: ruff args: [--fix, --exit-non-zero-on-fix] - id: ruff-format - repo: https://github.com/codespell-project/codespell - rev: v2.3.0 + rev: v2.4.1 hooks: - id: codespell additional_dependencies: ["tomli"] diff --git a/noxfile.py b/noxfile.py index bb60a01..80a1d89 100644 --- a/noxfile.py +++ b/noxfile.py @@ -9,7 +9,7 @@ locations = "pytest_test_utils", "tests.py" -@nox.session(python=["3.7", "3.8", "3.9", "3.10", "3.11", "3.12"]) +@nox.session(python=["3.8", "3.9", "3.10", "3.11", "3.12"]) def tests(session: nox.Session) -> None: session.install(".[tests]") # `pytest --cov` will start coverage after pytest diff --git a/pyproject.toml b/pyproject.toml index 4d3f745..c0196c3 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -12,16 +12,16 @@ license = { text = "Apache License 2.0" } authors = [ { name = "Saugat Pachhai", email = "support@dvc.org" }, ] -requires-python = ">=3.7" +requires-python = ">=3.8" classifiers = [ "Framework :: Pytest", "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", ] dynamic = [ "version",