Accepting request 897837 from devel:languages:python
- update to 9.1: **Version 9.1 fixes a security issue introduced in version 8.0.** * Restored compatibility of ``python -m websockets`` with Python < 3.9. * Restored compatibility with mypy. * Fixed issues with the packaging of the 9.0 release. * :class:`~datastructures.Headers` and :exc:`~datastructures.MultipleValuesError` were moved from ``websockets.http`` to :mod:`websockets.datastructures`. If you're using them, you should adjust the import path. * The ``client``, ``server``, ``protocol``, and ``auth`` modules were moved from the ``websockets`` package to ``websockets.legacy`` sub-package, as part of an upcoming refactoring. Despite the name, they're still fully supported. The refactoring should be a transparent upgrade for most uses when it's available. The legacy implementation will be preserved according to the `backwards-compatibility policy`_. * The ``framing``, ``handshake``, ``headers``, ``http``, and ``uri`` modules in the ``websockets`` package are deprecated. These modules provided low-level APIs for reuse by other WebSocket implementations, but that never happened. Keeping these APIs public makes it more difficult to improve websockets for no actual benefit. * Added compatibility with Python 3.9. * Added support for IRIs in addition to URIs. * Added close codes 1012, 1013, and 1014. * Raised an error when passing a :class:`dict` to OBS-URL: https://build.opensuse.org/request/show/897837 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-websockets?expand=0&rev=12
This commit is contained in:
commit
9ab67a5292
@ -1,3 +0,0 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:c19ce96ad5f7606127d3915364144df93fb865a215784b06048fae3d39364f14
|
||||
size 156472
|
3
9.1.tar.gz
Normal file
3
9.1.tar.gz
Normal file
@ -0,0 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:9036e41b6351827dec39b46f33d52a851261b66f3355c181667ee0ae59c52900
|
||||
size 191813
|
@ -1,3 +1,31 @@
|
||||
-------------------------------------------------------------------
|
||||
Sun Jun 6 12:00:22 UTC 2021 - Dirk Müller <dmueller@suse.com>
|
||||
|
||||
- update to 9.1:
|
||||
**Version 9.1 fixes a security issue introduced in version 8.0.**
|
||||
* Restored compatibility of ``python -m websockets`` with Python < 3.9.
|
||||
* Restored compatibility with mypy.
|
||||
* Fixed issues with the packaging of the 9.0 release.
|
||||
* :class:`~datastructures.Headers` and
|
||||
:exc:`~datastructures.MultipleValuesError` were moved from
|
||||
``websockets.http`` to :mod:`websockets.datastructures`. If you're using
|
||||
them, you should adjust the import path.
|
||||
* The ``client``, ``server``, ``protocol``, and ``auth`` modules were
|
||||
moved from the ``websockets`` package to ``websockets.legacy``
|
||||
sub-package, as part of an upcoming refactoring. Despite the name,
|
||||
they're still fully supported. The refactoring should be a transparent
|
||||
upgrade for most uses when it's available. The legacy implementation
|
||||
will be preserved according to the `backwards-compatibility policy`_.
|
||||
* The ``framing``, ``handshake``, ``headers``, ``http``, and ``uri``
|
||||
modules in the ``websockets`` package are deprecated. These modules
|
||||
provided low-level APIs for reuse by other WebSocket implementations,
|
||||
but that never happened. Keeping these APIs public makes it more
|
||||
difficult to improve websockets for no actual benefit.
|
||||
* Added compatibility with Python 3.9.
|
||||
* Added support for IRIs in addition to URIs.
|
||||
* Added close codes 1012, 1013, and 1014.
|
||||
* Raised an error when passing a :class:`dict` to
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Sat Nov 28 10:59:12 UTC 2020 - John Vandenberg <jayvdb@gmail.com>
|
||||
|
||||
|
@ -1,7 +1,7 @@
|
||||
#
|
||||
# spec file for package python-websockets
|
||||
#
|
||||
# Copyright (c) 2020 SUSE LLC
|
||||
# Copyright (c) 2021 SUSE LLC
|
||||
#
|
||||
# All modifications and additions to the file contributed by third parties
|
||||
# remain the property of their copyright owners, unless otherwise agreed
|
||||
@ -19,7 +19,7 @@
|
||||
%{?!python_module:%define python_module() python-%{**} python3-%{**}}
|
||||
%define skip_python2 1
|
||||
Name: python-websockets
|
||||
Version: 8.1
|
||||
Version: 9.1
|
||||
Release: 0
|
||||
Summary: An implementation of the WebSocket Protocol (RFC 6455)
|
||||
License: BSD-3-Clause
|
||||
|
Loading…
Reference in New Issue
Block a user