Skip to content

Commit 4034959

Browse files
authored
Raise minimum Python version to 3.8 (#639)
* drop python 3.7 support
1 parent fe3a156 commit 4034959

File tree

5 files changed

+6
-10
lines changed

5 files changed

+6
-10
lines changed

.github/workflows/ci.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ on:
77
- 'docs'
88

99
env:
10-
BUILDER_VERSION: v0.9.56
10+
BUILDER_VERSION: v0.9.75
1111
BUILDER_SOURCE: releases
1212
BUILDER_HOST: https://d19elf31gohf1l.cloudfront.net
1313
PACKAGE_NAME: aws-iot-device-sdk-python-v2
@@ -104,6 +104,7 @@ jobs:
104104
osx:
105105
runs-on: ${{ matrix.runner }}
106106
strategy:
107+
fail-fast: false
107108
matrix:
108109
runner:
109110
- macos-13

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ This document provides information about the AWS IoT Device SDK v2 for Python. T
1818
## Installation
1919

2020
### Minimum Requirements
21-
* Python 3.7+
21+
* Python 3.8+
2222

2323
[Step-by-step instructions](./documents/PREREQUISITES.md)
2424

builder.json

Lines changed: 1 addition & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -42,12 +42,7 @@
4242
["/opt/python/cp38-cp38/bin/python", "-m", "pip", "install", "--upgrade", "pip", "setuptools"],
4343
["/opt/python/cp38-cp38/bin/python", "-m", "pip", "install", ".", "--verbose"],
4444
["/opt/python/cp38-cp38/bin/python", "-m", "pip", "install", "boto3", "autopep8"],
45-
["/opt/python/cp38-cp38/bin/python", "-m", "unittest", "discover", "--verbose"],
46-
["echo", "------ Python 3.7 ------"],
47-
["/opt/python/cp37-cp37m/bin/python", "-m", "pip", "install", "--upgrade", "pip", "setuptools"],
48-
["/opt/python/cp37-cp37m/bin/python", "-m", "pip", "install", ".", "--verbose"],
49-
["/opt/python/cp37-cp37m/bin/python", "-m", "pip", "install", "boto3", "autopep8"],
50-
["/opt/python/cp37-cp37m/bin/python", "-m", "unittest", "discover", "--verbose"]
45+
["/opt/python/cp38-cp38/bin/python", "-m", "unittest", "discover", "--verbose"]
5146
],
5247
"run_tests": false,
5348
"_comment": "manylinux has all its own build steps, turn off 'tests' which is where normal build steps are declared. using data to program sucks"

documents/PREREQUISITES.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# PREREQUISITES
22

3-
## Python 3.7 or higher
3+
## Python 3.8 or higher
44

55
How you install Python varies from platform to platform. Below are the instructions for Windows, MacOS, and Linux:
66

setup.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -42,5 +42,5 @@ def _load_version():
4242
install_requires=[
4343
'awscrt==0.27.4',
4444
],
45-
python_requires='>=3.7',
45+
python_requires='>=3.8',
4646
)

0 commit comments

Comments
 (0)