From b996c441d44c2bdf742b17c7ddb524d3bbb368e6 Mon Sep 17 00:00:00 2001 From: Brad Keryan Date: Mon, 15 Jun 2026 17:45:03 -0500 Subject: [PATCH 1/5] setup-python: Update default Python version to 3.13.11 --- setup-python/README.md | 2 +- setup-python/action.yml | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/setup-python/README.md b/setup-python/README.md index c3aa4477..7590e508 100644 --- a/setup-python/README.md +++ b/setup-python/README.md @@ -5,7 +5,7 @@ The `ni/python-actions/setup-python` action installs Python and adds it to the P It is a thin wrapper for https://github.com/actions/setup-python which is intended to single-source the default Python version for multiple NI Python projects. -By default, this action installs Python 3.11.9. +By default, this action installs Python 3.13.11. ## Usage diff --git a/setup-python/action.yml b/setup-python/action.yml index bf408f01..1b563a5a 100644 --- a/setup-python/action.yml +++ b/setup-python/action.yml @@ -2,7 +2,7 @@ name: Set up Python description: Install Python with appropriate defaults for NI Python projects. inputs: python-version: - default: 3.11.9 + default: 3.13.11 outputs: python-path: value: ${{ steps.setup-python.outputs.python-path }} From 56021e7c5045724d3817537e4793d0afad472a70 Mon Sep 17 00:00:00 2001 From: Brad Keryan Date: Wed, 21 Oct 2026 21:24:07 -0500 Subject: [PATCH 2/5] setup-python: Specify 3.13 to allow security patches --- setup-python/README.md | 2 +- setup-python/action.yml | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/setup-python/README.md b/setup-python/README.md index 7590e508..48d9bc9c 100644 --- a/setup-python/README.md +++ b/setup-python/README.md @@ -5,7 +5,7 @@ The `ni/python-actions/setup-python` action installs Python and adds it to the P It is a thin wrapper for https://github.com/actions/setup-python which is intended to single-source the default Python version for multiple NI Python projects. -By default, this action installs Python 3.13.11. +By default, this action installs Python 3.13. ## Usage diff --git a/setup-python/action.yml b/setup-python/action.yml index 1b563a5a..670b0dfb 100644 --- a/setup-python/action.yml +++ b/setup-python/action.yml @@ -2,7 +2,7 @@ name: Set up Python description: Install Python with appropriate defaults for NI Python projects. inputs: python-version: - default: 3.13.11 + default: 3.13 outputs: python-path: value: ${{ steps.setup-python.outputs.python-path }} From 7969437ecb57e6e8addf560ab74e9ee257bc3015 Mon Sep 17 00:00:00 2001 From: Brad Keryan Date: Wed, 21 Oct 2026 21:31:27 -0500 Subject: [PATCH 3/5] setup-python: Update to 3.13.17 instead of latest 3.13 --- setup-python/README.md | 2 +- setup-python/action.yml | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/setup-python/README.md b/setup-python/README.md index 48d9bc9c..53db8b8f 100644 --- a/setup-python/README.md +++ b/setup-python/README.md @@ -5,7 +5,7 @@ The `ni/python-actions/setup-python` action installs Python and adds it to the P It is a thin wrapper for https://github.com/actions/setup-python which is intended to single-source the default Python version for multiple NI Python projects. -By default, this action installs Python 3.13. +By default, this action installs Python 3.13.17. ## Usage diff --git a/setup-python/action.yml b/setup-python/action.yml index 670b0dfb..e8cc721d 100644 --- a/setup-python/action.yml +++ b/setup-python/action.yml @@ -2,7 +2,7 @@ name: Set up Python description: Install Python with appropriate defaults for NI Python projects. inputs: python-version: - default: 3.13 + default: 3.13.17 outputs: python-path: value: ${{ steps.setup-python.outputs.python-path }} From c6842b995db4e312096bafb08b20ef63de7c83c6 Mon Sep 17 00:00:00 2001 From: Brad Keryan Date: Thu, 22 Oct 2026 16:35:33 -0500 Subject: [PATCH 4/5] renovate: Update default Python version --- .github/renovate.json | 28 ++++++++++++++++++++++++++++ 1 file changed, 28 insertions(+) diff --git a/.github/renovate.json b/.github/renovate.json index aba7334b..07f73f79 100644 --- a/.github/renovate.json +++ b/.github/renovate.json @@ -2,5 +2,33 @@ "$schema": "https://docs.renovatebot.com/renovate-schema.json", "extends": [ "local>ni/python-renovate-config:recommended" + ], + "customManagers": [ + { + "description": "Update setup-python default Python version.", + "customType": "regex", + "managerFilePatterns": [ + "/^setup-python\\/(?:action.yml|README.md)$/" + ], + "matchStrings": [ + "default\\s*:\\s*[\"']?(?.+?)[\"']?\\s", + "By default, this action installs Python (?.+?)\\.\\s" + ], + "matchStringsStrategy": "any", + "datasourceTemplate": "python-version", + "depNameTemplate": "python", + "versioningTemplate": "python" + } + ], + "packageRules": [ + { + "description": "Update setup-python default Python version to latest 3.13.x.", + "matchDepNames": [ + "python" + ], + "allowedVersions": "< 3.14.0", + "rangeStrategy": "replace", + "updatePinnedDependencies": true + } ] } \ No newline at end of file From 015028e1ca48c6481089d4e9c01559737bd1c016 Mon Sep 17 00:00:00 2001 From: Brad Keryan Date: Thu, 22 Oct 2026 16:50:37 -0500 Subject: [PATCH 5/5] renovate: Remove unnecessary settings, reduce minimumReleaseAge for Python --- .github/renovate.json | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/.github/renovate.json b/.github/renovate.json index 07f73f79..5986c23e 100644 --- a/.github/renovate.json +++ b/.github/renovate.json @@ -27,8 +27,7 @@ "python" ], "allowedVersions": "< 3.14.0", - "rangeStrategy": "replace", - "updatePinnedDependencies": true + "minimumReleaseAge": "3 days" } ] } \ No newline at end of file