Skip to content

Drop setuptools runtime dependency? #5949

@crusaderky

Description

@crusaderky

Now that we no longer use pkg_resources, can we drop the run-time dependency from setuptools altogether?

I see it used:

  • in setup.py (which is not runtime)
  • in versioneer.py, with a fallback to distutils if it's not already loaded. Unsure about the implications of this.
  • in a single test (test_upload_file_egg) which could have pytest.importorskip

Notably, setuptools is already not in requirements.txt. However, I can see it in the conda recipe:

run:
    [...]
    - setuptools <60.0.0

Not sure why? xref #5802 where it was added.

CC @graingert @charlesbluca

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