setup-python
setup-python copied to clipboard
Add Architecture-Specific PATH Management for Python with --user Flag on Windows for x86
Description: This update modifies the PATH handling for Python installations on Windows, specifically for the --user flag. For Python 3.10 and above, architecture-specific directories (e.g., Python310-32) are added to the PATH, while for earlier versions, the default --user path is used. This ensures proper environment configuration for user-installed Python versions based on version and architecture. Related issue: https://github.com/actions/setup-python/issues/1005
Check list:
Mark if documentation changes are required. Mark if tests were added or updated to cover the changes.