Script 'mail_helper' called by obssrc Hello community, here is the log from the commit of package python-wsaccel for openSUSE:Factory checked in at 2022-11-12 17:41:09 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/python-wsaccel (Old) and /work/SRC/openSUSE:Factory/.python-wsaccel.new.1597 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "python-wsaccel" Sat Nov 12 17:41:09 2022 rev:3 rq:1035268 version:0.6.4 Changes: -------- --- /work/SRC/openSUSE:Factory/python-wsaccel/python-wsaccel.changes 2021-05-18 18:27:48.370607776 +0200 +++ /work/SRC/openSUSE:Factory/.python-wsaccel.new.1597/python-wsaccel.changes 2022-11-12 17:41:29.350282300 +0100 @@ -1,0 +2,7 @@ +Wed Nov 9 19:47:27 UTC 2022 - Yogalakshmi Arunachalam <[email protected]> + +- Update to 0.6.4 + * Support Python 3.11 + * Drop ``patch_tornado`` + +------------------------------------------------------------------- Old: ---- v0.6.3.tar.gz New: ---- v0.6.4.tar.gz ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ python-wsaccel.spec ++++++ --- /var/tmp/diff_new_pack.GTpWbB/_old 2022-11-12 17:41:30.478289015 +0100 +++ /var/tmp/diff_new_pack.GTpWbB/_new 2022-11-12 17:41:30.482289039 +0100 @@ -1,7 +1,7 @@ # # spec file for package python-wsaccel # -# Copyright (c) 2021 SUSE LLC +# Copyright (c) 2022 SUSE LLC # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -18,7 +18,7 @@ %{?!python_module:%define python_module() python-%{**} python3-%{**}} Name: python-wsaccel -Version: 0.6.3 +Version: 0.6.4 Release: 0 Summary: Accelerator for ws4py and AutobahnPython License: Apache-2.0 ++++++ v0.6.3.tar.gz -> v0.6.4.tar.gz ++++++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/wsaccel-0.6.3/.github/workflows/build.yaml new/wsaccel-0.6.4/.github/workflows/build.yaml --- old/wsaccel-0.6.3/.github/workflows/build.yaml 2020-12-10 01:25:55.000000000 +0100 +++ new/wsaccel-0.6.4/.github/workflows/build.yaml 2022-10-29 06:21:46.000000000 +0200 @@ -2,16 +2,60 @@ on: [push] jobs: - build: - runs-on: ubuntu-20.04 + build-sdist: + runs-on: ubuntu-22.04 steps: - - uses: actions/checkout@v2 - - uses: actions/setup-python@v2 + - uses: actions/checkout@v3 + - uses: actions/setup-python@v4 + with: + python-version: "3.10" + cache: "pip" - name: build run: | - pip install Cython wheel setuptools + pip install -r requirements.txt python setup.py sdist - uses: actions/upload-artifact@v2 with: - name: dist + name: sdist path: dist + + build: + strategy: + matrix: + os: [ubuntu-22.04, windows-2022, macos-10.15] + runs-on: ${{ matrix.os }} + name: Build wheels on ${{ matrix.os }} + + steps: + - uses: actions/checkout@v3 + + - name: Set up QEMU + if: runner.os == 'Linux' + uses: docker/setup-qemu-action@v1 + with: + platforms: arm64 + + - name: Set up Python 3.10 + uses: actions/setup-python@v4 + with: + python-version: "3.10" + cache: "pip" + + - name: Prepare + shell: bash + run: | + pip install -r requirements.txt + python setup.py sdist # To run cythonize + + - name: Build + uses: pypa/[email protected] + env: + CIBW_ARCHS_LINUX: auto aarch64 + CIBW_ARCHS_MACOS: x86_64 universal2 arm64 + CIBW_SKIP: pp* + + - name: Upload Wheels to artifact + uses: actions/upload-artifact@v1 + with: + name: Wheels + path: wheelhouse diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/wsaccel-0.6.3/.travis.yml new/wsaccel-0.6.4/.travis.yml --- old/wsaccel-0.6.3/.travis.yml 2020-12-10 01:25:55.000000000 +0100 +++ new/wsaccel-0.6.4/.travis.yml 1970-01-01 01:00:00.000000000 +0100 @@ -1,14 +0,0 @@ -sudo: false -language: python -python: - - "2.7" - - "3.6" - - "3.7" - - "3.8" - - "3.9" - -install: - - "pip install cython" - - "pip install ." - -script: "pytest -v tests" diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/wsaccel-0.6.3/ChangeLog new/wsaccel-0.6.4/ChangeLog --- old/wsaccel-0.6.3/ChangeLog 2020-12-10 01:25:55.000000000 +0100 +++ new/wsaccel-0.6.4/ChangeLog 2022-10-29 06:21:46.000000000 +0200 @@ -1,3 +1,8 @@ +0.6.4 +===== +* Support Python 3.11 +* Drop ``patch_tornado`` + 0.6.3 ===== * Support Python 3.10 diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/wsaccel-0.6.3/README.rst new/wsaccel-0.6.4/README.rst --- old/wsaccel-0.6.3/README.rst 2020-12-10 01:25:55.000000000 +0100 +++ new/wsaccel-0.6.4/README.rst 2022-10-29 06:21:46.000000000 +0200 @@ -1,10 +1,12 @@ WSAccell ========= -.. image:: https://travis-ci.org/methane/wsaccel.svg?branch=master - :target: https://travis-ci.org/methane/wsaccel +**NOTE: AutobahnPython and ws4py are not actively maintained. So I will stop this project too. +Please migrate to `Tornado <https://www.tornadoweb.org/en/stable/>`_ or +`websockets <https://websockets.readthedocs.io/en/stable/intro.html>`_.** -WSAccell is WebSocket accelerator for `AutobahnPython <http://autobahn.ws/python>`_, + +WSAccell is WebSocket accelerator for `AutobahnPython <https://autobahn.readthedocs.io/en/latest/>`_, and `ws4py <https://github.com/Lawouach/WebSocket-for-Python>`_. WSAccell replaces per-byte process in them with Cython version. @@ -18,10 +20,6 @@ wsaccel.patch_autobahn() # for autobahn. wsaccel.patch_ws4py() # for ws4py. -.. note:: - WSAccell also provides accelerator for Tornado. But Tornado provides own speedup - module for now. So Tornado accelerator has been deprecated. - test ---- @@ -31,4 +29,4 @@ .. code-block:: console $ pip install pytest - $ py.test tests + $ pytest tests diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/wsaccel-0.6.3/requirements.txt new/wsaccel-0.6.4/requirements.txt --- old/wsaccel-0.6.3/requirements.txt 1970-01-01 01:00:00.000000000 +0100 +++ new/wsaccel-0.6.4/requirements.txt 2022-10-29 06:21:46.000000000 +0200 @@ -0,0 +1,3 @@ +Cython~=0.29.32 +wheel +setuptools diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/wsaccel-0.6.3/setup.py new/wsaccel-0.6.4/setup.py --- old/wsaccel-0.6.3/setup.py 2020-12-10 01:25:55.000000000 +0100 +++ new/wsaccel-0.6.4/setup.py 2022-10-29 06:21:46.000000000 +0200 @@ -1,5 +1,3 @@ -# -*- coding: utf-8 -*- -import io import os import sys import subprocess @@ -34,7 +32,6 @@ ext.sources = list(map(ensure_source, ext.sources)) except NoCython: print("Cython is required for building extension from checkout.") - print("Install Cython >= 0.16 or install ws4py from PyPI.") raise return build_ext.build_extension(self, ext) @@ -50,11 +47,11 @@ Extension('wsaccel.xormask', ['wsaccel/xormask.c']), ] -with io.open('README.rst', encoding='utf-8') as f: +with open('README.rst', encoding='utf-8') as f: long_description = f.read() setup(name="wsaccel", - version='0.6.3', + version='0.6.4', description="Accelerator for ws4py and AutobahnPython", maintainer="Inada Naoki", maintainer_email="[email protected]", @@ -69,13 +66,12 @@ 'Intended Audience :: Developers', 'Operating System :: OS Independent', 'Programming Language :: Python', - 'Programming Language :: Python :: 2', - 'Programming Language :: Python :: 2.7', 'Programming Language :: Python :: 3', - 'Programming Language :: Python :: 3.6', 'Programming Language :: Python :: 3.7', 'Programming Language :: Python :: 3.8', 'Programming Language :: Python :: 3.9', + 'Programming Language :: Python :: 3.10', + 'Programming Language :: Python :: 3.11', 'Programming Language :: Python :: Implementation :: CPython', ], ) diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/wsaccel-0.6.3/wsaccel/__init__.py new/wsaccel-0.6.4/wsaccel/__init__.py --- old/wsaccel-0.6.3/wsaccel/__init__.py 2020-12-10 01:25:55.000000000 +0100 +++ new/wsaccel-0.6.4/wsaccel/__init__.py 2022-10-29 06:21:46.000000000 +0200 @@ -1,4 +1,4 @@ -__version__ = '0.6.2' +__version__ = '0.6.4' def patch_autobahn(): from wsaccel.utf8validator import Utf8Validator @@ -26,14 +26,3 @@ framing.Frame.mask = mask framing.Frame.unmask = mask - - -def patch_tornado(): - from tornado.websocket import WebSocketProtocol13 - from wsaccel.xormask import XorMaskerSimple - - def _apply_mask(self, mask, data): - masker = XorMaskerSimple(mask) - return masker.process(data) - - WebSocketProtocol13._apply_mask = _apply_mask
