diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index 7741297..3428a24 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -7,7 +7,7 @@ jobs: main: strategy: matrix: - python: ['3.8', '3.9', '3.10', '3.11'] + python: ['3.9', '3.10', '3.11', '3.12'] runs-on: ubuntu-latest steps: - run: | diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index 315c420..fedfab3 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -17,7 +17,7 @@ repos: rev: v3.13.0 hooks: - id: reorder-python-imports - args: [--py38-plus, --add-import, 'from __future__ import annotations'] + args: [--py39-plus, --add-import, 'from __future__ import annotations'] - repo: https://github.com/asottile/add-trailing-comma rev: v3.1.0 hooks: @@ -26,7 +26,7 @@ repos: rev: v3.17.0 hooks: - id: pyupgrade - args: [--py38-plus] + args: [--py39-plus] - repo: https://github.com/hhatto/autopep8 rev: v2.3.1 hooks: diff --git a/rustenv.py b/rustenv.py index f2b8aff..f3671da 100644 --- a/rustenv.py +++ b/rustenv.py @@ -22,7 +22,7 @@ import subprocess import tempfile import urllib.request -from typing import Sequence +from collections.abc import Sequence ACTIVATE = '''\ diff --git a/setup.cfg b/setup.cfg index 44222c8..4aae955 100644 --- a/setup.cfg +++ b/setup.cfg @@ -17,7 +17,7 @@ classifiers = [options] py_modules = rustenv -python_requires = >=3.8 +python_requires = >=3.9 [options.entry_points] console_scripts =