Skip to content
This repository was archived by the owner on Mar 31, 2026. It is now read-only.
This repository was archived by the owner on Mar 31, 2026. It is now read-only.

add setuptools to dependencies #740

Closed

Description

@cbini

If you import this library in an isolated environment, it will fail with ModuleNotFoundError: No module named 'pkg_resources' due to the line referenced below. While setuptools is a commonly installed alongside Python, it's not a core module, and should be listed as a dependency so that package managers (e.g. pipenv, poetry, pdm) will pick up on it and install it.

import pkg_resources

Activity

  1. added
    api: storage
    on Mar 23, 2022
  2. added
    triage me
    on Mar 23, 2022
  3. added
    type: bug
    priority: p2
    on Mar 23, 2022
  4. removed
    triage me
    on Mar 23, 2022
  5. andrewsg commented on Mar 23, 2022

    @andrewsg
    Contributor

    You're right! Our automated testing uses setuptools to install the dependencies so it's always installed, but that's not necessarily true of other environments. Thank you for letting us know.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

api: storagepriority: p2type: bug

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions