edgi-govdata-archiving / ECHO_modules

ECHO_modules is a Python package for analyzing a copy of the US Environmental Protection Agency's (EPA) Enforcement and Compliance History Online (ECHO) database
GNU General Public License v3.0
3 stars 6 forks source link

test flexible dependencies #51

Closed ericnost closed 10 months ago

ericnost commented 10 months ago

Currently, in the #50 branch, the dependencies are deterministic:

dependencies = [
    "folium==0.14.0",
    "geopandas==0.9.0",
    "ipython==7.29.0",
    "ipywidgets==7.6.5",
    "matplotlib==3.4.3",
    "numpy==1.26.3",
    "pandas==1.3.4",
    "requests==2.31.0",
    "seaborn==0.11.2"
]

While this has the advantage of ensuring everything will work properly, we should see if some of these can be >= instead so that it doesn't take minutes for ECHO_modules to be installed because it requires a very specific environment.

Could also look into whether these dependencies are strictly necessary (e.g. could we get away from seaborn?

ericnost commented 10 months ago

Also, it seems that on Colab, this results in re-installing packages and needing to restart the session.