Skip to content

Conversation

@gaborbernat
Copy link
Member

  • Add error notifications when Python executable not found
  • Add error notifications when SDK creation fails
  • Add error notifications when module not found (for module-level setting)
  • Refactor to use sealed class SetSdkResult for type-safe error handling
  • Show clear error messages to help users understand failures

Previously, when operations failed the actions would silently return without any feedback to the user. Now users get clear error notifications explaining what went wrong.

Test plan

  • Verify error notification appears when trying to set interpreter from non-venv directory
  • Verify error notification appears when SDK creation fails
  • Verify error notification appears when setting module interpreter outside any module

- Add error notifications when Python executable not found
- Add error notifications when SDK creation fails
- Add error notifications when module not found (for module-level setting)
- Refactor to use sealed class SetSdkResult for type-safe error handling
- Show clear error messages to help users understand failures
@gaborbernat gaborbernat merged commit c142457 into tox-dev:main Jan 3, 2026
11 checks passed
gaborbernat added a commit to gaborbernat/PyVenvManage that referenced this pull request Jan 4, 2026
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.

1 participant