Accepting request 1138698 from devel:languages:python

- update to 1.13.2:
  * bugfix: fix a crash in the cache-verification in case the cache
    is activated in combination with the Fritz!Box default-ip and
    multiple AVM-devices are connected in the local network, so an
    arbitrary device may respond (which would also be a bug in
    applications using fritzconnection anyway) (introduced in
    version 1.10.0).
  * bugfix: fix broken reconnection of fritzmonitor in case of
    socket loss. (#196)
  * cleaner type-hints for public api.
  * documentation: Style change to “Furo” and minor content improvements.
  * bugfix: added a missing import to the /docs/requirements.in
    file to generate the API-documentation on readthedocs.org
  * support added for Python 3.12
  * support removed for Python 3.6
  * type-hints added for the public API.
  * command-line interface: the check for a given password has been
    removed
  * bugfix: unneeded required password removed from the fritzstatus
    command-line interface. (#192)
  * bugfix: make fritzwlan.get_beacon_security() work with older
    router models not supporting the
    NewX_AVM-DE_PossibleBeaconTypes argument. (#191)
  * bugfix in ‘setup.py`: add
    long_description_content_type=”text/markdown”, because it is
    not used as default.
  * New method hangup(). (#184)
  * bugfix: removed issues preventing the method
    get_hosts_attributes() to return a list of dictionaries
    representing the host-attributes. (#190)

OBS-URL: https://build.opensuse.org/request/show/1138698
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-fritzconnection?expand=0&rev=9
This commit is contained in:
Ana Guerrero 2024-01-15 21:17:45 +00:00 committed by Git OBS Bridge
commit 81b6ddc23a
4 changed files with 70 additions and 25 deletions

View File

@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:bda18d406fedd44174b65e7e4f8356bca10fd494ce837c5c9d3944dd445f2693
size 146450

View File

@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:ee7e6bd207c7fef606d016b7068c63a03607ca97007a064f6ef4db75c8a217b2
size 161752

View File

@ -1,3 +1,50 @@
-------------------------------------------------------------------
Sun Jan 14 17:38:16 UTC 2024 - Dirk Müller <dmueller@suse.com>
- update to 1.13.2:
* bugfix: fix a crash in the cache-verification in case the cache
is activated in combination with the Fritz!Box default-ip and
multiple AVM-devices are connected in the local network, so an
arbitrary device may respond (which would also be a bug in
applications using fritzconnection anyway) (introduced in
version 1.10.0).
* bugfix: fix broken reconnection of fritzmonitor in case of
socket loss. (#196)
* cleaner type-hints for public api.
* documentation: Style change to “Furo” and minor content improvements.
* bugfix: added a missing import to the /docs/requirements.in
file to generate the API-documentation on readthedocs.org
* support added for Python 3.12
* support removed for Python 3.6
* type-hints added for the public API.
* command-line interface: the check for a given password has been
removed
* bugfix: unneeded required password removed from the fritzstatus
command-line interface. (#192)
* bugfix: make fritzwlan.get_beacon_security() work with older
router models not supporting the
NewX_AVM-DE_PossibleBeaconTypes argument. (#191)
* bugfix in setup.py`: add
long_description_content_type=”text/markdown”, because it is
not used as default.
* New method hangup(). (#184)
* bugfix: removed issues preventing the method
get_hosts_attributes() to return a list of dictionaries
representing the host-attributes. (#190)
* New method call_http() for accessing the (aha-)http-interface.
* bugfix: create cache directory if not existing. (#183)
* New core module to access the (aha-)http-interface.
* New class HomeAutomationDevice. Represents properties and
state of a home-automation device.
* New method get_homeautomation_device().
* New method get_homeautomation_devices().
* New method get_device_information_list(). Substitutes the
device_information() method.
* New property updatecheck allows access to router attributes
without permissions (#168)
* New FritzAuthorizationError raised on calling actions without
the proper permissions (#170)
-------------------------------------------------------------------
Fri Oct 28 17:04:59 UTC 2022 - Yogalakshmi Arunachalam <yarunachalam@suse.com>
@ -36,7 +83,7 @@ Wed Sep 28 15:44:32 UTC 2022 - Yogalakshmi Arunachalam <yarunachalam@suse.com>
* requires opencv to check qr-codes
* covering Python 3.11
* New class ArgumentNamespace added in fritzconnection.lib.fritztools for convenient handling of dictionaries returned from FritzConnection.call_action() calls.
* Better error message in case application access is disabled (#142)
* Better error message in case application access is disabled (#142)
-------------------------------------------------------------------
Fri Mar 4 08:55:03 UTC 2022 - pgajdos@suse.com
@ -64,13 +111,13 @@ Sat Jan 15 17:26:21 UTC 2022 - Dirk Müller <dmueller@suse.com>
* New method `get_generic_host_entries` returning a generator to iterate over
all entries as reported by the method `get_generic_host_entry`.
* The methods `get_active_hosts` and `get_hosts_info` provide additional host
attributes
attributes
* Refactoring of the logging module `fritzconnection.core.logger` (introduced
in 1.7.0). Now emitting messages from INFO-level and up by default.
* Connection errors with the router raised from the underlying `urllib3`
library are caught and raised again as FritzConnectionException preserving
the connection error information
* bugfix: logger deactivated by default
the connection error information
* bugfix: logger deactivated by default
* Tests extended for Python 3.10
* `enable` and `disable` to enable and disable a wlan network.
* `get_password` and `set_password` to get the current password or set a new
@ -82,13 +129,13 @@ Sat Jan 15 17:26:21 UTC 2022 - Dirk Müller <dmueller@suse.com>
adapt the default urllib3 settings (used by requests). (#114).
* New properties `FritzStatus.device_uptime` and
`FritzStatus.connection_uptime``; the latter a replacement for
`FritzStatus.uptime` still existing as an alias.
`FritzStatus.uptime` still existing as an alias.
* bugfix: html-escape arguments in case that special characters are allowed
by the protocol.
by the protocol.
* bugfix: `FritzStatus.bytes_sent` will return the 32 bit value from older
Fritz!Box models.
Fritz!Box models.
* bugfix: raise `FritzActionError` on accessing the mesh topology information
from a device not having accesss to this information.
from a device not having accesss to this information.
* adding code-of-conduct and contributing files to the repository.
* Compatibility with Fritz!OS 7.24 and newer: takes the last logged in
username as default in case that a username is not provided.
@ -96,14 +143,14 @@ Sat Jan 15 17:26:21 UTC 2022 - Dirk Müller <dmueller@suse.com>
raised math domain error on values == 0.D (bug introduced with version
* bugfix: FritzStatus library now returns a 32 bit value for *bytes_received*
for older Fritz!OS versions not providing the newer 64 bit information
instead of raising an exception.
* change: Output of bitrate changed to log10 based calculation
instead of raising an exception.
* change: Output of bitrate changed to log10 based calculation
* New core module fritzmonitor for reporting realtime phone call events
* Library class FritzStatus with additional properties: *attenuation*,
*str_attenuation*, *noise_margin* and *str_noise_margin*
* Library class FritzHost with additional method *get_host_name*
* Namespace prefix for xml-arguments removed
* Test extended for Python 3.9
*str_attenuation*, *noise_margin* and *str_noise_margin*
* Library class FritzHost with additional method *get_host_name*
* Namespace prefix for xml-arguments removed
* Test extended for Python 3.9
-------------------------------------------------------------------
Tue Sep 29 17:46:23 UTC 2020 - Thorsten Kukuk <kukuk@suse.com>
@ -128,17 +175,17 @@ Sat Mar 14 20:39:40 UTC 2020 - Martin Hauke <mardnh@gmx.de>
-------------------------------------------------------------------
Thu Feb 27 02:08:26 CET 2020 - ro@suse.de
- update to 1.2.0
- update to 1.2.0
-------------------------------------------------------------------
Fri Jan 24 01:50:42 CET 2020 - ro@suse.de
- update to 0.8.4, use git url and add service file
- update to 0.8.4, use git url and add service file
-------------------------------------------------------------------
Mon Jul 8 00:20:33 CEST 2019 - ro@suse.de
- update to 0.6.5
- update to 0.6.5
-------------------------------------------------------------------
Sun Jul 7 22:12:20 UTC 2019 - Ruediger Oertel <ro@suse.com>

View File

@ -1,7 +1,7 @@
#
# spec file for package python-fritzconnection
#
# Copyright (c) 2022 SUSE LLC
# Copyright (c) 2024 SUSE LLC
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
@ -16,11 +16,9 @@
#
%{?!python_module:%define python_module() python-%{**} python3-%{**}}
%define skip_python2 1
%global pythons python3
Name: python-fritzconnection
Version: 1.10.3
Version: 1.13.2
Release: 0
Summary: A Python module to talk to a AVM fritzbox
License: MIT
@ -68,7 +66,7 @@ rm fritzconnection/tests/test_functional.py
%files %{python_files}
%license LICENSE.txt
%doc README.rst
%doc README.md
%{_bindir}/fritzcall
%{_bindir}/fritzconnection
%{_bindir}/fritzhomeauto