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

Commit3d6389b

Browse files
committed
Drop support for Python 3.10
1 parentc1f4c33 commit3d6389b

File tree

5 files changed

+6
-34
lines changed

5 files changed

+6
-34
lines changed

‎.github/workflows/build.yaml‎

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,11 +15,10 @@ jobs:
1515
fail-fast:false
1616
matrix:
1717
python-version:
18-
-"3.10"
1918
-"3.11"
2019
-"3.12"
2120
-"3.13"
22-
-"pypy-3.10"
21+
-"pypy-3.11"
2322
steps:
2423
-uses:actions/checkout@v5
2524
with:

‎bpython/_typing_compat.py‎

Lines changed: 0 additions & 27 deletions
This file was deleted.

‎bpython/args.py‎

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
# The MIT License
22
#
33
# Copyright (c) 2008 Bob Farrell
4-
# Copyright (c) 2012-2021 Sebastian Ramacher
4+
# Copyright (c) 2012-2025 Sebastian Ramacher
55
#
66
# Permission is hereby granted, free of charge, to any person obtaining a copy
77
# of this software and associated documentation files (the "Software"), to deal
@@ -38,11 +38,11 @@
3838
frompathlibimportPath
3939
fromcollections.abcimportCallable
4040
fromtypesimportModuleType
41+
fromtypingimportNever
4142

4243
from .import__version__,__copyright__
4344
from .configimportdefault_config_path,Config
4445
from .translationsimport_
45-
from ._typing_compatimportNever
4646

4747
logger=logging.getLogger(__name__)
4848

@@ -52,7 +52,7 @@ class ArgumentParserFailed(ValueError):
5252

5353

5454
classRaisingArgumentParser(argparse.ArgumentParser):
55-
deferror(self,msg:str)->Never:
55+
deferror(self,message:str)->Never:
5656
raiseArgumentParserFailed()
5757

5858

‎pyproject.toml‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ build-backend = "setuptools.build_meta"
44

55
[tool.black]
66
line-length =80
7-
target_version = ["py310"]
7+
target_version = ["py311"]
88
include ='\.pyi?$'
99
exclude ='''
1010
/(

‎setup.cfg‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ classifiers =
1515
Programming Language :: Python :: 3
1616

1717
[options]
18-
python_requires = >=3.10
18+
python_requires = >=3.11
1919
packages =
2020
bpython
2121
bpython.curtsiesfrontend

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp