From f94adf96cbecad0f32efc904ff16a3edc3ed83b5 Mon Sep 17 00:00:00 2001 From: Steve Kim Date: Mon, 25 Aug 2025 13:31:37 -0700 Subject: [PATCH 1/4] drop python 3.7 support --- README.md | 2 +- builder.json | 5 ----- documents/PREREQUISITES.md | 2 +- setup.py | 2 +- 4 files changed, 3 insertions(+), 8 deletions(-) diff --git a/README.md b/README.md index 874de84e..7a069cf7 100644 --- a/README.md +++ b/README.md @@ -18,7 +18,7 @@ This document provides information about the AWS IoT Device SDK v2 for Python. T ## Installation ### Minimum Requirements -* Python 3.7+ +* Python 3.8+ [Step-by-step instructions](./documents/PREREQUISITES.md) diff --git a/builder.json b/builder.json index d80fba66..a37bd2cc 100644 --- a/builder.json +++ b/builder.json @@ -43,11 +43,6 @@ ["/opt/python/cp38-cp38/bin/python", "-m", "pip", "install", ".", "--verbose"], ["/opt/python/cp38-cp38/bin/python", "-m", "pip", "install", "boto3", "autopep8"], ["/opt/python/cp38-cp38/bin/python", "-m", "unittest", "discover", "--verbose"], - ["echo", "------ Python 3.7 ------"], - ["/opt/python/cp37-cp37m/bin/python", "-m", "pip", "install", "--upgrade", "pip", "setuptools"], - ["/opt/python/cp37-cp37m/bin/python", "-m", "pip", "install", ".", "--verbose"], - ["/opt/python/cp37-cp37m/bin/python", "-m", "pip", "install", "boto3", "autopep8"], - ["/opt/python/cp37-cp37m/bin/python", "-m", "unittest", "discover", "--verbose"] ], "run_tests": false, "_comment": "manylinux has all its own build steps, turn off 'tests' which is where normal build steps are declared. using data to program sucks" diff --git a/documents/PREREQUISITES.md b/documents/PREREQUISITES.md index 99273ee9..0a8797b7 100644 --- a/documents/PREREQUISITES.md +++ b/documents/PREREQUISITES.md @@ -1,6 +1,6 @@ # PREREQUISITES -## Python 3.7 or higher +## Python 3.8 or higher How you install Python varies from platform to platform. Below are the instructions for Windows, MacOS, and Linux: diff --git a/setup.py b/setup.py index 98327934..5c312a6a 100644 --- a/setup.py +++ b/setup.py @@ -42,5 +42,5 @@ def _load_version(): install_requires=[ 'awscrt==0.27.4', ], - python_requires='>=3.7', + python_requires='>=3.8', ) From a41acc7940b9555da5dda53344cdccd2088b6e82 Mon Sep 17 00:00:00 2001 From: Steve Kim Date: Mon, 25 Aug 2025 13:33:04 -0700 Subject: [PATCH 2/4] remove , --- builder.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/builder.json b/builder.json index a37bd2cc..7f9b1e92 100644 --- a/builder.json +++ b/builder.json @@ -42,7 +42,7 @@ ["/opt/python/cp38-cp38/bin/python", "-m", "pip", "install", "--upgrade", "pip", "setuptools"], ["/opt/python/cp38-cp38/bin/python", "-m", "pip", "install", ".", "--verbose"], ["/opt/python/cp38-cp38/bin/python", "-m", "pip", "install", "boto3", "autopep8"], - ["/opt/python/cp38-cp38/bin/python", "-m", "unittest", "discover", "--verbose"], + ["/opt/python/cp38-cp38/bin/python", "-m", "unittest", "discover", "--verbose"] ], "run_tests": false, "_comment": "manylinux has all its own build steps, turn off 'tests' which is where normal build steps are declared. using data to program sucks" From 7e42de3e0c3ce912cfbc66472ca9dead69d5db66 Mon Sep 17 00:00:00 2001 From: Steve Kim Date: Mon, 25 Aug 2025 13:37:06 -0700 Subject: [PATCH 3/4] turn off fail-fast for the osx ci job --- .github/workflows/ci.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index aff88807..c6e57f32 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -104,6 +104,7 @@ jobs: osx: runs-on: ${{ matrix.runner }} strategy: + fail-fast: false matrix: runner: - macos-13 From c3340ec14310c9b14fddae1459c55e1c8152d0ab Mon Sep 17 00:00:00 2001 From: Steve Kim Date: Mon, 25 Aug 2025 14:27:17 -0700 Subject: [PATCH 4/4] bump builder version --- .github/workflows/ci.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index c6e57f32..4c1060e1 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -7,7 +7,7 @@ on: - 'docs' env: - BUILDER_VERSION: v0.9.56 + BUILDER_VERSION: v0.9.75 BUILDER_SOURCE: releases BUILDER_HOST: https://d19elf31gohf1l.cloudfront.net PACKAGE_NAME: aws-iot-device-sdk-python-v2