Skip to content

Commit 8ee791d

Browse files
authored
drop python 3.7 support (line#494)
Since it's pyhon 3.7 was EOL. https://devguide.python.org/versions/
1 parent 44141d4 commit 8ee791d

File tree

7 files changed

+7
-9
lines changed

7 files changed

+7
-9
lines changed

README.rst

+1-2
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.7
25+
- Python >= 3.8
2626

2727
Installation
2828
------------
@@ -374,7 +374,6 @@ Run tests
374374

375375
Test by using tox. We test against the following versions.
376376

377-
- 3.7
378377
- 3.8
379378
- 3.9
380379
- 3.10

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

+1-1
Original file line numberDiff line numberDiff line change
@@ -1544,7 +1544,7 @@ public String generatePackageName(String packageName) {
15441544

15451545
@Override
15461546
public String generatorLanguageVersion() {
1547-
return "3.7+";
1547+
return "3.8+";
15481548
}
15491549

15501550
@Override

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

+1-1
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.7", "3.8", "3.9", "3.10"]
17+
python-version: ["3.8", "3.9", "3.10"]
1818

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

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

+1-1
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.7"
12+
python = "^3.8"
1313

1414
urllib3 = ">= 1.25.3"
1515
python-dateutil = ">=2.8.2"

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

+1-1
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.7"
15+
PYTHON_REQUIRES = ">=3.8"
1616
{{#apiInfo}}
1717
{{#apis}}
1818
{{#-last}}

setup.py

+1-2
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.7.0",
191+
python_requires=">=3.8.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.7",
204203
"Programming Language :: Python :: 3.8",
205204
"Programming Language :: Python :: 3.9",
206205
"Programming Language :: Python :: 3.10",

tox.ini

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
[tox]
2-
envlist = py3.7, py3.8, py3.9, py3.10, py3.11, py3-flake8-src, py3-flake8-other
2+
envlist = py3.8, py3.9, py3.10, py3.11, py3-flake8-src, py3-flake8-other
33

44
[testenv]
55
deps =

0 commit comments

Comments
 (0)