Skip to content

Commit

Permalink
Bump efoli to >=1.4.0 (includes FV2504 shift to June) (#247)
Browse files Browse the repository at this point in the history
---------

Co-authored-by: Konstantin <konstantin.klein+github@hochfrequenz.de>
  • Loading branch information
hf-kklein and Konstantin authored Dec 13, 2024
1 parent 92730f1 commit 93c1bc1
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 4 deletions.
2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ dependencies = [
"aiohttp>=3.8.4",
"aiohttp-requests>=0.2.2",
"pypdf>=3.4.1",
"efoli>=1.1.0",
"efoli>=1.4.0",
"pytz>=2022.7.1",
]
dynamic = ["readme", "version"]
Expand Down
2 changes: 1 addition & 1 deletion requirements.txt
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ brotli==1.1.0
# via aiohttp
coworker==2.0.1
# via aiohttp-requests
efoli==1.1.0
efoli==1.4.0
# via edi_energy_scraper (pyproject.toml)
frozenlist==1.4.1
# via
Expand Down
5 changes: 3 additions & 2 deletions unittests/test_edienergyscraper.py
Original file line number Diff line number Diff line change
Expand Up @@ -474,7 +474,8 @@ async def test_mirroring(self, mocker, tmpdir_factory, datafiles, caplog):
pytest.param("KostenblattFB1.0b_99991231_20230401.pdf", EdifactFormatVersion.FV2304),
pytest.param("PARTINMIG1.0c_20240331_20240403.pdf", EdifactFormatVersion.FV2404),
pytest.param("PARTINMIG1.0c_20240331_20241001.pdf", EdifactFormatVersion.FV2410),
pytest.param("PARTINMIG1.0c_20240331_20250404.pdf", EdifactFormatVersion.FV2504),
pytest.param("PARTINMIG1.0c_20240331_20250404.pdf", EdifactFormatVersion.FV2410),
pytest.param("PARTINMIG1.0c_20240331_20250606.pdf", EdifactFormatVersion.FV2504),
pytest.param("PARTINMIG1.0c_20240331_20251001.pdf", EdifactFormatVersion.FV2510),
pytest.param("IFTSTAMIG2.0e_20240402_20210929.pdf", EdifactFormatVersion.FV2104), # Before first threshold
pytest.param(
Expand Down Expand Up @@ -535,7 +536,7 @@ def test_get_edifact_version_and_formats(self, input_filename: str, expected_res
id="valid in future, starting in past",
),
pytest.param(
"IFTSTAMIG2.0e_20280930_20250404.pdf",
"IFTSTAMIG2.0e_20280930_20250606.pdf",
[EdifactFormatVersion.FV2504],
id="starting in future",
),
Expand Down

0 comments on commit 93c1bc1

Please sign in to comment.