Skip to content

Commit c63a0bc

Browse files
committed
Update repo to require Python >=3.8
1 parent 91ce326 commit c63a0bc

File tree

5 files changed

+7
-7
lines changed

5 files changed

+7
-7
lines changed

.github/workflows/build.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -22,10 +22,10 @@ jobs:
2222
awk -F '\/' '{ print tolower($2) }' |
2323
tr '_' '-'
2424
)
25-
- name: Set up Python 3.7
25+
- name: Set up Python 3.8
2626
uses: actions/setup-python@v1
2727
with:
28-
python-version: 3.7
28+
python-version: 3.8
2929
- name: Versions
3030
run: |
3131
python3 --version

.github/workflows/release.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -69,7 +69,7 @@ jobs:
6969
if: contains(steps.need-pypi.outputs.setup-py, 'setup.py')
7070
uses: actions/setup-python@v1
7171
with:
72-
python-version: '3.x'
72+
python-version: '3.8'
7373
- name: Install dependencies
7474
if: contains(steps.need-pypi.outputs.setup-py, 'setup.py')
7575
run: |

.readthedocs.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99
version: 2
1010

1111
python:
12-
version: "3.7"
12+
version: "3.8"
1313
install:
1414
- requirements: docs/requirements.txt
1515
- requirements: requirements.txt

setup.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -33,6 +33,7 @@
3333
# Author details
3434
author="Adafruit Industries",
3535
author_email="[email protected]",
36+
python_requires=">=3.8",
3637
install_requires=["Adafruit-Blinka", "typing-extensions"],
3738
# Choose your license
3839
license="MIT",
@@ -44,8 +45,7 @@
4445
"Topic :: System :: Hardware",
4546
"License :: OSI Approved :: MIT License",
4647
"Programming Language :: Python :: 3",
47-
"Programming Language :: Python :: 3.4",
48-
"Programming Language :: Python :: 3.5",
48+
"Programming Language :: Python :: 3.8",
4949
],
5050
# What does your project relate to?
5151
keywords="adafruit blinka circuitpython micropython requests requests, networking",

tox.ini

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
# SPDX-License-Identifier: MIT
44

55
[tox]
6-
envlist = py37
6+
envlist = py38
77

88
[testenv]
99
changedir = {toxinidir}/tests

0 commit comments

Comments
 (0)