Hi all, For some reason all of my Pulumi projects ...
# general
w
Hi all, For some reason all of my Pulumi projects started failing today. could be some version update issue?
Copy code
Requirement already satisfied: pip in /opt/hostedtoolcache/Python/3.9.21/x64/lib/python3.9/site-packages (25.0.1)
Collecting pulumi<4.0.0,>=3.0.0 (from -r ./refactor/infra/snowflake_metal/requirements.txt (line 1))
  Downloading pulumi-3.157.0-py3-none-any.whl.metadata (3.8 kB)
Collecting pulumi-aws<7.0.0,>=6.0.2 (from -r ./refactor/infra/snowflake_metal/requirements.txt (line 2))
  Downloading pulumi_aws-6.73.0-py3-none-any.whl.metadata (10 kB)
Collecting requests<3.0.0,>=2.32.0 (from -r ./refactor/infra/snowflake_metal/requirements.txt (line 3))
  Using cached requests-2.32.3-py3-none-any.whl.metadata (4.6 kB)
Requirement already satisfied: setuptools<59.0.0 in /opt/hostedtoolcache/Python/3.9.21/x64/lib/python3.9/site-packages (from -r ./refactor/infra/snowflake_metal/requirements.txt (line 4)) (58.1.0)
Collecting debugpy~=1.8.7 (from pulumi<4.0.0,>=3.0.0->-r ./refactor/infra/snowflake_metal/requirements.txt (line 1))
  Downloading debugpy-1.8.13-cp39-cp39-manylinux_2_5_x86_64.manylinux1_x86_64.manylinux_2_17_x86_64.manylinux2014_x86_64.whl.metadata (1.3 kB)
Collecting dill~=0.3 (from pulumi<4.0.0,>=3.0.0->-r ./refactor/infra/snowflake_metal/requirements.txt (line 1))
  Using cached dill-0.3.9-py3-none-any.whl.metadata (10 kB)
Collecting grpcio~=1.66.2 (from pulumi<4.0.0,>=3.0.0->-r ./refactor/infra/snowflake_metal/requirements.txt (line 1))
  Using cached grpcio-1.66.2-cp39-cp39-manylinux_2_17_x86_64.manylinux2014_x86_64.whl.metadata (3.9 kB)
Requirement already satisfied: pip<26,>=24.3.1 in /opt/hostedtoolcache/Python/3.9.21/x64/lib/python3.9/site-packages (from pulumi<4.0.0,>=3.0.0->-r ./refactor/infra/snowflake_metal/requirements.txt (line 1)) (25.0.1)
Collecting protobuf~=4.21 (from pulumi<4.0.0,>=3.0.0->-r ./refactor/infra/snowflake_metal/requirements.txt (line 1))
  Using cached protobuf-4.25.6-cp37-abi3-manylinux2014_x86_64.whl.metadata (541 bytes)
Collecting pytest-watch>=4.2.0 (from pulumi<4.0.0,>=3.0.0->-r ./refactor/infra/snowflake_metal/requirements.txt (line 1))
  Downloading pytest-watch-4.2.0.tar.gz (16 kB)
  Installing build dependencies: started
  Installing build dependencies: finished with status 'done'
  Getting requirements to build wheel: started
  Getting requirements to build wheel: finished with status 'error'
  error: subprocess-exited-with-error
  
  × Getting requirements to build wheel did not run successfully.
  │ exit code: 1
  ╰─> [27 lines of output]
      Traceback (most recent call last):
        File "/opt/hostedtoolcache/Python/3.9.21/x64/lib/python3.9/site-packages/pip/_vendor/pyproject_hooks/_in_process/_in_process.py", line 389, in <module>
          main()
        File "/opt/hostedtoolcache/Python/3.9.21/x64/lib/python3.9/site-packages/pip/_vendor/pyproject_hooks/_in_process/_in_process.py", line 373, in main
          json_out["return_val"] = hook(**hook_input["kwargs"])
        File "/opt/hostedtoolcache/Python/3.9.21/x64/lib/python3.9/site-packages/pip/_vendor/pyproject_hooks/_in_process/_in_process.py", line 143, in get_requires_for_build_wheel
          return hook(config_settings)
        File "/tmp/pip-build-env-zsz3obwd/overlay/lib/python3.9/site-packages/setuptools/build_meta.py", line 334, in get_requires_for_build_wheel
          return self._get_build_requires(config_settings, requirements=[])
        File "/tmp/pip-build-env-zsz3obwd/overlay/lib/python3.9/site-packages/setuptools/build_meta.py", line 304, in _get_build_requires
          self.run_setup()
        File "/tmp/pip-build-env-zsz3obwd/overlay/lib/python3.9/site-packages/setuptools/build_meta.py", line 522, in run_setup
          super().run_setup(setup_script=setup_script)
        File "/tmp/pip-build-env-zsz3obwd/overlay/lib/python3.9/site-packages/setuptools/build_meta.py", line 320, in run_setup
          exec(code, locals())
        File "<string>", line 12, in <module>
        File "/tmp/pip-build-env-zsz3obwd/overlay/lib/python3.9/site-packages/setuptools/__init__.py", line 116, in setup
          _install_setup_requires(attrs)
        File "/tmp/pip-build-env-zsz3obwd/overlay/lib/python3.9/site-packages/setuptools/__init__.py", line 87, in _install_setup_requires
          dist.parse_config_files(ignore_option_errors=True)
        File "/tmp/pip-build-env-zsz3obwd/overlay/lib/python3.9/site-packages/setuptools/dist.py", line 730, in parse_config_files
          self._parse_config_files(filenames=inifiles)
        File "/tmp/pip-build-env-zsz3obwd/overlay/lib/python3.9/site-packages/setuptools/dist.py", line 599, in _parse_config_files
          opt = self._enforce_underscore(opt, section)
        File "/tmp/pip-build-env-zsz3obwd/overlay/lib/python3.9/site-packages/setuptools/dist.py", line 629, in _enforce_underscore
          raise InvalidConfigError(
      setuptools.errors.InvalidConfigError: Invalid dash-separated key 'description-file' in 'metadata' (setup.cfg), please use the underscore name 'description_file' instead.
      [end of output]
  
  note: This error originates from a subprocess, and is likely not a problem with pip.
error: subprocess-exited-with-error

× Getting requirements to build wheel did not run successfully.
│ exit code: 1
╰─> See above for output.

note: This error originates from a subprocess, and is likely not a problem with pip.
Error: Process completed with exit code 1.
b
another day, another upstream python garbage fire https://github.com/pulumi/pulumi/issues/19004