Skip to content

Commit

Permalink
drop python 3.7 support (#494)
Browse files Browse the repository at this point in the history
Since it's pyhon 3.7 was EOL.

https://devguide.python.org/versions/
  • Loading branch information
tokuhirom committed Jul 25, 2023
1 parent 44141d4 commit 8ee791d
Show file tree
Hide file tree
Showing 7 changed files with 7 additions and 9 deletions.
3 changes: 1 addition & 2 deletions README.rst
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ Japanese: https://developers.line.biz/ja/docs/messaging-api/overview/
Requirements
------------

- Python >= 3.7
- Python >= 3.8

Installation
------------
Expand Down Expand Up @@ -374,7 +374,6 @@ Run tests

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

- 3.7
- 3.8
- 3.9
- 3.10
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -1544,7 +1544,7 @@ public String generatePackageName(String packageName) {

@Override
public String generatorLanguageVersion() {
return "3.7+";
return "3.8+";
}

@Override
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ jobs:
runs-on: ubuntu-latest
strategy:
matrix:
python-version: ["3.7", "3.8", "3.9", "3.10"]
python-version: ["3.8", "3.9", "3.10"]

steps:
- uses: actions/checkout@v3
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ repository = "https://github.com/{{{gitRepoId}}}/{{{gitUserId}}}"
keywords = ["OpenAPI", "OpenAPI-Generator", "{{{appName}}}"]

[tool.poetry.dependencies]
python = "^3.7"
python = "^3.8"

urllib3 = ">= 1.25.3"
python-dateutil = ">=2.8.2"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ from setuptools import setup, find_packages # noqa: H301
# http://pypi.python.org/pypi/setuptools
NAME = "{{{projectName}}}"
VERSION = "{{packageVersion}}"
PYTHON_REQUIRES = ">=3.7"
PYTHON_REQUIRES = ">=3.8"
{{#apiInfo}}
{{#apis}}
{{#-last}}
Expand Down
3 changes: 1 addition & 2 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -188,7 +188,7 @@ def run(self):
long_description=long_description,
license='Apache License 2.0',
packages=find_packages(include=["linebot*"]),
python_requires=">=3.7.0",
python_requires=">=3.8.0",
install_requires=_requirements(),
tests_require=_requirements_test(),
cmdclass={
Expand All @@ -200,7 +200,6 @@ def run(self):
"License :: OSI Approved :: Apache Software License",
"Intended Audience :: Developers",
"Programming Language :: Python",
"Programming Language :: Python :: 3.7",
"Programming Language :: Python :: 3.8",
"Programming Language :: Python :: 3.9",
"Programming Language :: Python :: 3.10",
Expand Down
2 changes: 1 addition & 1 deletion tox.ini
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
[tox]
envlist = py3.7, py3.8, py3.9, py3.10, py3.11, py3-flake8-src, py3-flake8-other
envlist = py3.8, py3.9, py3.10, py3.11, py3-flake8-src, py3-flake8-other

[testenv]
deps =
Expand Down

0 comments on commit 8ee791d

Please sign in to comment.