Skip to content

Commit

Permalink
Update pyyaml-include dependency to be compatible with major release …
Browse files Browse the repository at this point in the history
…change
  • Loading branch information
maurerle committed Aug 7, 2024
1 parent 77d2fd0 commit f477ffc
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 3 deletions.
2 changes: 1 addition & 1 deletion .readthedocs.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ version: 2

# Set the version of Python and other tools you might need
build:
os: ubuntu-22.04
os: ubuntu-lts-latest
tools:
python: mambaforge-4.10

Expand Down
2 changes: 1 addition & 1 deletion assume/scenario/loader_amiris.py
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
import pandas as pd
import yaml
from dateutil.relativedelta import relativedelta as rd
from yamlinclude import YamlIncludeConstructor
from yaml_include import Constructor

from assume.common.forecasts import NaiveForecast
from assume.common.market_objects import MarketConfig, MarketProduct
Expand Down
3 changes: 2 additions & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ dependencies = [
"pandas >=2.0.0",
"psycopg2-binary >=2.9.5",
"pyyaml >=6.0",
"pyyaml-include >=1.3.1",
"pyyaml-include >=2.0",
]

[project.optional-dependencies]
Expand All @@ -52,6 +52,7 @@ oeds = [
"holidays >=0.37",
"pvlib >=0.10.2",
"windpowerlib >=0.2.1",
"yaml-include",
]
test = [
"ruff >=0.4.9",
Expand Down

0 comments on commit f477ffc

Please sign in to comment.