From 5ca9604022056dff5e84c95a913e600fdbb93e19 Mon Sep 17 00:00:00 2001 From: n-takumasa Date: Fri, 22 Sep 2023 12:54:07 +0900 Subject: [PATCH] support py3.12, drop py3.7 --- .github/workflows/python-package.yml | 4 ++-- .python-version | 6 ------ pyproject.toml | 2 +- tox.ini | 5 ++--- 4 files changed, 5 insertions(+), 12 deletions(-) delete mode 100644 .python-version diff --git a/.github/workflows/python-package.yml b/.github/workflows/python-package.yml index 5ff430d..3463c27 100644 --- a/.github/workflows/python-package.yml +++ b/.github/workflows/python-package.yml @@ -17,10 +17,10 @@ jobs: fail-fast: false matrix: platform: [ubuntu-latest, windows-latest] - python-version: ["3.7", "3.8", "3.9", "3.10", "3.11"] + python-version: ["3.8", "3.9", "3.10", "3.11", "3.12"] steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 - name: Set up Python ${{ matrix.python-version }} uses: actions/setup-python@v4 with: diff --git a/.python-version b/.python-version deleted file mode 100644 index 9f1b264..0000000 --- a/.python-version +++ /dev/null @@ -1,6 +0,0 @@ -3.7.17 -3.8.17 -3.9.17 -3.10.12 -3.11.4 -3.12.0b3 diff --git a/pyproject.toml b/pyproject.toml index 7683799..f2ba24c 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -18,7 +18,7 @@ python = ">=3.7, <3.13" tomli = { version = "^2.0.1", python = "<3.11" } [tool.poetry.group.dev.dependencies] -pytest = "^7.2.0" +pytest = "*" tox = ">=3.27,<5.0" [build-system] diff --git a/tox.ini b/tox.ini index fe0a231..212ba6f 100644 --- a/tox.ini +++ b/tox.ini @@ -1,14 +1,13 @@ [tox] isolated_build = True -envlist = py{37, 38, 39, 310, 311, 312} +envlist = py{38, 39, 310, 311, 312} [testenv] -deps = pytest >= 7.2.0 +deps = pytest commands = pytest --doctest-modules [gh-actions] python = - 3.7: py37 3.8: py38 3.9: py39 3.10: py310