diff --git a/.github/renovate.json b/.github/renovate.json index aba7334..5986c23 100644 --- a/.github/renovate.json +++ b/.github/renovate.json @@ -2,5 +2,32 @@ "$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", + "minimumReleaseAge": "3 days" + } ] } \ No newline at end of file diff --git a/setup-python/README.md b/setup-python/README.md index c3aa447..53db8b8 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.17. ## Usage diff --git a/setup-python/action.yml b/setup-python/action.yml index bf408f0..e8cc721 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.17 outputs: python-path: value: ${{ steps.setup-python.outputs.python-path }}