Skip to content
This repository was archived by the owner on Jan 20, 2025. It is now read-only.

Commit 8efa625

Browse files
authored
Merge pull request #209 from asottile/all-repos_autofix_all-repos-manual
py39+
2 parents 323871f + 52f3ae8 commit 8efa625

File tree

4 files changed

+9
-9
lines changed

4 files changed

+9
-9
lines changed

.github/workflows/main.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -8,12 +8,12 @@ on:
88

99
jobs:
1010
main-windows:
11-
uses: asottile/workflows/.github/workflows/tox.yml@v1.6.0
11+
uses: asottile/workflows/.github/workflows/tox.yml@v1.7.0
1212
with:
13-
env: '["py38"]'
13+
env: '["py39"]'
1414
os: windows-latest
1515
main-linux:
16-
uses: asottile/workflows/.github/workflows/tox.yml@v1.6.0
16+
uses: asottile/workflows/.github/workflows/tox.yml@v1.7.0
1717
with:
18-
env: '["pypy3", "py38", "py39", "py310", "py311", "py312"]'
18+
env: '["pypy3", "py39", "py310", "py311", "py312", "py313"]'
1919
os: ubuntu-latest

.pre-commit-config.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ repos:
1717
rev: v3.13.0
1818
hooks:
1919
- id: reorder-python-imports
20-
args: [--py38-plus, --add-import, 'from __future__ import annotations']
20+
args: [--py39-plus, --add-import, 'from __future__ import annotations']
2121
- repo: https://github.com/asottile/add-trailing-comma
2222
rev: v3.1.0
2323
hooks:
@@ -26,7 +26,7 @@ repos:
2626
rev: v3.17.0
2727
hooks:
2828
- id: pyupgrade
29-
args: [--py38-plus]
29+
args: [--py39-plus]
3030
- repo: https://github.com/hhatto/autopep8
3131
rev: v2.3.1
3232
hooks:

setup.cfg

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ classifiers =
2020
py_modules = setuptools_golang
2121
install_requires =
2222
setuptools
23-
python_requires = >=3.8
23+
python_requires = >=3.9
2424

2525
[options.entry_points]
2626
console_scripts =

setuptools_golang.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,11 +11,11 @@
1111
import subprocess
1212
import sys
1313
import tempfile
14+
from collections.abc import Generator
15+
from collections.abc import Sequence
1416
from types import TracebackType
1517
from typing import Any
1618
from typing import Callable
17-
from typing import Generator
18-
from typing import Sequence
1919

2020
from distutils.ccompiler import CCompiler
2121
from distutils.dist import Distribution

0 commit comments

Comments
 (0)