diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index a915b442c5..e6956bfc19 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -7,17 +7,17 @@ repos: - id: trailing-whitespace - id: check-yaml - repo: https://github.com/tox-dev/pyproject-fmt - rev: "2.2.4" + rev: "v2.5.0" hooks: - id: pyproject-fmt - repo: https://github.com/astral-sh/ruff-pre-commit - rev: v0.6.9 + rev: v0.8.6 hooks: - id: ruff args: [ "--fix", "--unsafe-fixes", "--show-fixes", "--exit-non-zero-on-fix"] - id: ruff-format - repo: https://github.com/pre-commit/mirrors-mypy - rev: v1.11.2 + rev: v1.14.1 hooks: - id: mypy args: ['--warn-unused-ignores', '--strict-equality','--no-implicit-optional', '--check-untyped-defs'] diff --git a/pyproject.toml b/pyproject.toml index b78b5c2991..2b2166c2e7 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -31,6 +31,7 @@ classifiers = [ "Programming Language :: Python :: 3.10", "Programming Language :: Python :: 3.11", "Programming Language :: Python :: 3.12", + "Programming Language :: Python :: 3.13", ] dynamic = [ "version", @@ -41,7 +42,7 @@ dependencies = [ "packaging>=20", "platformdirs>=2.1", "tomli; python_version<'3.11'", - "userpath!=1.9,>=1.6", + "userpath>=1.6,!=1.9", ] urls."Bug Tracker" = "https://github.com/pypa/pipx/issues" urls.Documentation = "https://pipx.pypa.io" diff --git a/testdata/empty_project/pyproject.toml b/testdata/empty_project/pyproject.toml index 9b59eaa14c..8f29ebbbd6 100644 --- a/testdata/empty_project/pyproject.toml +++ b/testdata/empty_project/pyproject.toml @@ -20,6 +20,7 @@ classifiers = [ "Programming Language :: Python :: 3.10", "Programming Language :: Python :: 3.11", "Programming Language :: Python :: 3.12", + "Programming Language :: Python :: 3.13", ] scripts.empty-project = "empty_project.main:cli" entry-points."pipx.run".empty-project = "empty_project.main:cli"