14
0
forked from pool/python-txaio

Accepting request 686488 from home:jayvdb:branches:devel:languages:python

- Fix invocation of test suite, previously silently not running
- Add missing runtime dependencies
- Update to v18.8.1
  * add API to support cancellation; this means passing a 1-argument
    callable to ``create_future`` and ``txaio.cancel`` to actually
    cancel a future
  * support Python 3.7 (CI / testing added)
- from v18.7.1
  * move to calver
  * deprecate Python 3.3 support and CI testing
- from v2.10.0
  * the asyncio version of ``make_logger`` now deduces a proper
    namespace instead of using the root

OBS-URL: https://build.opensuse.org/request/show/686488
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-txaio?expand=0&rev=6
This commit is contained in:
Tomáš Chvátal
2019-03-19 18:10:52 +00:00
committed by Git OBS Bridge
parent 4290ef45c0
commit 4892d9df81
4 changed files with 34 additions and 7 deletions

View File

@@ -1,3 +1,20 @@
-------------------------------------------------------------------
Tue Mar 19 12:35:11 UTC 2019 - John Vandenberg <jayvdb@gmail.com>
- Fix invocation of test suite, previously silently not running
- Add missing runtime dependencies
- Update to v18.8.1
* add API to support cancellation; this means passing a 1-argument
callable to ``create_future`` and ``txaio.cancel`` to actually
cancel a future
* support Python 3.7 (CI / testing added)
- from v18.7.1
* move to calver
* deprecate Python 3.3 support and CI testing
- from v2.10.0
* the asyncio version of ``make_logger`` now deduces a proper
namespace instead of using the root
------------------------------------------------------------------- -------------------------------------------------------------------
Tue Dec 4 12:55:27 UTC 2018 - Matej Cepl <mcepl@suse.com> Tue Dec 4 12:55:27 UTC 2018 - Matej Cepl <mcepl@suse.com>

View File

@@ -1,7 +1,7 @@
# #
# spec file for package python-txaio # spec file for package python-txaio
# #
# Copyright (c) 2018 SUSE LINUX GmbH, Nuernberg, Germany. # Copyright (c) 2019 SUSE LINUX GmbH, Nuernberg, Germany.
# #
# All modifications and additions to the file contributed by third parties # All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed # remain the property of their copyright owners, unless otherwise agreed
@@ -18,7 +18,7 @@
%{?!python_module:%define python_module() python-%{**} python3-%{**}} %{?!python_module:%define python_module() python-%{**} python3-%{**}}
Name: python-txaio Name: python-txaio
Version: 2.9.0 Version: 18.8.1
Release: 0 Release: 0
Summary: WebSocket and WAMP in Python for Twisted and asyncio Summary: WebSocket and WAMP in Python for Twisted and asyncio
License: MIT License: MIT
@@ -26,12 +26,22 @@ Group: Development/Languages/Python
URL: http://crossbar.io/autobahn URL: http://crossbar.io/autobahn
Source: https://files.pythonhosted.org/packages/source/t/txaio/txaio-%{version}.tar.gz Source: https://files.pythonhosted.org/packages/source/t/txaio/txaio-%{version}.tar.gz
BuildRequires: %{python_module setuptools} BuildRequires: %{python_module setuptools}
BuildRequires: %{python_module pytest}
BuildRequires: %{python_module mock}
BuildRequires: fdupes BuildRequires: fdupes
BuildRequires: python-rpm-macros BuildRequires: python-rpm-macros
BuildRequires: python2-devel
BuildRequires: python3-testsuite
Requires: python-six Requires: python-six
Recommends: python-Twisted >= 12.1.0
Recommends: python-zope.interface >= 3.6
%ifpython2
Requires: python-future
Recommends: python-trollius
%endif
BuildArch: noarch BuildArch: noarch
# SECTION test requirements # SECTION test requirements
BuildRequires: %{python_module Twisted} BuildRequires: %{python_module Twisted >= 12.1.0}
BuildRequires: %{python_module six} BuildRequires: %{python_module six}
# /SECTION # /SECTION
%python_subpackages %python_subpackages
@@ -51,7 +61,7 @@ asynchronous Remote Procedure Calls and Publish & Subscribe on top of WebSocket.
%python_expand %fdupes %{buildroot}%{$python_sitelib} %python_expand %fdupes %{buildroot}%{$python_sitelib}
%check %check
%python_exec setup.py test %python_exec -m pytest -k 'not test_sdist'
%files %{python_files} %files %{python_files}
%license LICENSE %license LICENSE

3
txaio-18.8.1.tar.gz Normal file
View File

@@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:67e360ac73b12c52058219bb5f8b3ed4105d2636707a36a7cdafb56fe06db7fe
size 51092

View File

@@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:dfc3a7d04b4b484ae5ff241affab5bb01306b1e950dd6f54fd036cfca94345d0
size 44195