diff --git a/.github/workflows/test.yaml b/.github/workflows/test.yaml index 894a2cf..f8403bf 100644 --- a/.github/workflows/test.yaml +++ b/.github/workflows/test.yaml @@ -30,7 +30,8 @@ jobs: - "3.10" - "3.11" - "3.12" - cpython-beta: "3.13" + - "3.13" + cpython-beta: "3.14" cache-key-hash-files: - "pyproject.toml" diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index 5cc1088..ef809cf 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -11,7 +11,7 @@ repos: - id: "check-useless-excludes" - repo: "https://github.com/pre-commit/pre-commit-hooks" - rev: "v4.6.0" + rev: "v5.0.0" hooks: - id: "check-added-large-files" - id: "check-merge-conflict" @@ -24,7 +24,7 @@ repos: - id: "trailing-whitespace" - repo: "https://github.com/asottile/pyupgrade" - rev: "v3.17.0" + rev: "v3.19.0" hooks: - id: "pyupgrade" name: "Enforce Python 3.9+ idioms" @@ -32,7 +32,7 @@ repos: - "--py39-plus" - repo: "https://github.com/psf/black-pre-commit-mirror" - rev: "24.8.0" + rev: "24.10.0" hooks: - id: "black" @@ -46,7 +46,7 @@ repos: hooks: - id: "flake8" additional_dependencies: - - "flake8-bugbear==24.8.19" + - "flake8-bugbear==24.10.31" - repo: "https://github.com/editorconfig-checker/editorconfig-checker.python" rev: "3.0.3" diff --git a/pyproject.toml b/pyproject.toml index e56458c..e04b5b8 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -64,8 +64,6 @@ profile = "black" addopts = "--color=yes" filterwarnings = [ "error", - # pyfakefs 5.6.0 on Python 3.13 throws ResourceWarnings. - "ignore:unclosed file.+pyfakefs:ResourceWarning", ] diff --git a/tox.ini b/tox.ini index 968cac6..44dc80a 100644 --- a/tox.ini +++ b/tox.ini @@ -1,7 +1,7 @@ [tox] envlist = coverage_erase - py{3.13, 3.12, 3.11, 3.10, 3.9}{-brotli, }{-zopfli, } + py{3.14, 3.13, 3.12, 3.11, 3.10, 3.9}{-brotli, }{-zopfli, } coverage_report labels = update=update @@ -19,7 +19,7 @@ deps = package = wheel wheel_build_env = build_wheel depends = - py{3.13, 3.12, 3.11, 3.10, 3.9}{-brotli, }{-zopfli, }: coverage_erase + py{3.14, 3.13, 3.12, 3.11, 3.10, 3.9}{-brotli, }{-zopfli, }: coverage_erase commands = coverage run -m pytest @@ -38,7 +38,7 @@ skip_install = True deps = coverage[toml] depends = - py{3.13, 3.12, 3.11, 3.10, 3.9}{-brotli, }{-zopfli, } + py{3.14, 3.13, 3.12, 3.11, 3.10, 3.9}{-brotli, }{-zopfli, } commands_pre = coverage combine coverage html --fail-under=0