Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 4 additions & 6 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,10 +10,6 @@ jobs:
strategy:
matrix:
include:
- python-version: "3.7"
os: ubuntu-22.04
- python-version: "3.8"
os: ubuntu-22.04
- python-version: "3.9"
os: ubuntu-latest
- python-version: "3.10"
Expand All @@ -24,6 +20,8 @@ jobs:
os: ubuntu-latest
- python-version: "3.13"
os: ubuntu-latest
- python-version: "3.14"
os: ubuntu-latest
- python-version: "pypy3.9"
os: windows-latest

Expand All @@ -37,11 +35,11 @@ jobs:

- name: Install dependencies (Windows)
if: runner.os == 'Windows'
run: pip install pytest pytest-cov python-coveralls coverage flake8 pydocstyle setuptools cryptography<44
run: pip install pytest pytest-cov python-coveralls coverage flake8 pydocstyle cryptography<44

- name: Install dependencies (Ubuntu)
if: runner.os == 'Linux'
run: pip install pytest pytest-cov python-coveralls coverage flake8 pydocstyle setuptools cryptography
run: pip install pytest pytest-cov python-coveralls coverage flake8 pydocstyle cryptography

- name: Lint with flake8
run: |
Expand Down
2 changes: 1 addition & 1 deletion README.rst
Original file line number Diff line number Diff line change
Expand Up @@ -167,7 +167,7 @@ Add a new user: System -> FRITZ!Box-Benutzer
References
----------

- https://avm.de/fileadmin/user_upload/Global/Service/Schnittstellen/AHA-HTTP-Interface.pdf
- https://fritz.support/resources/AHA-HTTP-Interface.pdf
- https://github.com/DerMitch/fritzbox-smarthome


Expand Down
8 changes: 3 additions & 5 deletions pyfritzhome/__init__.py
Original file line number Diff line number Diff line change
@@ -1,15 +1,13 @@
"""Init file for pyfritzhome."""

try:
from importlib.metadata import version
__version__ = version(__name__)
except ImportError:
__version__ = "dev"
from importlib.metadata import version

from .errors import InvalidError, LoginError, NotLoggedInError
from .fritzhome import Fritzhome
from .fritzhomedevice import FritzhomeDevice

__version__ = version(__name__)

__all__ = (
"Fritzhome",
"FritzhomeDevice",
Expand Down
4 changes: 1 addition & 3 deletions setup.cfg
Original file line number Diff line number Diff line change
Expand Up @@ -13,21 +13,19 @@ license_file = LICENSE
classifiers =
License :: OSI Approved :: MIT License
Programming Language :: Python :: 3
Programming Language :: Python :: 3.7
Programming Language :: Python :: 3.8
Programming Language :: Python :: 3.9
Programming Language :: Python :: 3.10
Programming Language :: Python :: 3.11
Programming Language :: Python :: 3.12
Programming Language :: Python :: 3.13
Programming Language :: Python :: 3.14
Programming Language :: Python :: Implementation :: CPython
Programming Language :: Python :: Implementation :: PyPy

[options]
packages = find:
include_package_data = true
test_suite = tests
setup_requires = setuptools
install_requires = requests; cryptography
tests_requires = pytest

Expand Down