forked from pool/python-aspectlib
Accepting request 796576 from home:mcalabkova:branches:devel:languages:python
- update to 1.5.0
* Fixed ``weave`` to stop reading attributes that don't match the method selector.
Contributed by Jonas Maurus in `#14 <https://github.com/ionelmc/python-aspectlib/pull/14>`_.
* Added support for Python 3.7 and 3.8 (``async def`` functions and generators).
* Added a convenience ``weave`` fixture for pytest.
- Launch tests and pin tornado (one test fails with tornado >= 6)
OBS-URL: https://build.opensuse.org/request/show/796576
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-aspectlib?expand=0&rev=5
This commit is contained in:
committed by
Git OBS Bridge
parent
21d5a9a571
commit
61de56ea84
@@ -18,10 +18,9 @@
|
||||
|
||||
%{?!python_module:%define python_module() python-%{**} python3-%{**}}
|
||||
%bcond_without python2
|
||||
# Test requires network connection
|
||||
%bcond_with test
|
||||
%bcond_without test
|
||||
Name: python-aspectlib
|
||||
Version: 1.4.2
|
||||
Version: 1.5.0
|
||||
Release: 0
|
||||
Summary: Aspect-oriented programming
|
||||
License: BSD-2-Clause
|
||||
@@ -31,13 +30,11 @@ BuildRequires: %{python_module setuptools}
|
||||
BuildRequires: fdupes
|
||||
BuildRequires: python-rpm-macros
|
||||
Requires: python-fields
|
||||
Recommends: python-tornado
|
||||
BuildArch: noarch
|
||||
%if %{with test}
|
||||
BuildRequires: %{python_module fields}
|
||||
BuildRequires: %{python_module process-tests}
|
||||
BuildRequires: %{python_module pytest}
|
||||
BuildRequires: %{python_module tornado}
|
||||
%if %{with python2}
|
||||
BuildRequires: python-mock
|
||||
BuildRequires: python-trollius
|
||||
@@ -57,6 +54,9 @@ framework.
|
||||
|
||||
%prep
|
||||
%setup -q -n aspectlib-%{version}
|
||||
# both tests not working (the first skipped by design, the second needed old tornado)
|
||||
# don't pull in tornado when not needed
|
||||
rm tests/test_integrations_py3.py
|
||||
|
||||
%build
|
||||
%python_build
|
||||
|
||||
Reference in New Issue
Block a user