From 51d21efe78c10012181adb6c43330fcedf2b051d Mon Sep 17 00:00:00 2001 From: mcalabkova <> Date: May 11 2021 21:18:51 +0000 Subject: Update python-crochet to version 2.0.0 / rev 2 via SR 892214 https://build.opensuse.org/request/show/892214 by user mcalabkova + dimstar_suse --- diff --git a/.files b/.files index cdeb993..f718f92 100644 Binary files a/.files and b/.files differ diff --git a/.rev b/.rev index 245f045..6902b61 100644 --- a/.rev +++ b/.rev @@ -7,4 +7,12 @@ dep of fedora-messaging 851833 + + 391f0011414ad5e111142dfce1bf8399 + 2.0.0 + + dimstar_suse + + 892214 + diff --git a/crochet-1.12.0.tar.gz b/crochet-1.12.0.tar.gz deleted file mode 120000 index 67fadb3..0000000 --- a/crochet-1.12.0.tar.gz +++ /dev/null @@ -1 +0,0 @@ -/ipfs/bafkreiepzpdeo2ebh5io45vrpipi2mvj6ojan6flm5tnkdeilyd6p63pwe \ No newline at end of file diff --git a/crochet-2.0.0.tar.gz b/crochet-2.0.0.tar.gz new file mode 120000 index 0000000..d39c1ca --- /dev/null +++ b/crochet-2.0.0.tar.gz @@ -0,0 +1 @@ +/ipfs/bafkreic7p5wa2qpmigg2cyea6aqc7kwgwmhyjjx4vhmjchu5wva7rzhfee \ No newline at end of file diff --git a/python-crochet.changes b/python-crochet.changes index 66f37bb..3794087 100644 --- a/python-crochet.changes +++ b/python-crochet.changes @@ -1,4 +1,18 @@ ------------------------------------------------------------------- +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 - Remove no longer necessary bcond_with test diff --git a/python-crochet.spec b/python-crochet.spec index 0f38573..6a8e64a 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}/*