Skip to content

Commit

Permalink
support py3.12, drop py3.7 (#14)
Browse files Browse the repository at this point in the history
  • Loading branch information
n-takumasa authored Sep 22, 2023
1 parent 6bbafe0 commit 4302787
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 12 deletions.
5 changes: 3 additions & 2 deletions .github/workflows/python-package.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,14 +17,15 @@ 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:
python-version: ${{ matrix.python-version }}
allow-prereleases: true
- name: Setup Poetry
uses: Gr1N/setup-poetry@v8
- name: Install depencencies
Expand Down
6 changes: 0 additions & 6 deletions .python-version

This file was deleted.

2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -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]
Expand Down
5 changes: 2 additions & 3 deletions tox.ini
Original file line number Diff line number Diff line change
@@ -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
Expand Down

0 comments on commit 4302787

Please sign in to comment.