Skip to content

Commit b91234c

Browse files
authored
Restrict entsoe dependency version range (#184)
And fix a new mypy failure arising in newer versions of the entsoe client. The version range is restricted to better control upcoming, potentially breaking changes.
2 parents 57badc5 + 156729e commit b91234c

File tree

3 files changed

+4
-3
lines changed

3 files changed

+4
-3
lines changed

RELEASE_NOTES.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,8 @@
66

77
## Upgrading
88

9-
<!-- Here goes notes on how to upgrade from previous versions, including deprecations and what they should be replaced with -->
9+
* Widen the version range of api-common to also allow v0.8.x.
10+
* Restrict entsoe client dependency version range up to v0.7.x.
1011

1112
## New Features
1213

pyproject.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@ requires-python = ">= 3.11, < 4"
3939
# TODO(cookiecutter): Remove and add more dependencies if appropriate
4040
dependencies = [
4141
"click >= 8.1.8, < 9",
42-
"entsoe-py >= 0.6.16, < 1",
42+
"entsoe-py >= 0.6.16, < 0.8.0",
4343
"frequenz-api-common >= 0.6.5, < 0.9.0",
4444
"grpcio >= 1.72.1, < 2",
4545
"frequenz-channels >= 1.6.1, < 2",

src/frequenz/client/electricity_trading/cli/day_ahead.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
from datetime import datetime
77

88
import pandas as pd
9-
from entsoe import EntsoePandasClient
9+
from entsoe import EntsoePandasClient # type: ignore[attr-defined]
1010

1111

1212
def list_day_ahead_prices(

0 commit comments

Comments
 (0)