Compare commits

...

113 Commits

Author SHA1 Message Date
Gwyn Ciesla f68b1fcc04 6.3.3 2023-08-11 13:24:42 -05:00
Fedora Release Engineering 9983158cfc Rebuilt for https://fedoraproject.org/wiki/Fedora_39_Mass_Rebuild
Signed-off-by: Fedora Release Engineering <releng@fedoraproject.org>
2023-07-21 14:52:17 +00:00
Orion Poplawski 4df0c0cd51 Add upstream patch for Python 3.12 support 2023-06-21 21:10:21 -06:00
Python Maint 2a27d59c2d Rebuilt for Python 3.12 2023-06-13 20:55:49 +02:00
Yaakov Selkowitz 8f88727f80 Avoid tox dependency
tox is unwanted in RHEL, but it does not provide sufficient value to
make it conditional.
2023-05-23 18:24:32 -04:00
Orion Poplawski 105264910b Update to 6.3.2 2023-05-15 18:16:03 -06:00
Tomáš Hrnčiar 126d60ba18 Backport patch to make package build with Python 3.12 2023-04-03 13:08:12 +02:00
Gwyn Ciesla 2e53924a0f migrated to SPDX license 2023-03-08 14:56:58 -06:00
Fedora Release Engineering 856f05dc89 Rebuilt for https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild
Signed-off-by: Fedora Release Engineering <releng@fedoraproject.org>
2023-01-20 17:59:23 +00:00
Fedora Release Engineering 20ec489c7f Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild
Signed-off-by: Fedora Release Engineering <releng@fedoraproject.org>
2022-07-22 23:00:58 +00:00
Carl George d5c50fafe0 Version 6.2.0
- Latest upstream, resolves rhbz#1883858
2022-07-07 22:20:12 -05:00
Python Maint 39c13ca3e9 Rebuilt for Python 3.11 2022-06-13 20:21:41 +02:00
Carl George 4f6203ae78 Convert to pyproject macros 2022-02-11 22:46:30 -06:00
Fedora Release Engineering 5f893c890d - Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild
Signed-off-by: Fedora Release Engineering <releng@fedoraproject.org>
2022-01-21 16:06:06 +00:00
Fedora Release Engineering 4d9ff1a0aa - Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild
Signed-off-by: Fedora Release Engineering <releng@fedoraproject.org>
2021-07-23 10:00:31 +00:00
Python Maint b56bb513aa Rebuilt for Python 3.10 2021-06-03 04:05:43 +02:00
Fedora Release Engineering a90a391e53 - Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild
Signed-off-by: Fedora Release Engineering <releng@fedoraproject.org>
2021-01-27 13:53:10 +00:00
Fabian Affolter 67d36b94f4 * Tue Nov 03 2020 Fabian Affolter <mail@fabian-affolter.ch> -6.1.0-1
- Update to latest upstream release 6.1.0 (#1883858)
2020-11-03 09:18:47 +01:00
Fabian Affolter dab5687dce
UPdate patch 2020-09-14 09:26:18 +02:00
Fabian Affolter c7e0b2e620
Comment out the patch 2020-09-14 08:35:01 +02:00
Fabian Affolter 7cf28eba1f
* Sun Sep 13 2020 Fabian Affolter <mail@fabian-affolter.ch> - 6.0.4-1
- Update to latest upstream release 6.0.3 (rhbz#1809858)
2020-09-13 20:07:16 +02:00
Fedora Release Engineering 43097e61e8 - Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild
Signed-off-by: Fedora Release Engineering <releng@fedoraproject.org>
2020-07-29 04:20:24 +00:00
Miro Hrončok fb7941093d Rebuilt for Python 3.9 2020-05-23 02:47:01 +02:00
Peter Robinson b300b8bf0c update gitignore 2020-02-24 21:13:17 +00:00
Peter Robinson 11c3bd41a3 6.0.3 2020-02-24 21:12:24 +00:00
Fedora Release Engineering e188b47088 - Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild
Signed-off-by: Fedora Release Engineering <releng@fedoraproject.org>
2020-01-30 15:49:52 +00:00
Miro Hrončok e28405d3cc Rebuilt for Python 3.8.0rc1 (#1748018) 2019-10-03 14:33:45 +02:00
Miro Hrončok 78d6b65bcd Rebuilt for Python 3.8 2019-08-16 00:24:42 +02:00
Fedora Release Engineering 23c6cd7085 - Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild
Signed-off-by: Fedora Release Engineering <releng@fedoraproject.org>
2019-07-26 16:44:43 +00:00
Miro Hrončok f092b7ce73 Python 3.8.0b1 support
https://github.com/tornadoweb/tornado/pull/2681
2019-06-19 23:50:52 +02:00
Miro Hrončok 86d1ca893a Update to 6.0.2 (#1600318) 2019-06-03 12:21:38 +02:00
Lumir Balhar 246d60ba41 New patch to not turn DeprecationWarning in tornado module into Exception 2019-05-16 15:27:45 +02:00
Miro Hrončok 66739ac22e Increase the timeout for async tests, some builders are slow 2019-03-27 13:46:46 +01:00
Miro Hrončok aca7779232 Update to 5.1.1, fix SyntaxWarnings
Fixes https://bugzilla.redhat.com/show_bug.cgi?id=1693029
2019-03-27 10:55:19 +01:00
Fedora Release Engineering cb7bfb8f23 - Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild
Signed-off-by: Fedora Release Engineering <releng@fedoraproject.org>
2019-02-02 09:43:56 +00:00
Igor Gnatenko 38685e9524 Remove obsolete Group tag
References: https://fedoraproject.org/wiki/Changes/Remove_Group_Tag
2019-01-28 20:24:43 +01:00
Fedora Release Engineering ba8947d30b - Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild
Signed-off-by: Fedora Release Engineering <releng@fedoraproject.org>
2018-07-14 02:23:17 +00:00
Miro Hrončok 0adf11ea14 Rebuilt for Python 3.7 2018-06-15 19:05:10 +02:00
Miro Hrončok 1d177ee71d Require python2-futures 2018-05-19 11:10:37 +02:00
Charalampos Stratakis 96baf859ca Update to 5.0.2
Add python2-futures as BuildRequires.

Fix deprecation warnings when using unittest2.

Add the license file within the resulting rpms.
2018-05-18 15:48:24 +02:00
Lumir Balhar 8c53cb110b New Python 2 conditionals, remove Python 3 conditionals
Co-authored-by: Miro Hrončok <miro@hroncok.cz>
2018-04-27 22:35:08 +02:00
Miro Hrončok ff409a5a03 Add BR gcc 2018-02-20 16:14:39 +01:00
Iryna Shcherbina 8573ba2f1d Update Python 2 dependency declarations to new packaging standards 2018-02-12 07:12:46 +01:00
Fedora Release Engineering fc3aafbbd9 - Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
Signed-off-by: Fedora Release Engineering <releng@fedoraproject.org>
2018-02-09 11:18:30 +00:00
Charalampos Stratakis 5f78fa67a6 Correctly bump release 2017-11-07 16:01:47 +01:00
Charalampos Stratakis 7c03124c69 Fix dist tag and bump release for rebuild 2017-11-07 15:48:01 +01:00
Charalampos Stratakis 3640473bc3 Update to 4.5.2 2017-11-07 11:58:05 +01:00
Troy Dawson 71e059228d Cleanup spec file conditionals 2017-09-29 12:41:18 -07:00
Fedora Release Engineering d049746654 - Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Binutils_Mass_Rebuild 2017-08-03 07:01:44 +00:00
Fedora Release Engineering 07e097da70 - Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild 2017-07-27 12:03:52 +00:00
Orion Poplawski 81a38a3e98 Update to 4.5.1 2017-04-20 21:34:05 -06:00
Orion Poplawski 6fb138a9ba Update to 4.5 2017-04-17 11:23:03 -06:00
Fedora Release Engineering cd171a6fa1 - Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild 2017-02-11 10:42:53 +00:00
Charalampos Stratakis 96b84e674c Add patch to the sources 2016-12-13 01:52:40 +01:00
Charalampos Stratakis c5f21213eb Rebuild for Python 3.6
Added upstream patch to fix Python 3.6 test failures
2016-12-13 01:49:43 +01:00
Orion Poplawski f9dc3cbdd8 Update to 4.4.2 2016-10-02 19:57:15 -06:00
Orion Poplawski ffb114a0ba Add upstream patch to run tests from project dir 2016-09-16 10:03:50 -06:00
Orion Poplawski 2c594f80c5 Update to 4.4.1
Drop requires patch, fixed upstream
2016-09-15 22:07:58 -06:00
Orion Poplawski 3946c32701 Remove backports.ssl_match_hostname from python2-tornado egg requires (bug #1372887) 2016-09-15 21:52:58 -06:00
Orion Poplawski 3d0fa84cb7 Remove certifi from python2-tornado egg requires (bug #1372886) 2016-09-15 21:26:17 -06:00
Fedora Release Engineering 7483ebcdf3 - https://fedoraproject.org/wiki/Changes/Automatic_Provides_for_Python_RPM_Packages 2016-07-19 11:52:29 +00:00
Orion Poplawski 3dbd28d26b Properly build python2-tornado 2016-02-22 20:41:45 -07:00
Orion Poplawski b73c22e223 Need to BR python2-singledispatch for tests 2016-02-18 15:34:32 -07:00
Orion Poplawski bc0d82e5e0 Update to 4.3
- Drop upstream patches
2016-02-18 14:10:10 -07:00
Fedora Release Engineering 0c3760ccca - Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild 2016-02-04 21:09:59 +00:00
Orion Poplawski 21be53113e Build python2 packages, drop separate python3 doc package 2015-11-10 16:19:42 -07:00
Orion Poplawski 4b0e3d9ac4 Fix changelog date 2015-11-10 16:01:03 -07:00
Robert Kuska a9537d716c Rebuilt for Python3.5 rebuild
Add patch to use getfullargspec on python3
Add patch to fix failing tests on python3.5
2015-10-14 14:54:21 +02:00
Orion Poplawski b29ffdb10c Update to 4.2.1
- Modernize spec
2015-09-18 16:16:50 -06:00
Orion Poplawski 03ea7d97ab Do not require python-backports-ssl_match_hostname for F22+ (bug #1231368) 2015-07-10 11:44:30 -06:00
Dennis Gilmore f850bdc5fb - Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild 2015-06-18 21:04:16 +00:00
Orion Poplawski 574b9a7ec7 Add python-tornado-cert.patch 2015-03-02 19:28:39 -07:00
Orion Poplawski b70c575df1 Update to 4.1
- Modernize spec
2015-03-01 22:34:45 -07:00
Orion Poplawski 0fb3d09062 Drop requires python-simplejson 2014-12-05 11:41:59 -07:00
Peter Robinson 886a2851e6 - Rebuilt for https://fedoraproject.org/wiki/Fedora_21_22_Mass_Rebuild 2014-08-17 21:55:06 +00:00
Dennis Gilmore 3a232cde9c - Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild 2014-06-07 18:40:08 -05:00
Thomas Spura eb005968e3 remove defattr 2014-05-29 18:09:19 +02:00
Thomas Spura 5f3e8acab1 add __future__.division/print_function to testfile as 2to3 strips it off 2014-05-23 13:26:26 +02:00
Thomas Spura b53d76139f Fix other sitelib macros as the package is not noarch anymore 2014-05-23 10:00:13 +02:00
Thomas Spura 36999694a1 Fix macro in changelog 2014-05-22 23:06:23 +02:00
Thomas Spura 9f165ca564 update to no noarch 3.2.1 2014-05-22 23:06:23 +02:00
Slavek Kabrda cd77d6b48e Rebuilt for https://fedoraproject.org/wiki/Changes/Python_3.4 2014-05-15 15:58:24 +02:00
Dennis Gilmore b46fe17a7e - Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild 2013-08-04 05:13:46 -05:00
Thomas Spura 29929f52a4 remove rhel conditional for with_python3 2013-06-14 15:00:24 +02:00
Dennis Gilmore c5b2f6f5e3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild 2013-02-14 14:34:37 -06:00
David Malcolm 5a9bc02508 rebuild for https://fedoraproject.org/wiki/Features/Python_3.3 2012-08-04 06:09:41 -04:00
Dennis Gilmore b86eea196b - Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild 2012-07-21 05:14:42 -05:00
Thomas Spura 23acb832ae - update to upstream release 2.2.1 (fixes CVE-2012-2374)
- fix typo for epel6 macro bug #822972 (Florian La Roche)
2012-05-20 22:29:26 +02:00
Ionuț C. Arțăriși ac80694ee7 fix source file for 2.2 (was just an HTML redirect file) 2012-02-09 13:59:26 +01:00
Ionuț C. Arțăriși e5962f9020 new source for 2.2 2012-02-09 13:51:24 +01:00
Ionuț C. Arțăriși 59c6daad26 upgrade to upstream 2.2 release 2012-02-09 13:48:00 +01:00
Ionuț C. Arțăriși 7df18d86e2 remove unneeded python3-simplejson dependency 2012-02-09 13:21:34 +01:00
Ionuț C. Arțăriși 06cf7a24e8 build python3 package 2012-02-06 15:20:52 +01:00
Dennis Gilmore 10aeb907a4 - Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild 2012-01-13 20:12:54 -06:00
Ionuț Arțăriși 68a49a7aea disable running of unittests for el6 2011-11-09 11:37:26 +01:00
Ionuț Arțăriși 3b7a9d3e9a fixed build errors 2011-11-09 11:18:31 +01:00
Ionuț Arțăriși 48bc04ed68 new upstream version 2.1.1 2011-10-25 17:12:28 +02:00
Ionuț C. Arțăriși 1d01dc3e05 Merge branch 'master' into el6 2011-03-30 14:22:34 +02:00
Ionuț C. Arțăriși 899617290f updated to upstream 1.2.1 2011-03-29 14:50:00 +02:00
Dennis Gilmore 8c9e386371 - Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild 2011-02-09 00:49:40 -06:00
Ionuț C. Arțăriși ba94a7c8c9 Merge branch 'master' into el6
Conflicts:
	.gitignore
	python-tornado.spec
	sources
2010-09-09 00:17:18 +03:00
Ionuț C. Arțăriși c7e80894d3 new upstream release 1.1 2010-09-08 17:07:18 +03:00
Ionuț C. Arțăriși dd5c86bb63 - new version 1.0.1 2010-08-17 13:25:56 +03:00
Ionuț C. Arțăriși aae88f4fb3 - removed spurious permission fix which caused build to fail 2010-08-15 00:03:12 +03:00
Ionuț C. Arțăriși df4fae3bbd - uploaded 1.0.1 tarball 2010-08-14 23:56:33 +03:00
Ionuț C. Arțăriși bfb4d3f204 - updated to 1.0.1 2010-08-14 23:51:02 +03:00
Ionuț C. Arțăriși 8b49b477a9 - changed upstream source url 2010-08-04 11:48:14 +03:00
Ionuț C. Arțăriși b480663449 - new upstream release: 1.0 2010-08-04 10:00:23 +03:00
Fedora Release Engineering f20406386e dist-git conversion 2010-07-29 10:46:55 +00:00
Fedora Release Engineering 0c011e71e0 dist-git conversion 2010-07-29 10:46:55 +00:00
dmalcolm 0d26dac1f7 - Rebuilt for
https://fedoraproject.org/wiki/Features/Python_2.7/MassRebuild
2010-07-22 05:35:59 +00:00
Ionuț Arțăriși 034409009b - Initial import. 2009-11-02 13:53:49 +00:00
Kevin Fenzi 996dbffd20 Initialize branch F-12 for python-tornado 2009-10-31 23:57:12 +00:00
8 changed files with 731 additions and 84 deletions

View File

@ -1 +0,0 @@
tornado-0.2.tar.gz

1
.gitignore vendored Normal file
View File

@ -0,0 +1 @@
/tornado-*.tar.gz

View File

@ -0,0 +1,12 @@
diff --git a/tornado/test/runtests.py b/tornado/test/runtests.py
index 6075b1e..dc4fb89 100644
--- a/tornado/test/runtests.py
+++ b/tornado/test/runtests.py
@@ -123,7 +123,6 @@ def main():
# Tornado generally shouldn't use anything deprecated, but some of
# our dependencies do (last match wins).
warnings.filterwarnings("ignore", category=DeprecationWarning)
- warnings.filterwarnings("error", category=DeprecationWarning, module=r"tornado\..*")
warnings.filterwarnings("ignore", category=PendingDeprecationWarning)
warnings.filterwarnings(
"error", category=PendingDeprecationWarning, module=r"tornado\..*"

View File

@ -1,21 +0,0 @@
# Makefile for source rpm: python-tornado
# $Id$
NAME := python-tornado
SPECFILE = $(firstword $(wildcard *.spec))
define find-makefile-common
for d in common ../common ../../common ; do if [ -f $$d/Makefile.common ] ; then if [ -f $$d/CVS/Root -a -w $$d/Makefile.common ] ; then cd $$d ; cvs -Q update ; fi ; echo "$$d/Makefile.common" ; break ; fi ; done
endef
MAKEFILE_COMMON := $(shell $(find-makefile-common))
ifeq ($(MAKEFILE_COMMON),)
# attept a checkout
define checkout-makefile-common
test -f CVS/Root && { cvs -Q -d $$(cat CVS/Root) checkout common && echo "common/Makefile.common" ; } || { echo "ERROR: I can't figure out how to checkout the 'common' module." ; exit -1 ; } >&2
endef
MAKEFILE_COMMON := $(shell $(checkout-makefile-common))
endif
include $(MAKEFILE_COMMON)

View File

@ -1 +0,0 @@
python-tornado-0_2-3_fc11:HEAD:python-tornado-0.2-3.fc11.src.rpm:1257169031

View File

@ -0,0 +1,404 @@
diff --git a/requirements.txt b/requirements.txt
index 349db21..e96c870 100644
--- a/requirements.txt
+++ b/requirements.txt
@@ -12,7 +12,7 @@ black==22.12.0
# via -r requirements.in
build==0.10.0
# via pip-tools
-cachetools==5.2.1
+cachetools==5.3.1
# via tox
certifi==2022.12.7
# via requests
@@ -32,7 +32,7 @@ docutils==0.17.1
# via
# sphinx
# sphinx-rtd-theme
-filelock==3.9.0
+filelock==3.12.0
# via
# tox
# virtualenv
@@ -54,7 +54,7 @@ mypy-extensions==0.4.3
# via
# black
# mypy
-packaging==23.0
+packaging==23.1
# via
# build
# pyproject-api
@@ -64,7 +64,7 @@ pathspec==0.10.3
# via black
pip-tools==6.12.1
# via -r requirements.in
-platformdirs==2.6.2
+platformdirs==3.5.1
# via
# black
# tox
@@ -77,7 +77,7 @@ pyflakes==3.0.1
# via flake8
pygments==2.14.0
# via sphinx
-pyproject-api==1.5.0
+pyproject-api==1.5.1
# via tox
pyproject-hooks==1.0.0
# via build
@@ -115,7 +115,7 @@ tomli==2.0.1
# mypy
# pyproject-api
# tox
-tox==4.3.5
+tox==4.6.0
# via -r requirements.in
types-pycurl==7.45.2.0
# via -r requirements.in
@@ -123,7 +123,7 @@ typing-extensions==4.4.0
# via mypy
urllib3==1.26.14
# via requests
-virtualenv==20.17.1
+virtualenv==20.23.0
# via tox
wheel==0.38.4
# via pip-tools
diff --git a/tornado/httputil.py b/tornado/httputil.py
index 9c341d4..b21d804 100644
--- a/tornado/httputil.py
+++ b/tornado/httputil.py
@@ -856,7 +856,8 @@ def format_timestamp(
The argument may be a numeric timestamp as returned by `time.time`,
a time tuple as returned by `time.gmtime`, or a `datetime.datetime`
- object.
+ object. Naive `datetime.datetime` objects are assumed to represent
+ UTC; aware objects are converted to UTC before formatting.
>>> format_timestamp(1359312200)
'Sun, 27 Jan 2013 18:43:20 GMT'
diff --git a/tornado/locale.py b/tornado/locale.py
index 55072af..c552670 100644
--- a/tornado/locale.py
+++ b/tornado/locale.py
@@ -333,7 +333,7 @@ class Locale(object):
shorter: bool = False,
full_format: bool = False,
) -> str:
- """Formats the given date (which should be GMT).
+ """Formats the given date.
By default, we return a relative time (e.g., "2 minutes ago"). You
can return an absolute date string with ``relative=False``.
@@ -343,10 +343,16 @@ class Locale(object):
This method is primarily intended for dates in the past.
For dates in the future, we fall back to full format.
+
+ .. versionchanged:: 6.4
+ Aware `datetime.datetime` objects are now supported (naive
+ datetimes are still assumed to be UTC).
"""
if isinstance(date, (int, float)):
- date = datetime.datetime.utcfromtimestamp(date)
- now = datetime.datetime.utcnow()
+ date = datetime.datetime.fromtimestamp(date, datetime.timezone.utc)
+ if date.tzinfo is None:
+ date = date.replace(tzinfo=datetime.timezone.utc)
+ now = datetime.datetime.now(datetime.timezone.utc)
if date > now:
if relative and (date - now).seconds < 60:
# Due to click skew, things are some things slightly
diff --git a/tornado/test/httpclient_test.py b/tornado/test/httpclient_test.py
index a71ec0a..a41040e 100644
--- a/tornado/test/httpclient_test.py
+++ b/tornado/test/httpclient_test.py
@@ -28,7 +28,7 @@ from tornado.iostream import IOStream
from tornado.log import gen_log, app_log
from tornado import netutil
from tornado.testing import AsyncHTTPTestCase, bind_unused_port, gen_test, ExpectLog
-from tornado.test.util import skipOnTravis
+from tornado.test.util import skipOnTravis, ignore_deprecation
from tornado.web import Application, RequestHandler, url
from tornado.httputil import format_timestamp, HTTPHeaders
@@ -887,7 +887,15 @@ class HTTPRequestTestCase(unittest.TestCase):
self.assertEqual(request.body, utf8("foo"))
def test_if_modified_since(self):
- http_date = datetime.datetime.utcnow()
+ http_date = datetime.datetime.now(datetime.timezone.utc)
+ request = HTTPRequest("http://example.com", if_modified_since=http_date)
+ self.assertEqual(
+ request.headers, {"If-Modified-Since": format_timestamp(http_date)}
+ )
+
+ def test_if_modified_since_naive_deprecated(self):
+ with ignore_deprecation():
+ http_date = datetime.datetime.utcnow()
request = HTTPRequest("http://example.com", if_modified_since=http_date)
self.assertEqual(
request.headers, {"If-Modified-Since": format_timestamp(http_date)}
diff --git a/tornado/test/httputil_test.py b/tornado/test/httputil_test.py
index 8424491..aa9b6ee 100644
--- a/tornado/test/httputil_test.py
+++ b/tornado/test/httputil_test.py
@@ -13,6 +13,7 @@ from tornado.httputil import (
from tornado.escape import utf8, native_str
from tornado.log import gen_log
from tornado.testing import ExpectLog
+from tornado.test.util import ignore_deprecation
import copy
import datetime
@@ -412,8 +413,29 @@ class FormatTimestampTest(unittest.TestCase):
self.assertEqual(9, len(tup))
self.check(tup)
- def test_datetime(self):
- self.check(datetime.datetime.utcfromtimestamp(self.TIMESTAMP))
+ def test_utc_naive_datetime(self):
+ self.check(
+ datetime.datetime.fromtimestamp(
+ self.TIMESTAMP, datetime.timezone.utc
+ ).replace(tzinfo=None)
+ )
+
+ def test_utc_naive_datetime_deprecated(self):
+ with ignore_deprecation():
+ self.check(datetime.datetime.utcfromtimestamp(self.TIMESTAMP))
+
+ def test_utc_aware_datetime(self):
+ self.check(
+ datetime.datetime.fromtimestamp(self.TIMESTAMP, datetime.timezone.utc)
+ )
+
+ def test_other_aware_datetime(self):
+ # Other timezones are ignored; the timezone is always printed as GMT
+ self.check(
+ datetime.datetime.fromtimestamp(
+ self.TIMESTAMP, datetime.timezone(datetime.timedelta(hours=-4))
+ )
+ )
# HTTPServerRequest is mainly tested incidentally to the server itself,
diff --git a/tornado/test/locale_test.py b/tornado/test/locale_test.py
index ee74cb0..a2e0872 100644
--- a/tornado/test/locale_test.py
+++ b/tornado/test/locale_test.py
@@ -91,45 +91,55 @@ class EnglishTest(unittest.TestCase):
locale.format_date(date, full_format=True), "April 28, 2013 at 6:35 pm"
)
- now = datetime.datetime.utcnow()
-
- self.assertEqual(
- locale.format_date(now - datetime.timedelta(seconds=2), full_format=False),
- "2 seconds ago",
- )
- self.assertEqual(
- locale.format_date(now - datetime.timedelta(minutes=2), full_format=False),
- "2 minutes ago",
- )
- self.assertEqual(
- locale.format_date(now - datetime.timedelta(hours=2), full_format=False),
- "2 hours ago",
- )
-
- self.assertEqual(
- locale.format_date(
- now - datetime.timedelta(days=1), full_format=False, shorter=True
- ),
- "yesterday",
- )
-
- date = now - datetime.timedelta(days=2)
- self.assertEqual(
- locale.format_date(date, full_format=False, shorter=True),
- locale._weekdays[date.weekday()],
- )
-
- date = now - datetime.timedelta(days=300)
- self.assertEqual(
- locale.format_date(date, full_format=False, shorter=True),
- "%s %d" % (locale._months[date.month - 1], date.day),
- )
-
- date = now - datetime.timedelta(days=500)
- self.assertEqual(
- locale.format_date(date, full_format=False, shorter=True),
- "%s %d, %d" % (locale._months[date.month - 1], date.day, date.year),
- )
+ aware_dt = datetime.datetime.now(datetime.timezone.utc)
+ naive_dt = aware_dt.replace(tzinfo=None)
+ for name, now in {"aware": aware_dt, "naive": naive_dt}.items():
+ with self.subTest(dt=name):
+ self.assertEqual(
+ locale.format_date(
+ now - datetime.timedelta(seconds=2), full_format=False
+ ),
+ "2 seconds ago",
+ )
+ self.assertEqual(
+ locale.format_date(
+ now - datetime.timedelta(minutes=2), full_format=False
+ ),
+ "2 minutes ago",
+ )
+ self.assertEqual(
+ locale.format_date(
+ now - datetime.timedelta(hours=2), full_format=False
+ ),
+ "2 hours ago",
+ )
+
+ self.assertEqual(
+ locale.format_date(
+ now - datetime.timedelta(days=1),
+ full_format=False,
+ shorter=True,
+ ),
+ "yesterday",
+ )
+
+ date = now - datetime.timedelta(days=2)
+ self.assertEqual(
+ locale.format_date(date, full_format=False, shorter=True),
+ locale._weekdays[date.weekday()],
+ )
+
+ date = now - datetime.timedelta(days=300)
+ self.assertEqual(
+ locale.format_date(date, full_format=False, shorter=True),
+ "%s %d" % (locale._months[date.month - 1], date.day),
+ )
+
+ date = now - datetime.timedelta(days=500)
+ self.assertEqual(
+ locale.format_date(date, full_format=False, shorter=True),
+ "%s %d, %d" % (locale._months[date.month - 1], date.day, date.year),
+ )
def test_friendly_number(self):
locale = tornado.locale.get("en_US")
diff --git a/tornado/test/web_test.py b/tornado/test/web_test.py
index c2d057c..a9bce04 100644
--- a/tornado/test/web_test.py
+++ b/tornado/test/web_test.py
@@ -404,10 +404,10 @@ class CookieTest(WebTestCase):
match = re.match("foo=bar; expires=(?P<expires>.+); Path=/", header)
assert match is not None
- expires = datetime.datetime.utcnow() + datetime.timedelta(days=10)
- parsed = email.utils.parsedate(match.groupdict()["expires"])
- assert parsed is not None
- header_expires = datetime.datetime(*parsed[:6])
+ expires = datetime.datetime.now(datetime.timezone.utc) + datetime.timedelta(
+ days=10
+ )
+ header_expires = email.utils.parsedate_to_datetime(match.groupdict()["expires"])
self.assertTrue(abs((expires - header_expires).total_seconds()) < 10)
def test_set_cookie_false_flags(self):
@@ -1697,11 +1697,10 @@ class DateHeaderTest(SimpleHandlerTestCase):
def test_date_header(self):
response = self.fetch("/")
- parsed = email.utils.parsedate(response.headers["Date"])
- assert parsed is not None
- header_date = datetime.datetime(*parsed[:6])
+ header_date = email.utils.parsedate_to_datetime(response.headers["Date"])
self.assertTrue(
- header_date - datetime.datetime.utcnow() < datetime.timedelta(seconds=2)
+ header_date - datetime.datetime.now(datetime.timezone.utc)
+ < datetime.timedelta(seconds=2)
)
@@ -3010,10 +3009,12 @@ class XSRFCookieKwargsTest(SimpleHandlerTestCase):
match = re.match(".*; expires=(?P<expires>.+);.*", header)
assert match is not None
- expires = datetime.datetime.utcnow() + datetime.timedelta(days=2)
- parsed = email.utils.parsedate(match.groupdict()["expires"])
- assert parsed is not None
- header_expires = datetime.datetime(*parsed[:6])
+ expires = datetime.datetime.now(datetime.timezone.utc) + datetime.timedelta(
+ days=2
+ )
+ header_expires = email.utils.parsedate_to_datetime(match.groupdict()["expires"])
+ if header_expires.tzinfo is None:
+ header_expires = header_expires.replace(tzinfo=datetime.timezone.utc)
self.assertTrue(abs((expires - header_expires).total_seconds()) < 10)
diff --git a/tornado/web.py b/tornado/web.py
index 5651404..439e02c 100644
--- a/tornado/web.py
+++ b/tornado/web.py
@@ -647,7 +647,9 @@ class RequestHandler(object):
if domain:
morsel["domain"] = domain
if expires_days is not None and not expires:
- expires = datetime.datetime.utcnow() + datetime.timedelta(days=expires_days)
+ expires = datetime.datetime.now(datetime.timezone.utc) + datetime.timedelta(
+ days=expires_days
+ )
if expires:
morsel["expires"] = httputil.format_timestamp(expires)
if path:
@@ -698,7 +700,9 @@ class RequestHandler(object):
raise TypeError(
f"clear_cookie() got an unexpected keyword argument '{excluded_arg}'"
)
- expires = datetime.datetime.utcnow() - datetime.timedelta(days=365)
+ expires = datetime.datetime.now(datetime.timezone.utc) - datetime.timedelta(
+ days=365
+ )
self.set_cookie(name, value="", expires=expires, **kwargs)
def clear_all_cookies(self, **kwargs: Any) -> None:
@@ -2812,12 +2816,12 @@ class StaticFileHandler(RequestHandler):
# content has not been modified
ims_value = self.request.headers.get("If-Modified-Since")
if ims_value is not None:
- date_tuple = email.utils.parsedate(ims_value)
- if date_tuple is not None:
- if_since = datetime.datetime(*date_tuple[:6])
- assert self.modified is not None
- if if_since >= self.modified:
- return True
+ if_since = email.utils.parsedate_to_datetime(ims_value)
+ if if_since.tzinfo is None:
+ if_since = if_since.replace(tzinfo=datetime.timezone.utc)
+ assert self.modified is not None
+ if if_since >= self.modified:
+ return True
return False
@@ -2981,6 +2985,10 @@ class StaticFileHandler(RequestHandler):
object or None.
.. versionadded:: 3.1
+
+ .. versionchanged:: 6.4
+ Now returns an aware datetime object instead of a naive one.
+ Subclasses that override this method may return either kind.
"""
stat_result = self._stat()
# NOTE: Historically, this used stat_result[stat.ST_MTIME],
@@ -2991,7 +2999,9 @@ class StaticFileHandler(RequestHandler):
# consistency with the past (and because we have a unit test
# that relies on this), we truncate the float here, although
# I'm not sure that's the right thing to do.
- modified = datetime.datetime.utcfromtimestamp(int(stat_result.st_mtime))
+ modified = datetime.datetime.fromtimestamp(
+ int(stat_result.st_mtime), datetime.timezone.utc
+ )
return modified
def get_content_type(self) -> str:

View File

@ -1,86 +1,339 @@
%{!?python_sitelib: %global python_sitelib %(%{__python} -c "from distutils.sysconfig import get_python_lib; print get_python_lib()")}
%global pkgname tornado
%global srcname tornado
%global common_description %{expand:
Tornado is an open source version of the scalable, non-blocking web
server and tools.
Name: python-%{pkgname}
Version: 0.2
Release: 3%{?dist}
The framework is distinct from most mainstream web server frameworks
(and certainly most Python frameworks) because it is non-blocking and
reasonably fast. Because it is non-blocking and uses epoll, it can
handle thousands of simultaneous standing connections, which means it is
ideal for real-time web services.}
Name: python-%{srcname}
Version: 6.3.3
Release: 1%{?dist}
Summary: Scalable, non-blocking web server and tools
Group: Development/Libraries
License: ASL 2.0
URL: http://www.tornadoweb.org
Source0: http://www.tornadoweb.org/static/%{pkgname}-%{version}.tar.gz
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
BuildArch: noarch
License: Apache-2.0
URL: https://www.tornadoweb.org
Source0: https://github.com/tornadoweb/tornado/archive/v%{version}/%{srcname}-%{version}.tar.gz
BuildRequires: python-devel
Requires: python-pycurl
Requires: python-simplejson
# Do not turn DeprecationWarning in tornado module into Exception
# fixes FTBFS with Python 3.8
Patch1: Do-not-turn-DeprecationWarning-into-Exception.patch
# Fixes for Python 3.12 - rebased
# https://github.com/tornadoweb/tornado/pull/3288
Patch2: python-tornado-Python-3.12.patch
%description
Tornado is an open source version of the scalable, non-blocking web server and
and tools.
BuildRequires: gcc
BuildRequires: python3-devel
The framework is distinct from most mainstream web server frameworks (and
certainly most Python frameworks) because it is non-blocking and reasonably
fast. Because it is non-blocking and uses epoll, it can handle thousands of
simultaneous standing connections, which means it is ideal for real-time web
services.
%description %{common_description}
%package -n python3-%{srcname}
Summary: %{summary}
%description -n python3-%{srcname} %{common_description}
%package doc
Summary: Examples for python-tornado
Group: Documentation
Requires: python-tornado = %{version}-%{release}
Summary: Examples for %{name}
%description doc
Tornado is an open source version of the scalable, non-blocking web server and
and tools. This package contains some example applications.
%description doc %{common_description}
%prep
%setup -q -n %{pkgname}-%{version}
This package contains some example applications.
# remove shebang from files
for File in `find %{pkgname} -name "*py"`; do
%{__sed} -i.orig -e 1d ${File}
touch -r ${File}.orig ${File}
%{__rm} ${File}.orig
done
%prep
%autosetup -p1 -n %{srcname}-%{version}
# spurious permission fix
%{__chmod} -x demos/*/*py
%{__chmod} -x demos/*/*/*py
%{__chmod} -x demos/*/*/*/*py
# remove empty file
rm -rf demos/facebook/static/facebook.js
%generate_buildrequires
%pyproject_buildrequires
%build
python setup.py build
%pyproject_wheel
%install
rm -rf %{buildroot}
%pyproject_install
%pyproject_save_files %{srcname}
PATH=$PATH:%{buildroot}%{python_sitelib}/%{pkgname}
python setup.py install --root=%{buildroot}
%check
# Skip the same timing-related tests that upstream skips when run in Travis CI.
# https://github.com/tornadoweb/tornado/commit/abc5780a06a1edd0177a399a4dd4f39497cb0c57
export TRAVIS=true
%{py3_test_envvars} %{python3} -m tornado.test
%clean
rm -rf %{buildroot}
%files
%defattr(-,root,root,-)
%doc README PKG-INFO
%{python_sitelib}/%{pkgname}/
%{python_sitelib}/%{pkgname}-%{version}-*.egg-info
%files -n python3-%{srcname} -f %{pyproject_files}
%doc README.rst
%files doc
%defattr(-,root,root,-)
%license LICENSE
%doc demos
%changelog
* Fri Aug 11 2023 Gwyn Ciesla <gwync@protonmail.com> - 6.3.3-1
- 6.3.3
* Fri Jul 21 2023 Fedora Release Engineering <releng@fedoraproject.org> - 6.3.2-5
- Rebuilt for https://fedoraproject.org/wiki/Fedora_39_Mass_Rebuild
* Thu Jun 22 2023 Orion Poplawski <orion@nwra.com> - 6.3.2-4
- Add upstream patch for Python 3.12 support
* Tue Jun 13 2023 Python Maint <python-maint@redhat.com> - 6.3.2-3
- Rebuilt for Python 3.12
* Tue May 23 2023 Yaakov Selkowitz <yselkowi@redhat.com> - 6.3.2-2
- Avoid tox dependency
* 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
* Fri Jan 20 2023 Fedora Release Engineering <releng@fedoraproject.org> - 6.2.0-3
- Rebuilt for https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild
* Fri Jul 22 2022 Fedora Release Engineering <releng@fedoraproject.org> - 6.2.0-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild
* Thu Jul 07 2022 Carl George <carl@george.computer> - 6.2.0-1
- Latest upstream, resolves rhbz#1883858
* Mon Jun 13 2022 Python Maint <python-maint@redhat.com> - 6.1.0-7
- Rebuilt for Python 3.11
* Tue Feb 08 2022 Carl George <carl@george.computer> - 6.1.0-6
- Convert to pyproject macros
* Fri Jan 21 2022 Fedora Release Engineering <releng@fedoraproject.org> - 6.1.0-5
- Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild
* Fri Jul 23 2021 Fedora Release Engineering <releng@fedoraproject.org> - 6.1.0-4
- Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild
* Thu Jun 03 2021 Python Maint <python-maint@redhat.com> - 6.1.0-3
- Rebuilt for Python 3.10
* Wed Jan 27 2021 Fedora Release Engineering <releng@fedoraproject.org> - 6.1.0-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild
* Tue Nov 03 2020 Fabian Affolter <mail@fabian-affolter.ch> -6.1.0-1
- Update to latest upstream release 6.1.0 (#1883858)
* Sun Sep 13 2020 Fabian Affolter <mail@fabian-affolter.ch> - 6.0.4-1
- Update to latest upstream release 6.0.3 (#1809858)
* Wed Jul 29 2020 Fedora Release Engineering <releng@fedoraproject.org> - 6.0.3-3
- Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild
* Sat May 23 2020 Miro Hrončok <mhroncok@redhat.com> - 6.0.3-2
- Rebuilt for Python 3.9
* Mon Feb 24 2020 Peter Robinson <pbrobinson@fedoraproject.org> - 6.0.3-1
- Update to 6.0.3
* Thu Jan 30 2020 Fedora Release Engineering <releng@fedoraproject.org> - 6.0.2-5
- Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild
* Thu Oct 03 2019 Miro Hrončok <mhroncok@redhat.com> - 6.0.2-4
- Rebuilt for Python 3.8.0rc1 (#1748018)
* Thu Aug 15 2019 Miro Hrončok <mhroncok@redhat.com> - 6.0.2-3
- Rebuilt for Python 3.8
* Fri Jul 26 2019 Fedora Release Engineering <releng@fedoraproject.org> - 6.0.2-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild
* Mon Jun 03 2019 Miro Hrončok <mhroncok@redhat.com> - 6.0.2-1
- Update to 6.0.2 (#1600318)
* Thu May 16 2019 Lumír Balhar <lbalhar@redhat.com> - 5.1.1-2
- New patch to not turn DeprecationWarning in tornado module into Exception
- Fixes FTBFS with Python 3.8
* Wed Mar 27 2019 Miro Hrončok <mhroncok@redhat.com> - 5.1.1-1
- Update to 5.1.1
- Fix SyntaxWarnings (turned into SyntaxErrors) on Python 3.8
* Sat Feb 02 2019 Fedora Release Engineering <releng@fedoraproject.org> - 5.0.2-5
- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild
* Sat Jul 14 2018 Fedora Release Engineering <releng@fedoraproject.org> - 5.0.2-4
- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild
* Fri Jun 15 2018 Miro Hrončok <mhroncok@redhat.com> - 5.0.2-3
- Rebuilt for Python 3.7
* Sat May 19 2018 Miro Hrončok <mhroncok@redhat.com> - 5.0.2-2
- Require python2-futures
* Fri May 18 2018 Charalampos Stratakis <cstratak@redhat.com> - 5.0.2-1
- Update to 5.0.2
* Thu Apr 26 2018 Lumír Balhar <lbalhar@redhat.com> - 4.5.2-5
- New conditionals for Python 2
- Drop Python 3 conditional
* Mon Feb 12 2018 Iryna Shcherbina <ishcherb@redhat.com> - 4.5.2-4
- Update Python 2 dependency declarations to new packaging standards
(See https://fedoraproject.org/wiki/FinalizingFedoraSwitchtoPython3)
* Fri Feb 09 2018 Fedora Release Engineering <releng@fedoraproject.org> - 4.5.2-3
- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
* Tue Nov 07 2017 Charalampos Stratakis <cstratak@redhat.com> - 4.5.2-2
- Fix dist tag and bump release for rebuild
* Tue Nov 07 2017 Charalampos Stratakis <cstratak@redhat.com> - 4.5.2-1
- Update to 4.5.2
* Fri Sep 29 2017 Troy Dawson <tdawson@redhat.com> - 4.5.1-4
- Cleanup spec file conditionals
* Thu Aug 03 2017 Fedora Release Engineering <releng@fedoraproject.org> - 4.5.1-3
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Binutils_Mass_Rebuild
* Thu Jul 27 2017 Fedora Release Engineering <releng@fedoraproject.org> - 4.5.1-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild
* Thu Apr 20 2017 Orion Poplawski <orion@cora.nwra.com> - 4.5.1-1
- Update to 4.5.1
* Mon Apr 17 2017 Orion Poplawski <orion@cora.nwra.com> - 4.5-1
- Update to 4.5
* Sat Feb 11 2017 Fedora Release Engineering <releng@fedoraproject.org> - 4.4.2-3
- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild
* Tue Dec 13 2016 Stratakis Charalampos <cstratak@redhat.com> - 4.4.2-2
- Rebuild for Python 3.6
- Added patch to fix Python 3.6 test failures
* Sun Oct 2 2016 Orion Poplawski <orion@cora.nwra.com> - 4.4.2-1
- Update to 4.4.2
* Thu Sep 15 2016 Orion Poplawski <orion@cora.nwra.com> - 4.4.1-1
- Update to 4.4.1
- Drop requires patch, fixed upstream
* Thu Sep 15 2016 Orion Poplawski <orion@cora.nwra.com> - 4.3-5
- Remove backports.ssl_match_hostname from python2-tornado egg requires (bug #1372887)
* Thu Sep 15 2016 Orion Poplawski <orion@cora.nwra.com> - 4.3-4
- Remove certifi from python2-tornado egg requires (bug #1372886)
* Tue Jul 19 2016 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 4.3-3
- https://fedoraproject.org/wiki/Changes/Automatic_Provides_for_Python_RPM_Packages
* Mon Feb 22 2016 Orion Poplawski <orion@cora.nwra.com> - 4.3-2
- Properly build python2-tornado
* Thu Feb 18 2016 Orion Poplawski <orion@cora.nwra.com> - 4.3-1
- Update to 4.3
- Drop upstream patches
* Thu Feb 04 2016 Fedora Release Engineering <releng@fedoraproject.org> - 4.2.1-4
- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild
* Tue Nov 10 2015 Orion Poplawski <orion@cora.nwra.com> - 4.2.1-3
- Build python2 packages, drop separate python3 doc package
* Wed Oct 14 2015 Robert Kuska <rkuska@redhat.com> - 4.2.1-2
- Rebuilt for Python3.5 rebuild
- Add patch to use getfullargspec on python3
- Add patch to fix failing tests with python3.5
* Fri Sep 18 2015 Orion Poplawski <orion@cora.nwra.com> - 4.2.1-1
- Update to 4.2.1
- Modernize spec
* Fri Jul 10 2015 Orion Poplawski <orion@cora.nwra.com> - 4.1-3
- Do not require python-backports-ssl_match_hostname for F22+ (bug #1231368)
* Thu Jun 18 2015 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 4.1-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild
* Sun Mar 1 2015 Orion Poplawski <orion@cora.nwra.com> - 4.1-1
- Update to 4.1
- Modernize spec
* Fri Dec 5 2014 Orion Poplawski <orion@cora.nwra.com> - 3.2.1-4
- Drop requires python-simplejson
* Sun Aug 17 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 3.2.1-3
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_22_Mass_Rebuild
* Sat Jun 07 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 3.2.1-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild
* Thu May 22 2014 Thomas Spura <tomspur@fedoraproject.org> - 3.2.1-1
- update to 3.2.1
- no noarch anymore
- remove defattr
* Wed May 14 2014 Bohuslav Kabrda <bkabrda@redhat.com> - 2.2.1-7
- Rebuilt for https://fedoraproject.org/wiki/Changes/Python_3.4
* Sun Aug 04 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.2.1-6
- Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild
* Fri Jun 14 2013 Thomas Spura <tomspur@fedoraproject.org> - 2.2.1-5
- remove rhel conditional for with_python3:
https://fedorahosted.org/fpc/ticket/200
* Thu Feb 14 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.2.1-4
- Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild
* Sat Aug 04 2012 David Malcolm <dmalcolm@redhat.com> - 2.2.1-3
- rebuild for https://fedoraproject.org/wiki/Features/Python_3.3
* Sat Jul 21 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.2.1-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild
* Sun May 20 2012 Thomas Spura <tomspur@fedoraproject.org> - 2.2.1-1
- update to upstream release 2.2.1 (fixes CVE-2012-2374)
- fix typo for epel6 macro bug #822972 (Florian La Roche)
* Thu Feb 9 2012 Ionuț C. Arțăriși <mapleoin@fedoraproject.org> - 2.2-1
- upgrade to upstream release 2.2
* Thu Feb 9 2012 Ionuț C. Arțăriși <mapleoin@fedoraproject.org> - 2.1.1-4
- remove python3-simplejson dependency
* Fri Jan 27 2012 Thomas Spura <tomspur@fedoraproject.org> - 2.1.1-3
- build python3 package
* Sat Jan 14 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.1.1-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild
* Tue Oct 25 2011 Ionuț C. Arțăriși <mapleoin@fedoraproject.org> - 2.1.1-1
- new upstream version 2.1.1
- remove double word in description and rearrange it (#715272)
- fixed removal of shebangs
- added %%check section to run unittests during package build
* Tue Mar 29 2011 Ionuț C. Arțăriși <mapleoin@fedoraproject.org> - 1.2.1-1
- new upstream version 1.2.1
* Wed Feb 09 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.1-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild
* Wed Sep 8 2010 Ionuț C. Arțăriși <mapleoin@fedoraproject.org> - 1.1-1
- new upstream release 1.1
* Tue Aug 17 2010 Ionuț Arțăriși <mapleoin@fedoraproject.org> - 1.0.1-1
- new upstream bugfix release: 1.0.1
* Wed Aug 4 2010 Ionuț C. Arțăriși <mapleoin@fedoraproject.org> - 1.0-2
- changed upstream source url
* Wed Aug 4 2010 Ionuț C. Arțăriși <mapleoin@fedoraproject.org> - 1.0-1
- new upstream release 1.0
- there's no longer a problem with spurious permissions, so remove that fix
* Thu Jul 22 2010 David Malcolm <dmalcolm@redhat.com> - 0.2-4
- Rebuilt for https://fedoraproject.org/wiki/Features/Python_2.7/MassRebuild
* Wed Oct 21 2009 Ionuț Arțăriși <mapleoin@fedoraproject.org> - 0.2-3
- changed -doc package group to Documentation
- use global instead of define

View File

@ -1 +1 @@
4704cbf8baab2562c1e648c76de87b60 tornado-0.2.tar.gz
SHA512 (tornado-6.3.3.tar.gz) = d4813de111139da2f5bd390bdd8d456797a48ba2ebe730946aabd66d9269ce4425d9b70ce62aa443ea5590d667b9056766841d99dcb0f383b2c9acd409474c8d