From eddd45f3a522b37e03b465ac16f8b4a8cba004d52e774efb4f406e11317ecb08 Mon Sep 17 00:00:00 2001 From: Dirk Mueller Date: Wed, 13 Dec 2023 10:32:27 +0000 Subject: [PATCH 1/2] - update to 0.11.1: * remove exceptiongroup dependency for Python >= 3.11 * fix client hang when connection lost just after remote closes - Initial release of 0.10.3 OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-trio-websocket?expand=0&rev=3 --- python-trio-websocket.changes | 9 ++++++++- python-trio-websocket.spec | 2 +- trio-websocket-0.10.3.tar.gz | 3 --- trio-websocket-0.11.1.tar.gz | 3 +++ 4 files changed, 12 insertions(+), 5 deletions(-) delete mode 100644 trio-websocket-0.10.3.tar.gz create mode 100644 trio-websocket-0.11.1.tar.gz diff --git a/python-trio-websocket.changes b/python-trio-websocket.changes index e061af6..1e659b6 100644 --- a/python-trio-websocket.changes +++ b/python-trio-websocket.changes @@ -1,4 +1,11 @@ +------------------------------------------------------------------- +Wed Dec 13 10:31:49 UTC 2023 - Dirk Müller + +- update to 0.11.1: + * remove exceptiongroup dependency for Python >= 3.11 + * fix client hang when connection lost just after remote closes + ------------------------------------------------------------------- Fri Jun 9 06:10:31 UTC 2023 - Steve Kowalik -- Initial release of 0.10.3 +- Initial release of 0.10.3 diff --git a/python-trio-websocket.spec b/python-trio-websocket.spec index 85157e7..6e3c077 100644 --- a/python-trio-websocket.spec +++ b/python-trio-websocket.spec @@ -17,7 +17,7 @@ Name: python-trio-websocket -Version: 0.10.3 +Version: 0.11.1 Release: 0 Summary: WebSocket library for Trio License: MIT diff --git a/trio-websocket-0.10.3.tar.gz b/trio-websocket-0.10.3.tar.gz deleted file mode 100644 index 7934188..0000000 --- a/trio-websocket-0.10.3.tar.gz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:1a748604ad906a7dcab9a43c6eb5681e37de4793ba0847ef0bc9486933ed027b -size 26119 diff --git a/trio-websocket-0.11.1.tar.gz b/trio-websocket-0.11.1.tar.gz new file mode 100644 index 0000000..ac16b49 --- /dev/null +++ b/trio-websocket-0.11.1.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:18c11793647703c158b1f6e62de638acada927344d534e3c7628eedcb746839f +size 26511 From 063662081d4f4e70e36f026824d1b0c74f09f94678a0cc88ee1b3ef2da583baa Mon Sep 17 00:00:00 2001 From: Dirk Mueller Date: Wed, 13 Dec 2023 10:34:28 +0000 Subject: [PATCH 2/2] OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-trio-websocket?expand=0&rev=4 --- python-trio-websocket.spec | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/python-trio-websocket.spec b/python-trio-websocket.spec index 6e3c077..ad65822 100644 --- a/python-trio-websocket.spec +++ b/python-trio-websocket.spec @@ -30,7 +30,7 @@ BuildRequires: %{python_module setuptools} BuildRequires: %{python_module wheel} BuildRequires: python-rpm-macros # SECTION test requirements -BuildRequires: %{python_module exceptiongroup} +BuildRequires: %{python_module exceptiongroup if %python-base < 3.11} BuildRequires: %{python_module pytest-trio} BuildRequires: %{python_module pytest} BuildRequires: %{python_module trio >= 0.11} @@ -38,7 +38,9 @@ BuildRequires: %{python_module trustme} BuildRequires: %{python_module wsproto >= 0.14} # /SECTION BuildRequires: fdupes +%if 0%{?python_version_nodots} < 311 Requires: python-exceptiongroup +%endif Requires: python-trio >= 0.11 Requires: python-wsproto >= 0.14 BuildArch: noarch