Skip to content

github: Use ni/python-actions/setup-python default Python version - #1053

Merged
bkeryan merged 4 commits into
masterfrom
users/bkeryan/docs-python-3.13
Nov 11, 2026
Merged

bkeryan merged 4 commits into
masterfrom
users/bkeryan/docs-python-3.13

Conversation

@bkeryan

@bkeryan bkeryan commented Nov 9, 2026

Copy link
Copy Markdown
Collaborator
  • This contribution adheres to CONTRIBUTING.md.
  • I've updated CHANGELOG.md if applicable.
  • I've added tests applicable for this pull request

What does this Pull Request accomplish?

Update generate_docs.yml and run_system_tests.yml to use ni/python-actions/setup-python's default Python version, which is currently 3.13.

Update .readthedocs.yaml and the tox docs env to use Python 3.13.

Why should this Pull Request be merged?

Prevent Renovate from updating these workflows to Python 3.15.

What testing has been done?

Ran tox -e docs locally.

@bkeryan
bkeryan requested a review from zhindes as a code owner November 9, 2026 20:42
@github-actions

github-actions Bot commented Nov 9, 2026 •

Copy link
Copy Markdown
Contributor

Test Results

    32 files  ±0      32 suites  ±0   54m 5s ⏱️ - 2m 17s
 3 194 tests ±0   2 577 ✅ ± 0    617 💤 ± 0  0 ❌ ±0 
43 188 runs  ±0  34 438 ✅ +14  8 750 💤  - 14  0 ❌ ±0 

Results for commit cb069ee. ± Comparison against base commit 6ec198e.

♻️ This comment has been updated with latest results.

@bkeryan

bkeryan commented Nov 11, 2026

Copy link
Copy Markdown
Collaborator Author
Run actions/cache@55cc8345863c7cc4c66a329aec7e433d2d1c52a9
Cache hit for: run-system-tests-Windows-win-10-py64-ab28ad2eb5ba8e4adfaa772645efb09e15117ec354caf58134d7608fb73a7675
Received 130023424 of 407492340 (31.9%), 123.8 MBs/sec
Received 134217728 of 407492340 (32.9%), 52.1 MBs/sec
Received 268435456 of 407492340 (65.9%), 54.0 MBs/sec
Received 402653184 of 407492340 (98.8%), 53.9 MBs/sec
Received 407492340 of 407492340 (100.0%), 53.9 MBs/sec
Cache Size: ~389 MB (407492340 B)
"C:\Program Files\Git\usr\bin\tar.exe" -xf C:/ar/_work/_temp/53f98f78-c626-4a14-b2a6-def6dd7612d8/cache.tzst -P -C C:/ar/_work/nidaqmx-python/nidaqmx-python --force-local --use-compress-program "zstd -d"
Cache restored successfully
Cache restored from key: run-system-tests-Windows-win-10-py64-ab28ad2eb5ba8e4adfaa772645efb09e15117ec354caf58134d7608fb73a7675
9s
Run poetry install
  poetry install
  shell: C:\Program Files\PowerShell\7\pwsh.EXE -command ". '{0}'"
  env:
    pythonLocation: C:\ar\_work\_tool\Python\3.13.17\x64
    PKG_CONFIG_PATH: C:\ar\_work\_tool\Python\3.13.17\x64/lib/pkgconfig
    Python_ROOT_DIR: C:\ar\_work\_tool\Python\3.13.17\x64
    Python2_ROOT_DIR: C:\ar\_work\_tool\Python\3.13.17\x64
    Python3_ROOT_DIR: C:\ar\_work\_tool\Python\3.13.17\x64
    pythonVersion: 3.13.17
    POETRY_BIN_DIR: C:\ar\_work\_temp/poetry/bin
    POETRY_CONFIG_DIR: C:\ar\_work\_temp/poetry/config
    POETRY_HOME: C:\ar\_work\_temp/poetry/home
    POETRY_HOME_BIN: C:\ar\_work\_temp/poetry/home/Scripts

Command ['C:\\ar\\_work\\nidaqmx-python\\nidaqmx-python\\.venv\\Scripts\\python.exe', '-I', '-W', 'ignore', '-c', 'import sys\n\nif hasattr(sys, "real_prefix"):\n    print(sys.real_prefix)\nelif hasattr(sys, "base_prefix"):\n    print(sys.base_prefix)\nelse:\n    print(sys.prefix)\n'] errored with the following return code 103

Error output:
No Python at '"C:\ar\_work\_tool\Python\3.11.9\x64\python.exe'

Error: Process completed with exit code 1.

This failed because the cache includes .venv and the cache key doesn't include the Python version.

@bkeryan
bkeryan merged commit 1d60b6c into master Nov 11, 2026
29 checks passed
@bkeryan
bkeryan deleted the users/bkeryan/docs-python-3.13 branch November 11, 2026 23:27
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