From b2a93e3549e75c5eaf9253c20d8f68e23310ac0c8d6ab2c68e5430263534c6b1 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Mark=C3=A9ta=20Machov=C3=A1?= Date: Tue, 11 May 2021 10:58:33 +0000 Subject: [PATCH] Accepting request 892141 from home:jayvdb:branches:devel:languages:python - Add docs/*.rst to %doc - Update to v2.0.0 OBS-URL: https://build.opensuse.org/request/show/892141 OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-crochet?expand=0&rev=3 --- crochet-1.12.0.tar.gz | 3 --- crochet-2.0.0.tar.gz | 3 +++ python-crochet.changes | 14 ++++++++++++++ python-crochet.spec | 8 +++----- 4 files changed, 20 insertions(+), 8 deletions(-) delete mode 100644 crochet-1.12.0.tar.gz create mode 100644 crochet-2.0.0.tar.gz diff --git a/crochet-1.12.0.tar.gz b/crochet-1.12.0.tar.gz deleted file mode 100644 index 4a3ecd4..0000000 --- a/crochet-1.12.0.tar.gz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:8fcbc64768813f50ee76b17a1e8d32a9f39206f8ab6766d50c885e07e7fb6fb1 -size 58670 diff --git a/crochet-2.0.0.tar.gz b/crochet-2.0.0.tar.gz new file mode 100644 index 0000000..ae48232 --- /dev/null +++ b/crochet-2.0.0.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:5f7f6c0d41ec418da16080f0202faac6b30f84a6fca9d8911e9db541f8e4e521 +size 64729 diff --git a/python-crochet.changes b/python-crochet.changes index 711ccba..c3dc189 100644 --- a/python-crochet.changes +++ b/python-crochet.changes @@ -1,3 +1,17 @@ +------------------------------------------------------------------- +Mon May 10 22:30:36 UTC 2021 - John Vandenberg + +- Add docs/*.rst to %doc +- Update to v2.0.0 + * It's possible to decorate async/await Twisted functions with + @wait_for and @run_in_reactor + * Added type hints + * Added formal support for Python 3.9 + * Dropped the deprecated APIs @wait_for_reactor, @in_reactor, + DeferredResult, the wrapped_function attribute, and + unlimited timeouts on EventualResult.wait() + * Dropped support for Python 2.7 and 3.5 + ------------------------------------------------------------------- Thu Nov 26 00:54:28 UTC 2020 - John Vandenberg diff --git a/python-crochet.spec b/python-crochet.spec index 84b619d..6b980e9 100644 --- a/python-crochet.spec +++ b/python-crochet.spec @@ -17,8 +17,9 @@ %{?!python_module:%define python_module() python-%{**} python3-%{**}} +%define skip_python2 1 Name: python-crochet -Version: 1.12.0 +Version: 2.0.0 Release: 0 Summary: Use Twisted from any applications License: MIT @@ -44,9 +45,6 @@ framework. %prep %setup -q -n crochet-%{version} -# Two tests fail on i586 only https://github.com/itamarst/crochet/issues/125 -# Disable only these two globally -sed -Ei 's/(test_control_c_is_possible|test_reactor_stop_unblocks)/_\1/' crochet/tests/test_api.py %build %python_build @@ -59,7 +57,7 @@ sed -Ei 's/(test_control_c_is_possible|test_reactor_stop_unblocks)/_\1/' crochet %pyunittest %files %{python_files} -%doc README.rst +%doc README.rst docs/*.rst %license LICENSE %{python_sitelib}/*