diff --git a/.github/workflows/run_tests.yml b/.github/workflows/run_tests.yml index af891d6..b8a2acb 100644 --- a/.github/workflows/run_tests.yml +++ b/.github/workflows/run_tests.yml @@ -9,7 +9,8 @@ jobs: environment: testing strategy: matrix: - python: [3.8, 3.9, "3.10", "3.11"] + # Python 3.8/3.9 dropped: fixed requests/urllib3 pins require Python >= 3.10 (work item 741117) + python: ["3.10", "3.11", "3.12"] steps: - uses: actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8 # v5 diff --git a/README.md b/README.md index d8af401..2dc9adf 100644 --- a/README.md +++ b/README.md @@ -207,7 +207,7 @@ When using a self-signed certificate for SSL, the `REQUESTS_CA_BUNDLE` environme ## Create a Build Environment (optional) -The SDK requires [Python 3.8](https://www.python.org/downloads/) or higher. +The SDK requires [Python 3.10](https://www.python.org/downloads/) or higher. First, ensure Python is in `$PATH`, then run: diff --git a/pyproject.toml b/pyproject.toml index 737c6fa..36dc096 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -9,14 +9,20 @@ author-email = "GitHub@delinea.com" classifiers = [ "License :: OSI Approved :: Apache Software License", "Operating System :: OS Independent", - "Programming Language :: Python :: 3.8", - "Programming Language :: Python :: 3.9", "Programming Language :: Python :: 3.10", - "Programming Language :: Python :: 3.11" + "Programming Language :: Python :: 3.11", + "Programming Language :: Python :: 3.12" ] description-file = "README.md" +# BREAKING (consumer-facing): the requests floor was raised from 2.12.5 to 2.34.2 +# to clear CVE-2026-25645 (requests) and its transitive urllib3 advisories for +# downstream installs, not just CI. requests 2.34.2 requires Python >= 3.10. requires = [ - "requests >= 2.12.5" + "requests >= 2.34.2" ] -requires-python=">=3.8" +# BREAKING (consumer-facing): minimum Python raised from 3.8 to 3.10. The fixed +# requests/urllib3 releases that clear the flagged CVEs dropped 3.8/3.9 support +# (both EOL). Consumers on Python 3.8/3.9 must stay on an older SDK release or +# upgrade their runtime. See work item 741117. +requires-python=">=3.10" dist-name = "python-tss-sdk" diff --git a/tox.ini b/tox.ini index 2420de2..a38f05a 100644 --- a/tox.ini +++ b/tox.ini @@ -6,7 +6,8 @@ # Docs for tox config -> https://tox.readthedocs.io/en/latest/config.html [tox] -envlist = 3.8, 3.9, 3.10, 3.11, 3.12 +# Python 3.8/3.9 dropped: fixed requests/urllib3 pins require Python >= 3.10 (work item 741117) +envlist = 3.10, 3.11, 3.12 isolated_build = True skipsdist = True