Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit33cf5bc

Browse files
authored
Update python versions (#700)
2 parents32921c3 +d8a4359 commit33cf5bc

File tree

13 files changed

+20
-21
lines changed

13 files changed

+20
-21
lines changed

‎.github/workflows/ci.yml‎

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -64,8 +64,6 @@ jobs:
6464
matrix:
6565
# Keep list in-sync with noxfile/tests & pyproject.toml.
6666
python:
67-
-name:CPython 3.8
68-
action:3.8
6967
-name:CPython 3.9
7068
action:3.9
7169
-name:CPython 3.10
@@ -74,8 +72,10 @@ jobs:
7472
action:'3.11'
7573
-name:CPython 3.12
7674
action:'3.12'
77-
-name:PyPy 3.8
78-
action:pypy3.8
75+
-name:CPython 3.13
76+
action:'3.13'
77+
-name:PyPy 3.10
78+
action:pypy3.10
7979
task:
8080
-name:Test
8181
nox:tests

‎.pre-commit-config.yaml‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ repos:
1212
rev:v3.19.1
1313
hooks:
1414
-id:pyupgrade
15-
args:[--py38-plus]
15+
args:[--py39-plus]
1616

1717
-repo:https://github.com/PyCQA/isort
1818
rev:6.0.1

‎noxfile.py‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ def pre_commit(session: nox.Session) -> None:
1818

1919

2020
# Keep list in-sync with ci.yml/test-linux & pyproject.toml
21-
@nox.session(python=["pypy3.8","3.8","3.9","3.10","3.11","3.12"])
21+
@nox.session(python=["pypy3.10","3.9","3.10","3.11","3.12","3.13"])
2222
deftests(session:nox.Session)->None:
2323
session.env["PYTHONWARNDEFAULTENCODING"]="1"
2424
session.install("Twisted","coverage[toml]")

‎pyproject.toml‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ classifiers = [
2828
"Programming Language :: Python :: Implementation :: CPython",
2929
"Programming Language :: Python :: Implementation :: PyPy",
3030
]
31-
requires-python =">=3.8"
31+
requires-python =">=3.9"
3232
dependencies = [
3333
"click",
3434
"importlib-resources>=5; python_version<'3.10'",

‎src/towncrier/_builder.py‎

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,9 +9,10 @@
99
importtextwrap
1010

1111
fromcollectionsimportdefaultdict
12+
fromcollections.abcimportIterable,Iterator,Mapping,Sequence
1213
fromfnmatchimportfnmatch
1314
frompathlibimportPath
14-
fromtypingimportAny,DefaultDict,Iterable,Iterator,Mapping,NamedTuple,Sequence
15+
fromtypingimportAny,DefaultDict,NamedTuple
1516

1617
fromclickimportClickException
1718
fromjinja2importTemplate

‎src/towncrier/_git.py‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,8 +5,8 @@
55

66
importos
77

8+
fromcollections.abcimportContainer
89
fromsubprocessimportSTDOUT,call,check_output
9-
fromtypingimportContainer
1010
fromwarningsimportwarn
1111

1212

‎src/towncrier/_hg.py‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,8 +5,8 @@
55

66
importos
77

8+
fromcollections.abcimportContainer
89
fromsubprocessimportSTDOUT,call,check_output
9-
fromtypingimportContainer
1010

1111

1212
defget_default_compare_branch(branches:Container[str])->str|None:

‎src/towncrier/_novcs.py‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55

66
importos
77

8-
fromtypingimportContainer
8+
fromcollections.abcimportContainer
99

1010

1111
defget_default_compare_branch(branches:Container[str])->str|None:

‎src/towncrier/_settings/fragment_types.py‎

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,8 @@
22

33
importabc
44

5-
fromtypingimportAny,Iterable,Mapping
5+
fromcollections.abcimportIterable,Mapping
6+
fromtypingimportAny
67

78

89
classBaseFragmentTypesLoader:

‎src/towncrier/_settings/load.py‎

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,9 +9,10 @@
99
importre
1010
importsys
1111

12+
fromcollections.abcimportMapping,Sequence
1213
fromcontextlibimportExitStack
1314
frompathlibimportPath
14-
fromtypingimportAny,Literal,Mapping,Sequence
15+
fromtypingimportAny,Literal
1516

1617
fromclickimportClickException
1718

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp