rl-institut / oemof-B3

An open-source energy system model for Brandenburg/Berlin.
https://oemof-b3.readthedocs.io/
GNU Affero General Public License v3.0
9 stars 5 forks source link

Release v0.0.2 #257

Closed MaGering closed 1 year ago

MaGering commented 2 years ago

This issue serves as a collection of todos for the release process of v0.0.2. We use oemof's how to release as an orientation (See a boiled-down version of the release todos below): https://github.com/oemof/oemof/wiki/How-to-release

Preparation

Day of release

jnnr commented 1 year ago

When I install oemof-B3 on a fresh environment and run the pipeline, build_datapackage throws an error

ModuleNotFoundError: No module named 'oemoflex.config'
Traceback (most recent call last):
  File "scripts/build_datapackage.py", line 34, in <module>
    from oemoflex.model.datapackage import EnergyDataPackage
  File "oemof-B3/lib/python3.8/site-packages/oemoflex/model/datapackage.py", line 13, in <module>
    from oemoflex.config.config import settings
ModuleNotFoundError: No module named 'oemoflex.config'

I can avoid this by installing the local version of oemoflex. But it should work without me doing that.

jnnr commented 1 year ago

Should add a line to readme/docs on how to run all scenarios (snakemake -j1 run_all_scenarios). Should mention that debug = true by default.

MaGering commented 1 year ago

Do we need to fix issue https://github.com/rl-institut/oemof-B3/issues/303 before the release @jnnr?

jnnr commented 1 year ago

When I install oemof-B3 on a fresh environment and run the pipeline, build_datapackage throws an error

ModuleNotFoundError: No module named 'oemoflex.config'
Traceback (most recent call last):
  File "scripts/build_datapackage.py", line 34, in <module>
    from oemoflex.model.datapackage import EnergyDataPackage
  File "oemof-B3/lib/python3.8/site-packages/oemoflex/model/datapackage.py", line 13, in <module>
    from oemoflex.config.config import settings
ModuleNotFoundError: No module named 'oemoflex.config'

I can avoid this by installing the local version of oemoflex. But it should work without me doing that.

Fixed with https://github.com/rl-institut/oemoflex/pull/89

MaGering commented 1 year ago

Done! https://github.com/rl-institut/oemof-B3/releases/tag/v0.0.2 Zenodo has been updated too with the new version of oemof-B3: https://zenodo.org/record/7685137#.Y_4rsuuZNhE