Skip to content

setup-python: Update default Python version to 3.13.11 - #86

Open
bkeryan wants to merge 3 commits into
mainfrom
users/bkeryan/update-default-python-version
Open

bkeryan wants to merge 3 commits into
mainfrom
users/bkeryan/update-default-python-version

Conversation

@bkeryan

@bkeryan bkeryan commented Jun 15, 2026

Copy link
Copy Markdown
Collaborator

What does this Pull Request accomplish?

setup-python: Update default python-version to 3.13.11

Why should this Pull Request be merged?

Match version used internally.

What testing has been done?

PR build

@bkeryan
bkeryan requested a review from mshafer-NI as a code owner June 15, 2026 22:49
@bkeryan
bkeryan force-pushed the users/bkeryan/update-default-python-version branch from d04310f to b996c44 Compare October 22, 2026 02:07
Comment thread setup-python/action.yml Outdated
inputs:
python-version:
default: 3.11.9
default: 3.13.11

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

should we upgrade to 3.13.16 and start using the latest security update?

Copy link
Copy Markdown
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Today's patch is 3.13.17, which isn't on https://github.com/actions/python-versions/releases yet.

I'll specify "3.13" to allow patching.

Copy link
Copy Markdown
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

...unless you would prefer to lock to an exact version for build reproducibility, and re-release ni/python-actions when there is a security patch.

Copy link
Copy Markdown
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I guess that's the direction we're heading with locked Poetry dependencies anyway: #84

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

if we have code that fails or not depending on the patch version we're using, we should change our code. I like using either "3.13", or figuring out how to have Renovate update this (the former is less work).

Copy link
Copy Markdown
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Updated to 3.13.17. Once actions/python-versions updates, the tests should pass.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants