diff options
author | Wang Mingyu <wangmy@fujitsu.com> | 2023-02-08 16:08:34 +0800 |
---|---|---|
committer | Khem Raj <raj.khem@gmail.com> | 2023-02-08 08:51:44 -0800 |
commit | 5df692b1b515fb45e7f0b65659b32420f5d67f02 (patch) | |
tree | 0b91ccd7d8e515fcd6760617896e977a8e5f8bd4 /meta-python/recipes-devtools/python/python3-aspectlib/0001-Remove-tornado-6-test-constraint.-Ref-15.patch | |
parent | 585e4da5ab391c859dc0371f5cc0420e5c823a27 (diff) | |
download | meta-openembedded-5df692b1b515fb45e7f0b65659b32420f5d67f02.tar.gz |
python3-aspectlib: upgrade 1.5.2 -> 2.0.0
License-Update: Copyright updated to 2022.
0001-Remove-tornado-6-test-constraint.-Ref-15.patch
removed since it's not available in 2.0.0.
Changelog:
=========
Drop support for legacy Pythons (2.7, 3.6 or older).
Remove Travis/Appveyor CI and switch to GitHub Actions.
Added support for Tornado 6 (in the test suite).
Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Diffstat (limited to 'meta-python/recipes-devtools/python/python3-aspectlib/0001-Remove-tornado-6-test-constraint.-Ref-15.patch')
-rw-r--r-- | meta-python/recipes-devtools/python/python3-aspectlib/0001-Remove-tornado-6-test-constraint.-Ref-15.patch | 45 |
1 files changed, 0 insertions, 45 deletions
diff --git a/meta-python/recipes-devtools/python/python3-aspectlib/0001-Remove-tornado-6-test-constraint.-Ref-15.patch b/meta-python/recipes-devtools/python/python3-aspectlib/0001-Remove-tornado-6-test-constraint.-Ref-15.patch deleted file mode 100644 index 174f088e9e..0000000000 --- a/meta-python/recipes-devtools/python/python3-aspectlib/0001-Remove-tornado-6-test-constraint.-Ref-15.patch +++ /dev/null | |||
@@ -1,45 +0,0 @@ | |||
1 | From d3ae6ac951cc5bbce29b9c987741e0a557c9b777 Mon Sep 17 00:00:00 2001 | ||
2 | From: =?UTF-8?q?Ionel=20Cristian=20M=C4=83rie=C8=99?= <contact@ionelmc.ro> | ||
3 | Date: Sun, 2 May 2021 09:50:43 +0300 | ||
4 | Subject: [PATCH] Remove tornado<6 test constraint. Ref #15. | ||
5 | |||
6 | Upstream-Status: Backport [https://github.com/ionelmc/python-aspectlib/commit/7dccb198dfb426f529b81a28a755f3c02f8b50cb] | ||
7 | Signed-off-by: Khem Raj <raj.khem@gmail.com> | ||
8 | --- | ||
9 | tests/test_integrations_py3.py | 5 ++++- | ||
10 | tox.ini | 3 ++- | ||
11 | 2 files changed, 6 insertions(+), 2 deletions(-) | ||
12 | |||
13 | diff --git a/tests/test_integrations_py3.py b/tests/test_integrations_py3.py | ||
14 | index e025eac..596589d 100644 | ||
15 | --- a/tests/test_integrations_py3.py | ||
16 | +++ b/tests/test_integrations_py3.py | ||
17 | @@ -36,7 +36,10 @@ def test_decorate_tornado_coroutine(): | ||
18 | @gen.coroutine | ||
19 | @debug.log(print_to=buf, module=False, stacktrace=2, result_repr=repr) | ||
20 | def coro(): | ||
21 | - yield gen.Task(loop.add_timeout, timedelta(microseconds=10)) | ||
22 | + if hasattr(gen, 'Task'): | ||
23 | + yield gen.Task(loop.add_timeout, timedelta(microseconds=10)) | ||
24 | + else: | ||
25 | + yield gen.sleep(0.01) | ||
26 | return "result" | ||
27 | |||
28 | loop = ioloop.IOLoop.current() | ||
29 | diff --git a/tox.ini b/tox.ini | ||
30 | index 8c607de..08c31b3 100644 | ||
31 | --- a/tox.ini | ||
32 | +++ b/tox.ini | ||
33 | @@ -55,7 +55,8 @@ deps = | ||
34 | pytest-clarity | ||
35 | pytest-cov | ||
36 | pytest-travis-fold | ||
37 | - tornado<6.0 | ||
38 | + six | ||
39 | + tornado | ||
40 | commands = | ||
41 | {posargs:pytest --cov --cov-report=term-missing -vv --ignore=src} | ||
42 | |||
43 | -- | ||
44 | 2.32.0 | ||
45 | |||