EpistasisLab / EpistasisLab/tpot2

Remove jupyter as a dependency (+maybe others)

Open
#146 4 comments 0 reactions 1 assignee Claimed by @perib View on GitHub
Dominant language
Jupyter Notebook
Stars
250
Forks
33
PR merge metrics
No merged PRs in 30d

Description

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](https://github.com/user-attachments/files/16969303/dependency-list.txt)

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.