catalyst-cooperative / pudl

The Public Utility Data Liberation Project provides analysis-ready energy system data to climate advocates, researchers, policymakers, and journalists.
https://catalyst.coop/pudl
MIT License
456 stars 106 forks source link

Deploy a user environment.yml file and make sure it is tested #383

Closed zaneselvans closed 4 years ago

zaneselvans commented 4 years ago

Tox and Travis use pip and virtual environments to manage the software that gets installed. We use conda and conda environments, specified by environment.yml This means it's possible for the tests to pass just fine, while th environment.yml file specifies an insufficient software environment for common user use-cases. To avoid that happening, we should come up with some way to test a deployed environment.yml file, so that we can ensure users have access to all the useful tools that are needed to really work with PUDL, even if they aren't strictly required to install PUDL via conda (stuff like Jupyter, Dask, etc.)

zaneselvans commented 4 years ago

For this to work, we first need catalystcoop.pudl to be available via conda-forge, see #371. Since most of the requirements we want to get installed will only get installed (from conda-forge) as a consequence of the catalystcoop.pudl package being listed in environment.yml and conda fulfilling its requirements.