Skip to content

Commit fcee6d4

Browse files
authored
Drop python 3.6 support, start python 3.10 support. Close #366 (#379)
1 parent dcf86f7 commit fcee6d4

File tree

4 files changed

+10
-10
lines changed

4 files changed

+10
-10
lines changed

.github/workflows/auto-testing.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ jobs:
1010
runs-on: ubuntu-latest
1111
strategy:
1212
matrix:
13-
python-version: [3.6, 3.7, 3.8, 3.9]
13+
python-version: ['3.7', '3.8', '3.9', '3.10']
1414

1515
steps:
1616
- uses: actions/checkout@v2

README.rst

Lines changed: 6 additions & 6 deletions
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.6
25+
- Python >= 3.7
2626

2727
Installation
2828
------------
@@ -1458,28 +1458,28 @@ Run tests
14581458

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

1461-
- 3.6
14621461
- 3.7
14631462
- 3.8
14641463
- 3.9
1464+
- 3.10
14651465

14661466
To run all tests and to run ``flake8`` against all versions, use:
14671467

14681468
::
14691469

14701470
tox
14711471

1472-
To run all tests against version 3.6, use:
1472+
To run all tests against version 3.7, use:
14731473

14741474
::
14751475

1476-
$ tox -e py3.6
1476+
$ tox -e py3.7
14771477

1478-
To run a test against version 3.6 and against a specific file, use:
1478+
To run a test against version 3.7 and against a specific file, use:
14791479

14801480
::
14811481

1482-
$ tox -e py3.6 -- tests/test_webhook.py
1482+
$ tox -e py3.7 -- tests/test_webhook.py
14831483

14841484

14851485
.. |Build Status| image:: https://travis-ci.org/line/line-bot-sdk-python.svg?branch=master

setup.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -179,7 +179,7 @@ def run(self):
179179
packages=[
180180
"linebot", "linebot.models"
181181
],
182-
python_requires=">=3.6.0",
182+
python_requires=">=3.7.0",
183183
install_requires=_requirements(),
184184
tests_require=_requirements_test(),
185185
cmdclass={
@@ -191,10 +191,10 @@ def run(self):
191191
"License :: OSI Approved :: Apache Software License",
192192
"Intended Audience :: Developers",
193193
"Programming Language :: Python",
194-
"Programming Language :: Python :: 3.6",
195194
"Programming Language :: Python :: 3.7",
196195
"Programming Language :: Python :: 3.8",
197196
"Programming Language :: Python :: 3.9",
197+
"Programming Language :: Python :: 3.10",
198198
"Topic :: Software Development"
199199
]
200200
)

tox.ini

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

44
[testenv]
55
deps =

0 commit comments

Comments
 (0)