Skip to content

Some CI Runners Fail due to Upstream Changes #924

@ischoegl

Description

@ischoegl

Problem description

Some CI Runners using Python 3.8 fail due to apparent upstream changes. E.g. CI / windows-2019, MSVC 14.0, Python 3.8

    test_ruamel_yaml.c
    Generating code
    Finished generating code
    sys.argv ['C:\\Users\\runneradmin\\AppData\\Local\\Temp\\pip-install-oh431xk0\\ruamel-yaml-clib\\setup.py', 'egg_info', '--egg-base', 'C:\\Users\\runneradmin\\AppData\\Local\\Temp\\pip-pip-egg-info-nd3k7nbt']
    test compiling test_ruamel_yaml
    C:\hostedtoolcache\windows\Python\3.8.5\x64\lib\site-packages\_distutils_hack\__init__.py:30: UserWarning: Setuptools is replacing distutils.
      warnings.warn("Setuptools is replacing distutils.")
    Traceback (most recent call last):
      File "<string>", line 1, in <module>
      File "C:\Users\runneradmin\AppData\Local\Temp\pip-install-oh431xk0\ruamel-yaml-clib\setup.py", line 960, in <module>
        main()
      File "C:\Users\runneradmin\AppData\Local\Temp\pip-install-oh431xk0\ruamel-yaml-clib\setup.py", line 957, in main
        setup(**kw)
      File "C:\hostedtoolcache\windows\Python\3.8.5\x64\lib\site-packages\setuptools\__init__.py", line 153, in setup
        return distutils.core.setup(**attrs)
      File "C:\hostedtoolcache\windows\Python\3.8.5\x64\lib\site-packages\setuptools\_distutils\core.py", line 134, in setup
        ok = dist.parse_command_line()
      File "C:\hostedtoolcache\windows\Python\3.8.5\x64\lib\site-packages\setuptools\_distutils\dist.py", line 484, in parse_command_line
        args = self._parse_command_opts(parser, args)
      File "C:\hostedtoolcache\windows\Python\3.8.5\x64\lib\site-packages\setuptools\dist.py", line 903, in _parse_command_opts
        nargs = _Distribution._parse_command_opts(self, parser, args)
      File "C:\hostedtoolcache\windows\Python\3.8.5\x64\lib\site-packages\setuptools\_distutils\dist.py", line 547, in _parse_command_opts
        raise DistutilsClassError(
    distutils.errors.DistutilsClassError: command class <class 'setuptools.command.egg_info.egg_info'> must subclass Command
    ----------------------------------------
ERROR: Command errored out with exit status 1: python setup.py egg_info Check the logs for full command output.
##[error]Process completed with exit code 1.

Steps to reproduce

See new failures in #907

The behavior appears to be a known issue

System information

GitHub Actions.

Metadata

Metadata

Assignees

No one assigned

    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