python-swidget 1.3.0__tar.gz → 1.3.1__tar.gz

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1,8 +1,7 @@
1
1
  Metadata-Version: 2.3
2
2
  Name: python-swidget
3
- Version: 1.3.0
3
+ Version: 1.3.1
4
4
  Summary: Python API for Swidget smart devices
5
- Home-page: https://github.com/swidget/python-swidget
6
5
  License: GPL-3.0-or-later
7
6
  Author: Swidget
8
7
  Requires-Python: >=3.8,<4.0
@@ -21,7 +20,7 @@ Requires-Dist: asyncclick (>=8)
21
20
  Requires-Dist: importlib-metadata
22
21
  Requires-Dist: m2r (>=0,<1) ; extra == "docs"
23
22
  Requires-Dist: mistune (<2.0.0) ; extra == "docs"
24
- Requires-Dist: pydantic (>=1,<2)
23
+ Requires-Dist: pydantic (>=2,<3)
25
24
  Requires-Dist: requests (==2.32.3)
26
25
  Requires-Dist: sphinx (>=4,<5) ; extra == "docs"
27
26
  Requires-Dist: sphinx_rtd_theme (>=0,<1) ; extra == "docs"
@@ -1,6 +1,6 @@
1
1
  [tool.poetry]
2
2
  name = "python-swidget"
3
- version = "1.3.0"
3
+ version = "1.3.1"
4
4
  description = "Python API for Swidget smart devices"
5
5
  license = "GPL-3.0-or-later"
6
6
  authors = ["Swidget"]
@@ -20,7 +20,7 @@ aiohttp = ">=3.8.1"
20
20
  anyio = "*" # see https://github.com/python-trio/asyncclick/issues/18
21
21
  importlib-metadata = "*"
22
22
  asyncclick = ">=8"
23
- pydantic = "^1"
23
+ pydantic = "^2"
24
24
  ssdp = "1.1.1"
25
25
  requests = "2.32.3"
26
26
  types-requests = "2.31.0.6"
@@ -93,8 +93,8 @@ class SwidgetWebsocket:
93
93
  )
94
94
  self.retry_count = 0
95
95
  _LOGGER.debug("Websocket now connected")
96
- except (ClientConnectionError, WSServerHandshakeError) as e:
97
- _LOGGER.error(f"Error connecting to websocket: {e}")
96
+ except (ClientConnectionError, WSServerHandshakeError):
97
+ _LOGGER.error("Error connecting to websocket")
98
98
  self._client = None
99
99
  except socket.gaierror as e:
100
100
  _LOGGER.error(f"Error resolving host: {e}")
File without changes