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:
parent
21d5a9a571
commit
61de56ea84
@ -1,3 +0,0 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:09f159766ce8ca7d96b857101729c344d70360141d5b3274ba5554a3d46fd940
|
||||
size 159730
|
3
aspectlib-1.5.0.tar.gz
Normal file
3
aspectlib-1.5.0.tar.gz
Normal file
@ -0,0 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:9b3e9da0d3b9e2952dbfb7e251f596637f03f998cfc168b2726bd2b63ba617f9
|
||||
size 163224
|
@ -1,3 +1,13 @@
|
||||
-------------------------------------------------------------------
|
||||
Fri Apr 17 11:20:50 UTC 2020 - Marketa Calabkova <mcalabkova@suse.com>
|
||||
|
||||
- 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)
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Mon Mar 16 06:39:42 UTC 2020 - Tomáš Chvátal <tchvatal@suse.com>
|
||||
|
||||
|
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user