From 4f2703c94ce4838befc1ffef1c3bdca4ac1eccf2 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Anton=20Gr=C3=BCbel?= Date: Tue, 4 Oct 2022 16:31:32 +0200 Subject: [PATCH 1/2] Add Python 3.11 support (#320) --- .github/workflows/test.yml | 4 +++- setup.py | 1 + tox.ini | 2 +- 3 files changed, 5 insertions(+), 2 deletions(-) diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 59d3b79..485d4ca 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -11,7 +11,7 @@ jobs: strategy: fail-fast: false matrix: - python: ["3.7", "3.8", "3.9", "3.10"] + python: ["3.7", "3.8", "3.9", "3.10", "3.11-dev"] os: [ubuntu-latest, windows-latest] include: - python: "3.7" @@ -22,6 +22,8 @@ jobs: tox_env: "py39" - python: "3.10" tox_env: "py310" + - python: "3.11-dev" + tox_env: "py311" steps: - uses: actions/checkout@v3 diff --git a/setup.py b/setup.py index d6038b0..a997c4b 100644 --- a/setup.py +++ b/setup.py @@ -33,6 +33,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 :: Only", "Topic :: Software Development :: Testing", ], diff --git a/tox.ini b/tox.ini index 32c93de..989779e 100644 --- a/tox.ini +++ b/tox.ini @@ -1,6 +1,6 @@ [tox] minversion = 3.5.3 -envlist = py{37,38,39,310}, norewrite +envlist = py{37,38,39,310,311}, norewrite [testenv] passenv = USER USERNAME From a1c7421daad8d6bc433db28a5df1b01bd0a93222 Mon Sep 17 00:00:00 2001 From: "pre-commit-ci[bot]" <66853113+pre-commit-ci[bot]@users.noreply.github.com> Date: Tue, 4 Oct 2022 11:33:57 -0300 Subject: [PATCH 2/2] [pre-commit.ci] pre-commit autoupdate (#321) Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com> --- .pre-commit-config.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index e1eb0b7..1d47fd7 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -24,7 +24,7 @@ repos: - id: reorder-python-imports args: ['--application-directories=.:src'] - repo: https://github.com/pre-commit/mirrors-mypy - rev: v0.971 # NOTE: keep this in sync with tox.ini + rev: v0.981 # NOTE: keep this in sync with tox.ini hooks: - id: mypy files: ^(src|tests)