Skip to content

scrub default python version in py_require snapshots - #1937

Merged
t-kalinowski merged 1 commit into
mainfrom
bugfix/snapshot-python-version
Oct 16, 2026
Merged

t-kalinowski merged 1 commit into
mainfrom
bugfix/snapshot-python-version

Conversation

@kevinushey

Copy link
Copy Markdown
Collaborator

The test-py_require.R snapshot tests now fail on every platform that runs them (see #1936). Two things changed since main last passed CI on Sept 9:

  • Python 3.15 was released. reticulate's default Python is two minor versions behind the latest, so it moved from 3.12 to 3.13. That changes the (reticulate default) and Will default to '...' lines.
  • uv now prints resolver errors as error: / cause: lines instead of the boxed × / ╰─▶ format.

The snapshot transform now replaces the default Python version with <version>, so new Python releases no longer break these snapshots. Python versions a test asks for explicitly (e.g. 3.11) are left as-is, since those tests check them. The snapshots are regenerated, which also picks up uv's new error format.

devtools::test(filter = "py_require") passes locally with uv 0.13.1.

@t-kalinowski
t-kalinowski merged commit 6e0e40f into main Oct 16, 2026
14 checks passed
@t-kalinowski

Copy link
Copy Markdown
Member

Thank you!

@t-kalinowski
t-kalinowski deleted the bugfix/snapshot-python-version branch October 16, 2026 12:11
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