Skip to content

[BUG] 71.0.0 fails PyInstaller builds #4477

@amotl

Description

@amotl

setuptools version

setuptools==71.0.0

Python version

Python 3.12

OS

Linux, macOS, Windows

Additional environment information

No response

Description

CI jobs started tripping when using setuptools 71, released two hours ago.

Expected behavior

CI builds work as expected.

How to Reproduce

No reproducer yet, but a stacktrace on GHA.

Output

PyInstaller.exceptions.ImportErrorWhenRunningHook: 
Failed to import module __PyInstaller_hooks_0_importlib_metadata required by hook for module 
/opt/hostedtoolcache/Python/3.12.4/x64/lib/python3.12/site-packages/PyInstaller/hooks/hook-importlib_metadata.py.

Please check whether module __PyInstaller_hooks_0_importlib_metadata actually exists and whether
the hook is compatible with your version of 
/opt/hostedtoolcache/Python/3.12.4/x64/lib/python3.12/site-packages/PyInstaller/hooks/hook-importlib_metadata.py:
You might want to read more about hooks in the manual and provide a pull-request to improve PyInstaller.

-- https://github.com/crate/cratedb-toolkit/actions/runs/9983011865/job/27589798960?pr=201#step:5:198

Metadata

Metadata

Assignees

No one assigned

    Labels

    Needs TriageIssues that need to be evaluated for severity and status.bug

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions