Skip to content

Commit

Permalink
Start supporting Python 3.12
Browse files Browse the repository at this point in the history
  • Loading branch information
BlankSpruce committed Dec 22, 2023
1 parent 1a002f2 commit 9757ede
Show file tree
Hide file tree
Showing 4 changed files with 8 additions and 5 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,14 +9,14 @@ jobs:
strategy:
fail-fast: false
matrix:
python-version: ['3.7', '3.8', '3.9', '3.10']
python-version: ['3.7', '3.8', '3.9', '3.10', '3.12']
os: [ubuntu-latest]
include:
- python-version: '3.6'
os: ubuntu-20.04
- python-version: '3.11'
- python-version: '3.12'
os: windows-latest
- python-version: '3.11'
- python-version: '3.12'
os: macos-latest
- python-version: '3.11'
os: ubuntu-latest
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
from typing import Dict, Iterator, Iterable, List, Sequence, Sized, Tuple
from collections.abc import Sized
from typing import Dict, Iterator, Iterable, List, Sequence, Tuple
from gersemi.ast_helpers import is_one_of_keywords, is_comment
from gersemi.base_command_invocation_dumper import BaseCommandInvocationDumper
from gersemi.types import Nodes
Expand Down
2 changes: 2 additions & 0 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -44,6 +44,8 @@
"Programming Language :: Python :: 3.8",
"Programming Language :: Python :: 3.9",
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11",
"Programming Language :: Python :: 3.12",
"Topic :: Software Development :: Libraries :: Python Modules",
"Topic :: Software Development :: Quality Assurance",
],
Expand Down
2 changes: 1 addition & 1 deletion tox.ini
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
[tox]
envlist = py36, py37, py38, py39, py310, py311, lint, format, mypy
envlist = py36, py37, py38, py39, py310, py311, py312, lint, format, mypy
skip_missing_interpreters=true

[testenv]
Expand Down

0 comments on commit 9757ede

Please sign in to comment.