Skip to content

Released sdist (12.0.2) fails to install from source under setuptools >= 82 — fix exists at HEAD, please cut a release #528

Description

setuptools 82.0.0 (2026-02-08) removed pkg_resources. Because pip's default isolated build installs the latest setuptools, installing the current dropbox release from sdist now fails:

$ docker run --rm python:3.12 pip install --no-binary :all: dropbox
...
ModuleNotFoundError: No module named 'pkg_resources'

The failure comes from the ez_setup bootstrap in 12.0.2's setup.py (ez_setup internally imports pkg_resources). No code change is needed — setup.py at HEAD no longer uses pkg_resources, so this is fixed in the repo but has never shipped to PyPI. A release of what's already on the default branch would resolve it.

This mostly affects source-only consumers (distros, lockfile rebuilds with --no-binary, platforms without a matching wheel), so it can fail quietly for a long time before anyone reports it.

Found while scanning the top-5000 PyPI packages for breakage from the setuptools 82 removals.

Activity

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

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