Skip to content

Commit cbc9e53

Browse files
committed
Fix tests namespace pollution from entsoe
Signed-off-by: Mathias L. Baumann <[email protected]>
1 parent c148173 commit cbc9e53

File tree

2 files changed

+3
-2
lines changed

2 files changed

+3
-2
lines changed

pyproject.toml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,8 @@ 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, < 0.8.0",
42+
# Stick to a version without a polluting `tests` package: https://github.com/EnergieID/entsoe-py/pull/447
43+
"entsoe-py >= 0.6.16, < 0.7.1",
4344
"frequenz-api-common >= 0.6.5, < 0.9.0",
4445
"grpcio >= 1.72.1, < 2",
4546
"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 # type: ignore[attr-defined]
9+
from entsoe import EntsoePandasClient
1010

1111

1212
def list_day_ahead_prices(

0 commit comments

Comments
 (0)