Skip to content

Remove jupyter as a dependency (+maybe others) #146

Description

@chimaerase

Installing TPOT2 unexpectedly added Jupyter as a requirement for my project. As a general rule, software dependencies should be minimized to reduce bloat and improve resource use.

Context of the issue

Installing TPOT2 unexpectedly added Jupyter as a requirement for my project. Perhaps some dependencies can be installed as optional extras and the install instructions updated? Possible some of these packages dependencies are being pulled in by Dask, but this subjectively looks like a lot of unnecessary bloat for my application, where we don't have / want a user interface. Switching back to the older TPOT removed jupyter as a requirement.

Process to reproduce the issue

# Start a fresh Python environment using Docker (or any other way)
$ docker run -it --rm --entrypoint /bin/bash python:3.12-slim-bookworm
# No packages installed
root@7d268534f551:/# pip freeze
# Install TPOT2
root@7d268534f551:/# pip install tpot2

The result is a very large list of dependencies:
dependency-list.txt

Activity

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

Metadata

Metadata

Assignees

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