diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index fd09c7e..f1d8dfa 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -20,10 +20,10 @@ jobs: fail-fast: false steps: - - uses: actions/checkout@v2 - - uses: actions/setup-python@v2 + - uses: actions/checkout@v4 + - uses: actions/setup-python@v5 with: - python-version: '3.6.7' + python-version: '3.8' - name: Unit tests run: | python3 setup.py install @@ -37,10 +37,10 @@ jobs: fail-fast: false matrix: test-type: [ MutualAuth, Websocket, ALPN ] - python-version: [ '3.7', '3.12' ] + python-version: [ '3.8', '3.13' ] steps: - uses: actions/checkout@v4 - - uses: actions/setup-python@v2 + - uses: actions/setup-python@v5 with: python-version: ${{ matrix.python-version }} - name: Integration tests diff --git a/CHANGELOG.rst b/CHANGELOG.rst index 15ad4b5..765c557 100644 --- a/CHANGELOG.rst +++ b/CHANGELOG.rst @@ -2,10 +2,16 @@ CHANGELOG ========= +1.5.5 +===== +* chore: Update minimum Python version based on current supportable levels + 1.5.4 +===== * chore: CD pipeline flushing try #1 1.5.3 +===== * improvement: Support Python3.12+ by conditionally removing deprecated API usage 1.4.9 diff --git a/README.rst b/README.rst index 991007f..ba88218 100755 --- a/README.rst +++ b/README.rst @@ -70,22 +70,10 @@ also allows the use of the same connection for shadow operations and non-shadow, Installation ~~~~~~~~~~~~ -Minimum Requirements +Requirements ____________________ -- Python 2.7+ or Python 3.3+ for X.509 certificate-based mutual authentication via port 8883 - and MQTT over WebSocket protocol with AWS Signature Version 4 authentication -- Python 2.7.10+ or Python 3.5+ for X.509 certificate-based mutual authentication via port 443 -- OpenSSL version 1.0.1+ (TLS version 1.2) compiled with the Python executable for - X.509 certificate-based mutual authentication - - To check your version of OpenSSL, use the following command in a Python interpreter: - - .. code-block:: python - - >>> import ssl - >>> ssl.OPENSSL_VERSION - +- Python3.8+. The SDK has worked for older Python versions in the past, but they are no longer formally supported. Over time, expect the minimum Python version to loosely track the minimum non-end-of-life version. Install from pip ________________ diff --git a/setup.py b/setup.py index d0c2b8d..0ca4cfa 100644 --- a/setup.py +++ b/setup.py @@ -20,15 +20,11 @@ download_url = 'https://s3.amazonaws.com/aws-iot-device-sdk-python/aws-iot-device-sdk-python-latest.zip', keywords = ['aws', 'iot', 'mqtt'], classifiers = [ - "Development Status :: 5 - Production/Stable", + "Development Status :: 6 - Mature", "Intended Audience :: Developers", "Natural Language :: English", "License :: OSI Approved :: Apache Software License", "Programming Language :: Python", - "Programming Language :: Python :: 2.7", - "Programming Language :: Python :: 3", - "Programming Language :: Python :: 3.3", - "Programming Language :: Python :: 3.4", - "Programming Language :: Python :: 3.5" + "Programming Language :: Python :: 3" ] ) diff --git a/setup_test.py b/setup_test.py index 820d715..2a4e78e 100644 --- a/setup_test.py +++ b/setup_test.py @@ -24,15 +24,11 @@ download_url = 'https://s3.amazonaws.com/aws-iot-device-sdk-python/aws-iot-device-sdk-python-latest.zip', keywords = ['aws', 'iot', 'mqtt'], classifiers = [ - "Development Status :: 5 - Production/Stable", + "Development Status :: 6 - Mature", "Intended Audience :: Developers", "Natural Language :: English", "License :: OSI Approved :: Apache Software License", "Programming Language :: Python", - "Programming Language :: Python :: 2.7", "Programming Language :: Python :: 3", - "Programming Language :: Python :: 3.3", - "Programming Language :: Python :: 3.4", - "Programming Language :: Python :: 3.5" ] )