equinor / ert

ERT - Ensemble based Reservoir Tool - is designed for running ensembles of dynamical models such as reservoir models, in order to do sensitivity analysis and data assimilation. ERT supports data assimilation using the Ensemble Smoother (ES), Ensemble Smoother with Multiple Data Assimilation (ES-MDA) and Iterative Ensemble Smoother (IES).
https://ert.readthedocs.io/en/latest/
GNU General Public License v3.0
98 stars 104 forks source link

Consider separating dev dependencies into test and doc dependencies #7802

Open larsevj opened 2 months ago

larsevj commented 2 months ago

Currently if you only want to run the tests you will also install all the dependencies for building and reading the docs interactively. Especially jupyter ads a considerable overhead of packages you need to install to run the test, should consider separating the dev dependencies into a test and a docsection.

Also related to https://github.com/equinor/komodo-releases/issues/5305 since the risk of reinstalling a package increases with the additional doc dependencies.

dafeda commented 3 weeks ago

Sounds like a good idea to me.

larsevj commented 3 weeks ago

An issue with this approach that I discovered is the fact that we have some doc tests under tests/, which then fails unless you have "[doc]" installed, so would need to seperate these tests into the doc section or something.