Update to 6.3.2
This commit is contained in:
parent
126d60ba18
commit
105264910b
@ -1,33 +0,0 @@
|
||||
From 802196bddbc83ed2723f819decc91f6628b65f2c Mon Sep 17 00:00:00 2001
|
||||
From: Ben Darnell <ben@bendarnell.com>
|
||||
Date: Sat, 26 Nov 2022 22:29:59 -0500
|
||||
Subject: [PATCH] test: Skip undecorated coroutine test in py312
|
||||
|
||||
The standard library now has its own check for this, rendering ours redundant
|
||||
(and breaking our test)
|
||||
---
|
||||
tornado/test/testing_test.py | 4 ++++
|
||||
1 file changed, 4 insertions(+)
|
||||
|
||||
diff --git a/tornado/test/testing_test.py b/tornado/test/testing_test.py
|
||||
index d75079bd4a..ef47e97c2b 100644
|
||||
--- a/tornado/test/testing_test.py
|
||||
+++ b/tornado/test/testing_test.py
|
||||
@@ -10,6 +10,7 @@
|
||||
import gc
|
||||
import os
|
||||
import platform
|
||||
+import sys
|
||||
import traceback
|
||||
import unittest
|
||||
import warnings
|
||||
@@ -134,6 +135,9 @@ def test_gen(self):
|
||||
platform.python_implementation() == "PyPy",
|
||||
"pypy destructor warnings cannot be silenced",
|
||||
)
|
||||
+ @unittest.skipIf(
|
||||
+ sys.version_info >= (3, 12), "py312 has its own check for test case returns"
|
||||
+ )
|
||||
def test_undecorated_coroutine(self):
|
||||
class Test(AsyncTestCase):
|
||||
async def test_coro(self):
|
@ -10,8 +10,8 @@ handle thousands of simultaneous standing connections, which means it is
|
||||
ideal for real-time web services.}
|
||||
|
||||
Name: python-%{srcname}
|
||||
Version: 6.2.0
|
||||
Release: 4%{?dist}
|
||||
Version: 6.3.2
|
||||
Release: 1%{?dist}
|
||||
Summary: Scalable, non-blocking web server and tools
|
||||
|
||||
License: Apache-2.0
|
||||
@ -22,9 +22,6 @@ Source0: https://github.com/tornadoweb/tornado/archive/v%{version}/%{srcn
|
||||
# fixes FTBFS with Python 3.8
|
||||
Patch1: Do-not-turn-DeprecationWarning-into-Exception.patch
|
||||
|
||||
# Skip undecorated coroutine test in py312
|
||||
Patch: https://github.com/tornadoweb/tornado/commit/802196b.patch
|
||||
|
||||
BuildRequires: gcc
|
||||
BuildRequires: python3-devel
|
||||
|
||||
@ -69,6 +66,9 @@ export TRAVIS=true
|
||||
%doc demos
|
||||
|
||||
%changelog
|
||||
* Tue May 16 2023 Orion Poplawski <orion@nwra.com> - 6.3.2-1
|
||||
- Update to 6.3.2
|
||||
|
||||
* Wed Mar 08 2023 Gwyn Ciesla <gwync@protonmail.com> - 6.2.0-4
|
||||
- migrated to SPDX license
|
||||
|
||||
|
2
sources
2
sources
@ -1 +1 @@
|
||||
SHA512 (tornado-6.2.0.tar.gz) = b8f98b76198f21bb3a13f44e8698397d7906a415e75621550dfeea8ae3a7e9405f5e314136a93b6714455062501051c145dfd32c71b433715fc8ed591fcb882b
|
||||
SHA512 (tornado-6.3.2.tar.gz) = dc0ad9b4c0b5597970fd43a577bb9a0883523125cf4e9780f9338431aab1014cb6fc0dda4f3deb3050df657b5acf277cc146ec2195b91154299109ff07482a5c
|
||||
|
Loading…
Reference in New Issue
Block a user