Skip to content

Conversation

@tkoyama010
Copy link
Member

@tkoyama010 tkoyama010 commented Aug 3, 2025

Summary

  • Replaces deprecated syphar/restore-virtualenv@v1 action with built-in caching in actions/setup-python@v5
  • Uses the cache: 'pip' option which provides the same functionality as the deprecated action

Background

The syphar/restore-virtualenv action is deprecated as its functionality has been integrated into the standard actions/setup-python action. The built-in caching feature provides equivalent functionality with better maintenance and support.

Test plan

  • Verify the documentation workflow runs successfully with the new caching setup
  • Confirm that pip dependencies are properly cached between runs

🤖 Generated with Claude Code

The syphar/restore-virtualenv action is deprecated and its functionality
has been integrated into the standard actions/setup-python action. This
change replaces the deprecated action with the built-in cache: 'pip'
option in setup-python@v5.

🤖 Generated with [Claude Code](https://claude.ai/code)

Co-Authored-By: Claude <[email protected]>
@tkoyama010 tkoyama010 enabled auto-merge (squash) August 3, 2025 13:46
@tkoyama010
Copy link
Member Author

@pyvista-bot LGTM

@tkoyama010 tkoyama010 requested a review from Copilot August 3, 2025 13:49
Copy link
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

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

Pull Request Overview

This PR modernizes the CI workflow by replacing the deprecated syphar/restore-virtualenv@v1 action with the built-in caching functionality provided by actions/setup-python@v5.

  • Removes the deprecated syphar/restore-virtualenv@v1 action step
  • Adds cache: "pip" parameter to the existing actions/setup-python@v5 step

Copy link
Contributor

@github-actions github-actions bot left a comment

Choose a reason for hiding this comment

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

✅ Approving this PR because tkoyama010 said so in here :shipit:

@tkoyama010 tkoyama010 merged commit 5800228 into main Aug 3, 2025
7 checks passed
@tkoyama010 tkoyama010 deleted the fix/deprecated-restore-virtualenv branch August 3, 2025 14:40
@github-actions
Copy link
Contributor

github-actions bot commented Aug 3, 2025

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