Skip to content

Migrate from pkg_resources to importlib #602

@timsutton

Description

@timsutton

👋 Hello, I have been working on migrating Python-based projects in homebrew-core to use explicitly-declared resources. Just wanted to flag that I noticed trailscraper depends on pkg_resources, which is removed in Python 3.12 with the removal of distutils. In the upstream Homebrew formula we'll explicitly add setuptools as a required dependency so that installation with Python 3.12 continues to work.

Some more resources:

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions