From 7e94797cdf3bce579a39a60adb375f1fbeefbbb1a19b7fc222616fc017b81dd5 Mon Sep 17 00:00:00 2001 From: Luigi Baldoni Date: Sat, 10 Aug 2019 14:47:59 +0000 Subject: [PATCH] Accepting request 722195 from home:alois:branches:devel:languages:python Update to version 0.15.0 OBS-URL: https://build.opensuse.org/request/show/722195 OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-wsproto?expand=0&rev=10 --- python-wsproto.changes | 22 ++++++++++++++++++++++ python-wsproto.spec | 3 ++- wsproto-0.14.1.tar.gz | 3 --- wsproto-0.15.0.tar.gz | 3 +++ 4 files changed, 27 insertions(+), 4 deletions(-) delete mode 100644 wsproto-0.14.1.tar.gz create mode 100644 wsproto-0.15.0.tar.gz diff --git a/python-wsproto.changes b/python-wsproto.changes index b5478bc..9d77c57 100644 --- a/python-wsproto.changes +++ b/python-wsproto.changes @@ -1,3 +1,25 @@ +------------------------------------------------------------------- +Sat Aug 10 14:36:31 UTC 2019 - Luigi Baldoni + +- Update to version 0.15.0 + * Drop support for Python 2. Please pin to ~= 0.14.0 if you + support Python 2. + * Drop support for Python 3.5, meaning the minimum supported + version is Python 3.6.1. + * Switch events to be dataclass based, otherwise the API is + consistent. + * Add type hints throughout and support PEP 561 via a py.typed + file. This should allow projects that use wsproto to type + check their usage of wsproto. + * Bugfix prevent the test folder being installed as a package + called test. + * Explicitly require Host header in handshake. + * Drop wsaccel support and utilise the aiohttp/@willmcgugan + masking method. wsaccel is unmaintained and this new maksing + method is almost as quick. + +- Disable python2 build + ------------------------------------------------------------------- Fri May 31 05:16:10 UTC 2019 - Luigi Baldoni diff --git a/python-wsproto.spec b/python-wsproto.spec index 1da206a..f5823b5 100644 --- a/python-wsproto.spec +++ b/python-wsproto.spec @@ -17,8 +17,9 @@ %{?!python_module:%define python_module() python-%{**} python3-%{**}} +%define skip_python2 1 Name: python-wsproto -Version: 0.14.1 +Version: 0.15.0 Release: 0 Summary: WebSockets state-machine based protocol implementation License: MIT diff --git a/wsproto-0.14.1.tar.gz b/wsproto-0.14.1.tar.gz deleted file mode 100644 index 5d7e9da..0000000 --- a/wsproto-0.14.1.tar.gz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:ed222c812aaea55d72d18a87df429cfd602e15b6c992a07a53b495858f083a14 -size 51640 diff --git a/wsproto-0.15.0.tar.gz b/wsproto-0.15.0.tar.gz new file mode 100644 index 0000000..a631857 --- /dev/null +++ b/wsproto-0.15.0.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:614798c30e5dc2b3f65acc03d2d50842b97621487350ce79a80a711229edfa9d +size 51765