Skip to content

Commit

Permalink
Fix dependencies
Browse files Browse the repository at this point in the history
  • Loading branch information
Andre0512 committed Nov 20, 2023
1 parent 26c0e87 commit 1f9aeba
Show file tree
Hide file tree
Showing 4 changed files with 35 additions and 9 deletions.
27 changes: 26 additions & 1 deletion .github/workflows/python_check.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,31 @@ jobs:
strategy:
fail-fast: false
matrix:
python-version: ["3.11"]
include:
- home-assistant: "2023.1.0"
python-version: "3.10"
- home-assistant: "2023.2.0"
python-version: "3.10"
- home-assistant: "2023.3.0"
python-version: "3.10"
- home-assistant: "2023.4.0"
python-version: "3.10"
- home-assistant: "2023.5.0"
python-version: "3.10"
- home-assistant: "2023.6.0"
python-version: "3.10"
- home-assistant: "2023.7.0"
python-version: "3.10"
- home-assistant: "2023.7.0"
python-version: "3.11"
- home-assistant: "2023.8.0"
python-version: "3.11"
- home-assistant: "2023.9.0"
python-version: "3.11"
- home-assistant: "2023.10.0"
python-version: "3.11"
- home-assistant: "2023.11.0"
python-version: "3.11"

steps:
- uses: actions/checkout@v3
Expand All @@ -23,6 +47,7 @@ jobs:
python-version: ${{ matrix.python-version }}
- name: Install dependencies
run: |
python -m pip install homeassistant~=${{ matrix.home-assistant }}
python -m pip install --upgrade pip
python -m pip install -r requirements.txt
python -m pip install -r requirements_dev.txt
Expand Down
3 changes: 2 additions & 1 deletion custom_components/speedport/manifest.json
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,8 @@
"iot_class": "local_polling",
"issue_tracker": "https://github.com/Andre0512/speedport/issues",
"requirements": [
"speedport-api==0.5.6"
"speedport-api==0.5.8",
"pytz>=2023.3"
],
"version": "0.3.3"
}
5 changes: 2 additions & 3 deletions requirements.txt
Original file line number Diff line number Diff line change
@@ -1,3 +1,2 @@
speedport-api==0.5.6
homeassistant~=2023.10
pytz~=2023.3
speedport-api==0.5.8
pytz>=2023.3
9 changes: 5 additions & 4 deletions requirements_dev.txt
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
black~=23.9
flake8~=6.1
mypy~=1.6
pylint~=3.0
black>=22.12
flake8>=6.0
mypy>=0.991
pylint>=2.15
setuptools>=62.3

0 comments on commit 1f9aeba

Please sign in to comment.