From 4ba0bb469f40bacd731b9c2fa6910a7aaf801ae2cd3fcdc93c95ca1f29fa22bc Mon Sep 17 00:00:00 2001 From: Matej Cepl Date: Fri, 25 Jun 2021 20:07:07 +0000 Subject: [PATCH] Accepting request 902373 from home:bnavigator:branches:devel:languages:python - Update to 1.5.1 * no release notes * update required by jupyter_client 6.2 OBS-URL: https://build.opensuse.org/request/show/902373 OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-nest-asyncio?expand=0&rev=5 --- nest_asyncio-1.4.0.tar.gz | 3 --- nest_asyncio-1.5.1.tar.gz | 3 +++ python-nest-asyncio.changes | 7 +++++++ python-nest-asyncio.spec | 11 ++++++----- 4 files changed, 16 insertions(+), 8 deletions(-) delete mode 100644 nest_asyncio-1.4.0.tar.gz create mode 100644 nest_asyncio-1.5.1.tar.gz diff --git a/nest_asyncio-1.4.0.tar.gz b/nest_asyncio-1.4.0.tar.gz deleted file mode 100644 index 725ce39..0000000 --- a/nest_asyncio-1.4.0.tar.gz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:5773054bbc14579b000236f85bc01ecced7ffd045ec8ca4a9809371ec65a59c8 -size 7053 diff --git a/nest_asyncio-1.5.1.tar.gz b/nest_asyncio-1.5.1.tar.gz new file mode 100644 index 0000000..4b4b5e2 --- /dev/null +++ b/nest_asyncio-1.5.1.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:afc5a1c515210a23c461932765691ad39e8eba6551c055ac8d5546e69250d0aa +size 5738 diff --git a/python-nest-asyncio.changes b/python-nest-asyncio.changes index 111acee..4ffede8 100644 --- a/python-nest-asyncio.changes +++ b/python-nest-asyncio.changes @@ -1,3 +1,10 @@ +------------------------------------------------------------------- +Fri Jun 25 11:19:17 UTC 2021 - Ben Greiner + +- Update to 1.5.1 + * no release notes + * update required by jupyter_client 6.2 + ------------------------------------------------------------------- Mon Jul 20 15:06:01 UTC 2020 - Marketa Calabkova diff --git a/python-nest-asyncio.spec b/python-nest-asyncio.spec index 685e341..8ac12ab 100644 --- a/python-nest-asyncio.spec +++ b/python-nest-asyncio.spec @@ -1,7 +1,7 @@ # # spec file for package python-nest-asyncio # -# 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,13 +19,12 @@ %{?!python_module:%define python_module() python-%{**} python3-%{**}} %define skip_python2 1 Name: python-nest-asyncio -Version: 1.4.0 +Version: 1.5.1 Release: 0 Summary: Patch asyncio to allow nested event loops License: BSD-2-Clause URL: https://github.com/erdewit/nest_asyncio Source: https://files.pythonhosted.org/packages/source/n/nest_asyncio/nest_asyncio-%{version}.tar.gz -BuildRequires: %{python_module devel} BuildRequires: %{python_module setuptools} BuildRequires: fdupes BuildRequires: python-rpm-macros @@ -57,11 +56,13 @@ This module patches asyncio to allow nested use of ``asyncio.run`` and %python_expand %fdupes %{buildroot}%{$python_sitelib} %check -%python_expand PYTHONPATH=%{buildroot}%{$python_sitelib} $python tests/nest_test.py +%pyunittest -v tests.nest_test %files %{python_files} %license LICENSE %doc README.rst -%{python_sitelib}/* +%{python_sitelib}/nest_asyncio.py* +%pycache_only %{python_sitelib}/__pycache__/nest_asyncio*.pyc +%{python_sitelib}/nest_asyncio-%{version}*-info %changelog