Skip to content

Conversation

@azure-sdk
Copy link
Collaborator

Sync eng/common directory with azure-sdk-tools for PR Azure/azure-sdk-tools#12867 See eng/common workflow

@azure-sdk azure-sdk requested a review from a team as a code owner November 12, 2025 19:22
@azure-sdk azure-sdk added EngSys This issue is impacting the engineering system. Central-EngSys This issue is owned by the Engineering System team. labels Nov 12, 2025
Copilot finished reviewing on behalf of azure-sdk November 12, 2025 19:23
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 syncs the eng/common directory with azure-sdk-tools PR #12867, updating the instructions for the Verify Setup tool to simplify the Python virtual environment handling workflow.

Key changes:

  • Simplifies Python venv handling by removing the requirement to ask users for venvPath before running the tool
  • Shifts to a post-execution approach where users are asked about the AZSDKTOOLS_PYTHON_VENV_PATH environment variable only when Python requirements fail
  • Enhances documentation clarity around success conditions and resolution guidance

Display results in a user-friendly and concise format, highlighting any missing dependencies that need to be addressed.
Display results in a user-friendly and concise format, highlighting any missing dependencies that need to be addressed and how to resolve them.

WHENEVER Python related requirements fail, ALWAYS ASK the user if they have set the `AZSDKTOOLS_PYTHON_VENV_PATH` system environment variable to their desired virtual environment. This tool can only check requirements in the venv path specified by that environment variable.
Copy link

Copilot AI Nov 12, 2025

Choose a reason for hiding this comment

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

The instruction uses 'system environment variable' which may be ambiguous. Consider clarifying whether this should be an OS-level environment variable, a shell session variable, or both. For example: 'ALWAYS ASK the user if they have set the AZSDKTOOLS_PYTHON_VENV_PATH environment variable (system or shell-level) to their desired virtual environment path.'

Suggested change
WHENEVER Python related requirements fail, ALWAYS ASK the user if they have set the `AZSDKTOOLS_PYTHON_VENV_PATH` system environment variable to their desired virtual environment. This tool can only check requirements in the venv path specified by that environment variable.
WHENEVER Python related requirements fail, ALWAYS ASK the user if they have set the `AZSDKTOOLS_PYTHON_VENV_PATH` environment variable (either at the system/OS-level or in their current shell session) to their desired virtual environment path. This tool can only check requirements in the venv path specified by that environment variable.

Copilot uses AI. Check for mistakes.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Central-EngSys This issue is owned by the Engineering System team. EngSys This issue is impacting the engineering system.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants