Skip to content

Commit ab4c737

Browse files
committed
Unsoport Python 3.9
1 parent ecea075 commit ab4c737

File tree

8 files changed

+9
-13
lines changed

8 files changed

+9
-13
lines changed

.github/workflows/auto-testing.yml

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,6 @@ jobs:
1717
strategy:
1818
matrix:
1919
python-version:
20-
- '3.9'
2120
- '3.10'
2221
- '3.11'
2322
- '3.12'
@@ -53,7 +52,6 @@ jobs:
5352
strategy:
5453
matrix:
5554
python-version:
56-
- '3.9'
5755
- '3.10'
5856
- '3.11'
5957
- '3.12'

README.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ Japanese: https://developers.line.biz/ja/docs/messaging-api/overview/
2222
Requirements
2323
------------
2424

25-
- Python >= 3.9
25+
- Python >= 3.10
2626

2727
Installation
2828
------------

generator/src/main/java/line/bot/generator/PythonNextgenCustomClientGenerator.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1545,7 +1545,7 @@ public String generatePackageName(String packageName) {
15451545

15461546
@Override
15471547
public String generatorLanguageVersion() {
1548-
return "3.9+";
1548+
return "3.10+";
15491549
}
15501550

15511551
@Override

generator/src/main/resources/python-nextgen-custom-client/github-workflow.mustache

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ jobs:
1414
runs-on: ubuntu-latest
1515
strategy:
1616
matrix:
17-
python-version: ["3.9", "3.10"]
17+
python-version: ["3.10"]
1818

1919
steps:
2020
- uses: actions/checkout@v3

generator/src/main/resources/python-nextgen-custom-client/pyproject.mustache

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ repository = "https://github.com/{{{gitRepoId}}}/{{{gitUserId}}}"
99
keywords = ["OpenAPI", "OpenAPI-Generator", "{{{appName}}}"]
1010

1111
[tool.poetry.dependencies]
12-
python = "^3.9"
12+
python = "^3.10"
1313

1414
urllib3 = ">= 1.25.3"
1515
python-dateutil = ">=2.8.2"
@@ -21,14 +21,14 @@ tornado = ">=4.2,<5"
2121
{{/tornado}}
2222
{{#hasHttpSignatureMethods}}
2323
pem = ">= 19.3.0"
24-
pycryptodome = ">= 3.9.0"
24+
pycryptodome = ">= 3.10.0"
2525
{{/hasHttpSignatureMethods}}
2626
pydantic = "^1.10.5, <2"
2727
aenum = ">=3.1.11"
2828

2929
[tool.poetry.dev-dependencies]
3030
pytest = ">=7.2.1"
31-
tox = ">=3.9.0"
31+
tox = ">=3.10.0"
3232
flake8 = ">=4.0.0"
3333

3434
[build-system]

generator/src/main/resources/python-nextgen-custom-client/setup.mustache

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ from setuptools import setup, find_packages # noqa: H301
1212
# http://pypi.python.org/pypi/setuptools
1313
NAME = "{{{projectName}}}"
1414
VERSION = "{{packageVersion}}"
15-
PYTHON_REQUIRES = ">=3.9"
15+
PYTHON_REQUIRES = ">=3.10"
1616
{{#apiInfo}}
1717
{{#apis}}
1818
{{#-last}}
@@ -27,7 +27,7 @@ REQUIRES = [
2727
{{/tornado}}
2828
{{#hasHttpSignatureMethods}}
2929
"pem>=19.3.0",
30-
"pycryptodome>=3.9.0",
30+
"pycryptodome>=3.10.0",
3131
{{/hasHttpSignatureMethods}}
3232
"pydantic >= 1.10.5, < 2",
3333
"aenum"

setup.py

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -188,7 +188,7 @@ def run(self):
188188
long_description=long_description,
189189
license='Apache License 2.0',
190190
packages=find_packages(include=["linebot*"]),
191-
python_requires=">=3.9.0",
191+
python_requires=">=3.10.0",
192192
install_requires=_requirements(),
193193
tests_require=_requirements_test(),
194194
cmdclass={
@@ -200,7 +200,6 @@ def run(self):
200200
"License :: OSI Approved :: Apache Software License",
201201
"Intended Audience :: Developers",
202202
"Programming Language :: Python",
203-
"Programming Language :: Python :: 3.9",
204203
"Programming Language :: Python :: 3.10",
205204
"Programming Language :: Python :: 3.11",
206205
"Programming Language :: Python :: 3.12",

tox.ini

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,5 @@
11
[tox]
22
envlist =
3-
py3.9,
43
py3.10,
54
py3.11,
65
py3.12,

0 commit comments

Comments
 (0)