Skip to content

windows-latest-8-core: hostedtoolcache Python 3.9.13 no longer includes setuptools. #748

@ablatner

Description

@ablatner

Description

Last ran successfully at Oct 20 3:10AM PST with windows-latest-8-core_4cf9d486f7a5
First failed at 10:04AM PST with windows-latest-8-core_81fb0be27f50
Both with runner version 2.309.0

This workflow began failing this morning with no updates on our end.

Run py ./<redacted>/get_version_string.py
py ./<redacted>/get_version_string.py
shell: C:\Windows\system32\cmd.EXE /D /E:ON /V:OFF /S /C "CALL "{0}""
env:
  pythonLocation: C:\hostedtoolcache\windows\Python\3.9.13\x64
  PKG_CONFIG_PATH: C:\hostedtoolcache\windows\Python\3.9.13\x64/lib/pkgconfig
  Python_ROOT_DIR: C:\hostedtoolcache\windows\Python\3.9.13\x64
  Python2_ROOT_DIR: C:\hostedtoolcache\windows\Python\3.9.13\x64
  Python3_ROOT_DIR: C:\hostedtoolcache\windows\Python\3.9.13\x64
Traceback (most recent call last):
  File "C:\a\<redacted>/get_version_string.py", line 46, in <module>
    from setuptools.extern import packaging  # pylint: disable=no-name-in-module
    ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
ModuleNotFoundError: No module named 'setuptools'

Platforms affected

  • Azure DevOps
  • GitHub Actions - Standard Runners
  • GitHub Actions - Larger Runners

Runner images affected

  • Ubuntu 20.04
  • Ubuntu 22.04
  • macOS 11
  • macOS 12
  • macOS 13
  • Windows Server 2019
  • Windows Server 2022

Image version and build link

windows-latest-8-core_81fb0be27f50

Is it regression?

windows-latest-8-core_4cf9d486f7a5

Expected behavior

setuptools included by default

Actual behavior

setuptools import failed

Repro steps

  • setup-python 3.9.13
  • Run Python script with from setuptools.extern import packaging

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions