Skip to content

Commit

Permalink
Switch from maus to efoli; Drop Python 3.8 Support (#209)
Browse files Browse the repository at this point in the history
* Bump maus from 0.5.3 to 0.6.0

Bumps [maus](https://github.com/Hochfrequenz/mig_ahb_utility_stack) from 0.5.3 to 0.6.0.
- [Release notes](https://github.com/Hochfrequenz/mig_ahb_utility_stack/releases)
- [Commits](Hochfrequenz/mig_ahb_utility_stack@v0.5.3...v0.6.0)

---
updated-dependencies:
- dependency-name: maus
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>

* switch from maus to efoli

* drop 3.8 support

---------

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: konstantin <konstantin.klein@hochfrequenz.de>
  • Loading branch information
dependabot[bot] and hf-kklein authored Aug 21, 2024
1 parent 247adef commit 146a8b1
Show file tree
Hide file tree
Showing 5 changed files with 10 additions and 15 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/unittests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ jobs:
runs-on: ${{ matrix.os }}
strategy:
matrix:
python-version: ["3.8", "3.9", "3.10", "3.11", "3.12"]
python-version: ["3.9", "3.10", "3.11", "3.12"]
os: [ubuntu-latest]
steps:
- uses: actions/checkout@v4
Expand Down
2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ dependencies = [
"aiohttp>=3.8.4",
"aiohttp-requests>=0.2.2",
"pypdf>=3.4.1",
"maus>=0.5.1",
"efoli>=1.1.0",
"pytz>=2022.7.1",
]
dynamic = ["readme", "version"]
Expand Down
17 changes: 6 additions & 11 deletions requirements.txt
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
#
# This file is autogenerated by pip-compile with Python 3.12
# This file is autogenerated by pip-compile with Python 3.11
# by the following command:
#
# pip-compile pyproject.toml
Expand All @@ -15,35 +15,30 @@ aiosignal==1.3.1
attrs==24.2.0
# via
# aiohttp
# maus
beautifulsoup4==4.12.3
# via edi_energy_scraper (pyproject.toml)
brotli==1.1.0
# via aiohttp
coworker==2.0.1
# via aiohttp-requests
efoli==1.1.0
# via edi_energy_scraper (pyproject.toml)
frozenlist==1.4.1
# via
# aiohttp
# aiosignal
idna==3.7
# via yarl
marshmallow==3.21.3
# via maus
maus==0.5.3
# via edi_energy_scraper (pyproject.toml)
more-itertools==10.4.0
# via maus
multidict==6.0.5
# via
# aiohttp
# yarl
packaging==24.0
# via marshmallow
pypdf==4.3.1
# via edi_energy_scraper (pyproject.toml)
pytz==2024.1
# via edi_energy_scraper (pyproject.toml)
# via
# edi_energy_scraper (pyproject.toml)
# efoli
soupsieve==2.5
# via beautifulsoup4
yarl==1.9.4
Expand Down
2 changes: 1 addition & 1 deletion src/edi_energy_scraper/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@
from aiohttp import ServerDisconnectedError
from aiohttp_requests import Requests # type:ignore[import]
from bs4 import BeautifulSoup, Comment # type:ignore[import]
from maus.edifact import EdifactFormat, EdifactFormatVersion, get_edifact_format_version
from efoli import EdifactFormatVersion, get_edifact_format_version
from pypdf import PdfReader

from edi_energy_scraper.epoch import Epoch
Expand Down
2 changes: 1 addition & 1 deletion unittests/test_edienergyscraper.py
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,8 @@
import pytest
from aioresponses import aioresponses
from bs4 import BeautifulSoup
from efoli import EdifactFormatVersion
from freezegun import freeze_time
from maus.edifact import EdifactFormatVersion

from edi_energy_scraper import (
EdiEnergyScraper,
Expand Down

0 comments on commit 146a8b1

Please sign in to comment.