Skip to content

setuptools v82.0.0 breaks plugin bundling #178

Description

@tsalemink

setuptools v82.0.0 has completely dropped support for pkg_resources, which we depend on to load our plugins. Because of this, the plugins bundled with PyInstaller cannot be found.

The MacOS .dmg produced by the latest release bundles a much earlier version of setuptools (v65.5.0), so it avoids this issue.

The setuptools recommendation is to use "implicit namespace packages". I just tried to setup a minimal test for this, without much luck, potentially due to implicit namespaces not working well when frozen. I will test some other alternatives.

In the meantime, we can revert to setuptools <= 80.9.0. I have just tested another fresh build with this version (and the latest PyInstaller==6.21.0) and it worked locally.

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