]>
git.ipfire.org Git - thirdparty/tornado.git/log
Ben Darnell [Fri, 20 Jan 2023 19:20:34 +0000 (19:20 +0000)]
docs: Add config file for readthedocs
This moves away from web-based settings and permits per-release
changes.
Ben Darnell [Thu, 5 Jan 2023 16:53:07 +0000 (11:53 -0500)]
Merge pull request #3214 from tornadoweb/bdarnell-patch-1
Create security policy document
Ben Darnell [Thu, 5 Jan 2023 16:40:43 +0000 (11:40 -0500)]
Merge pull request #3204 from tornadoweb/dependabot/pip/docs/certifi-2022.12.7
build(deps): bump certifi from 2022.5.18.1 to 2022.12.7 in /docs
Ben Darnell [Thu, 5 Jan 2023 16:40:24 +0000 (11:40 -0500)]
Create security policy document
Fixes #3099
dependabot[bot] [Thu, 5 Jan 2023 16:27:36 +0000 (16:27 +0000)]
build(deps): bump certifi from 2022.5.18.1 to 2022.12.7 in /docs
Bumps [certifi](https://github.com/certifi/python-certifi) from 2022.5.18.1 to 2022.12.7.
- [Release notes](https://github.com/certifi/python-certifi/releases)
- [Commits](https://github.com/certifi/python-certifi/compare/2022.05.18.1...2022.12.07)
---
updated-dependencies:
- dependency-name: certifi
dependency-type: indirect
...
Signed-off-by: dependabot[bot] <support@github.com>
Ben Darnell [Tue, 3 Jan 2023 16:04:08 +0000 (11:04 -0500)]
Merge pull request #3213 from uniontech-lilinjie/master
fix typo
lilinjie [Tue, 3 Jan 2023 07:13:57 +0000 (15:13 +0800)]
fix typo
Signed-off-by: lilinjie <lilinjie@uniontech.com>
Ben Darnell [Tue, 27 Dec 2022 20:44:17 +0000 (15:44 -0500)]
Merge pull request #3212 from meramsey/patch-1
Update v6.2.0.rst
Michael Ramsey [Sat, 24 Dec 2022 18:44:28 +0000 (13:44 -0500)]
Update v6.2.0.rst
fix typo
Ben Darnell [Sat, 17 Dec 2022 03:15:41 +0000 (22:15 -0500)]
Merge pull request #3208 from bdarnell/pin-tox
ci: Various dependency-related updates
Ben Darnell [Fri, 16 Dec 2022 20:52:15 +0000 (15:52 -0500)]
ci: Skip python 3.12 for now
The breaking changes begun by the deprecation warnings in 3.10 have
arrived, but according to https://github.com/python/cpython/issues/93453
the scope has changed somewhat (for the better, I think). Don't test
on 3.12 until we've adapted to the new plan.
Ben Darnell [Fri, 16 Dec 2022 20:07:30 +0000 (15:07 -0500)]
test: Catch error from get_event_loop in tearDown
Ben Darnell [Fri, 16 Dec 2022 19:56:39 +0000 (14:56 -0500)]
test: More lenient check for localhost resolver test
A recent update to pycares appears to have made it return only
an ipv6 address for localhost.
Ben Darnell [Fri, 16 Dec 2022 19:26:01 +0000 (14:26 -0500)]
ci: Install pinned version of tox
Ben Darnell [Mon, 28 Nov 2022 03:08:53 +0000 (22:08 -0500)]
Merge pull request #3202 from bdarnell/lint-update
deps: Update linters
Ben Darnell [Mon, 28 Nov 2022 02:58:27 +0000 (21:58 -0500)]
deps: Update linters
Ben Darnell [Mon, 28 Nov 2022 02:20:05 +0000 (21:20 -0500)]
Merge pull request #3201 from bdarnell/lazy-import
all: Support lazy imports of submodules
Ben Darnell [Sun, 27 Nov 2022 20:06:08 +0000 (15:06 -0500)]
all: Support lazy imports of submodules
A getattr hook in the top-level "tornado" package now imports submodules
automatically, eliminating the need to explicitly reference multiple submodules
in imports
Ben Darnell [Sun, 27 Nov 2022 04:02:55 +0000 (23:02 -0500)]
Merge pull request #3200 from bdarnell/expectlog
testing: Deprecate environment-dependent behavior in ExpectLog
Ben Darnell [Sun, 27 Nov 2022 03:29:59 +0000 (22:29 -0500)]
test: Skip undecorated coroutine test in py312
The standard library now has its own check for this, rendering ours redundant
(and breaking our test)
Ben Darnell [Sun, 27 Nov 2022 02:50:04 +0000 (21:50 -0500)]
testing: Deprecate environment-dependent behavior in ExpectLog
ExpectLog is sensitive to the difference between tornado.testing.main
(which sets the logging level to info) and most other test runners,
which do not. In the future ExpectLog will match WARNING and above
by default; matching lower levels without using the ``level`` argument
is deprecated.
Fix one test in httpserver_test.py that is affected by this.
Ben Darnell [Sun, 20 Nov 2022 19:11:20 +0000 (14:11 -0500)]
Merge pull request #3197 from bdarnell/pyversion-update
setup: Drop support for python 3.7
Ben Darnell [Sat, 19 Nov 2022 22:20:33 +0000 (17:20 -0500)]
setup: Drop support for python 3.7
The main reason to drop this version before it reaches its EOL is so
that we can begin to use unittest.IsolatedAsyncioTestCase to replace
deprecated portions of the tornado.testing module.
A secondary reason is that Python 3.8 introduced support for the
samesite cookie attribute, which allows us to deprecate the
xsrf_token mechanism.
Ben Darnell [Sat, 19 Nov 2022 22:17:36 +0000 (17:17 -0500)]
Merge pull request #3196 from bdarnell/pyversion-update
setup: Add Python 3.11 final and 3.12 alpha to CI
Ben Darnell [Sat, 19 Nov 2022 20:59:31 +0000 (15:59 -0500)]
setup: Add Python 3.11 final and 3.12 alpha to CI
Adapts to the deprecation of multi-argument generator.throw().
Ben Darnell [Sat, 15 Oct 2022 15:40:46 +0000 (11:40 -0400)]
Merge pull request #3193 from jakestambaugh/master
Add support for parsing lists of str in config files if multiple=True
Jake Stambaugh [Fri, 7 Oct 2022 22:03:25 +0000 (18:03 -0400)]
Add support for parsing lists of str in config files
Ben Darnell [Tue, 4 Oct 2022 01:57:24 +0000 (21:57 -0400)]
Merge pull request #3192 from jepperaskdk/master
Changed websocket message buffer from bytes to bytearray
Jeppe Rask [Mon, 3 Oct 2022 19:43:21 +0000 (21:43 +0200)]
Changed websocket message buffer from bytes to bytearray for performance increase
Ben Darnell [Fri, 26 Aug 2022 19:23:09 +0000 (15:23 -0400)]
Merge pull request #3180 from tornadoweb/fix-lint
auth: Fix lint error (long line)
Ben Darnell [Fri, 26 Aug 2022 19:06:18 +0000 (15:06 -0400)]
auth: Fix trailing comma and lint errors
This slipped in with #3137 because that PR was submitted at a time when
the CI config was broken and I didn't notice the incomplete run.
Timofey Kukushkin [Fri, 26 Aug 2022 19:05:22 +0000 (22:05 +0300)]
Fix contextvars.Context propagation to first yield with native coroutines (#3176)
* Fix contextvars.Context propagation to first yield with native coroutines
Ben Darnell [Fri, 26 Aug 2022 18:46:36 +0000 (14:46 -0400)]
Merge pull request #3172 from takluyver/websocket-resolver
Allow custom resolver in WebSocketClientConnection
Ben Darnell [Fri, 26 Aug 2022 18:11:20 +0000 (14:11 -0400)]
Merge pull request #3169 from anilbey/typing
add type-var ignore for the recently introduced mypy error
Ben Darnell [Fri, 26 Aug 2022 18:09:49 +0000 (14:09 -0400)]
Merge pull request #3137 from frankdu/master
Google OAuth2: change oauth config provision from hardcoded to develo…
Ben Darnell [Fri, 26 Aug 2022 17:45:14 +0000 (13:45 -0400)]
Merge pull request #3179 from tornadoweb/iostream-cleanup
iostream: Remove _read_buffer_pos attribute
Ben Darnell [Fri, 26 Aug 2022 17:19:43 +0000 (13:19 -0400)]
iostream: Remove _read_buffer_pos attribute
Since PR #3087, this attribute is always zero (except for temporary
usage in _consume) and can be removed.
Ben Darnell [Fri, 26 Aug 2022 17:08:13 +0000 (13:08 -0400)]
Merge pull request #3087 from laggardkernel/feature/cleanup-bytearray-shrink
Cleanup bytearray shrink code designed for Python 2
Ben Darnell [Fri, 26 Aug 2022 14:58:35 +0000 (10:58 -0400)]
Merge pull request #3178 from reganto/patch-1
Fix URL plural
Morteza Naghizadeh [Wed, 24 Aug 2022 14:33:30 +0000 (19:03 +0430)]
Fix URL plural
Ben Darnell [Mon, 22 Aug 2022 20:25:30 +0000 (16:25 -0400)]
Merge pull request #3177 from spagh-eddie/patch-3
Fix typo in release notes
Eddie Darling [Mon, 22 Aug 2022 17:19:28 +0000 (10:19 -0700)]
Fix typo in release notes
Thomas Kluyver [Mon, 1 Aug 2022 10:51:34 +0000 (11:51 +0100)]
Allow custom resolver in WebSocketClientConnection
Anil Tuncel [Sun, 17 Jul 2022 17:36:56 +0000 (18:36 +0100)]
add type-var ignore for the recent mypy error
Ben Darnell [Mon, 4 Jul 2022 02:22:03 +0000 (22:22 -0400)]
Bump version number on main branch to 6.3.dev1
Ben Darnell [Sun, 3 Jul 2022 22:10:16 +0000 (18:10 -0400)]
Merge pull request #3167 from bdarnell/6.2-final
Set version number to 6.2.0
Ben Darnell [Sun, 3 Jul 2022 22:03:24 +0000 (18:03 -0400)]
Set version number to 6.2.0
Closes #3165
Ben Darnell [Thu, 23 Jun 2022 00:26:37 +0000 (20:26 -0400)]
Merge pull request #3163 from graingert/avoid-threading-identity
use get_running_loop to choose between call_soon and call_soon_thread…
Ben Darnell [Tue, 21 Jun 2022 12:47:30 +0000 (08:47 -0400)]
Merge branch 'master' into avoid-threading-identity
Ben Darnell [Tue, 21 Jun 2022 12:12:59 +0000 (08:12 -0400)]
Merge pull request #3164 from graingert/patch-1
make existing_loop check atomic
Thomas Grainger [Tue, 21 Jun 2022 07:41:38 +0000 (08:41 +0100)]
make existing_loop check atomic
Thomas Grainger [Mon, 20 Jun 2022 09:42:19 +0000 (10:42 +0100)]
use get_running_loop to choose between call_soon and call_soon_threadsafe
Ben Darnell [Fri, 17 Jun 2022 20:40:41 +0000 (16:40 -0400)]
Merge pull request #3162 from bdarnell/6.2b2
Set version to 6.2b2
Ben Darnell [Fri, 17 Jun 2022 20:30:35 +0000 (16:30 -0400)]
Set version to 6.2b2
Ben Darnell [Fri, 17 Jun 2022 20:27:31 +0000 (16:27 -0400)]
Merge pull request #3161 from tornadoweb/build-workflow-abi3
setup: Build wheels with the stable ABI (abi3)
Ben Darnell [Fri, 17 Jun 2022 18:11:21 +0000 (14:11 -0400)]
setup: Build wheels with the stable ABI (abi3)
This will produce cross-version wheels so we won't have to do
releases just to make new wheels when new versions of Python
are available.
Also modernize the build process a bit to require setuptools and use
the native "optional" flag for extensions.
Ben Darnell [Fri, 17 Jun 2022 18:28:57 +0000 (14:28 -0400)]
Merge pull request #3160 from bdarnell/ioloop-docs
ioloop: Update docs for IOLoop constructor
Ben Darnell [Fri, 17 Jun 2022 17:58:10 +0000 (13:58 -0400)]
ioloop: Update docs for IOLoop constructor
The constructor is not completely deprecated; the make_current=False
mode is still usable.
Fixes #3156
Ben Darnell [Fri, 17 Jun 2022 17:20:31 +0000 (13:20 -0400)]
Merge pull request #3157 from minrk/explicit-asyncio-loop
Allow passing asyncio_loop argument to AsyncIOLoop
Ben Darnell [Fri, 17 Jun 2022 17:18:49 +0000 (13:18 -0400)]
Merge pull request #3159 from minrk/deprecation-stacklevel
Add stacklevel to deprecation warnings
Min RK [Fri, 17 Jun 2022 09:22:53 +0000 (11:22 +0200)]
Add stacklevel to deprecation warnings
so warnings are associated with the line where the deprecated methods are called
rather than the line where the warning itself is
Min RK [Thu, 16 Jun 2022 14:32:37 +0000 (16:32 +0200)]
trailing comma?
black seems to have changed its mind
Min RK [Thu, 16 Jun 2022 07:55:47 +0000 (09:55 +0200)]
Prevent multiple IOLoops for one asyncio loop
Min RK [Wed, 15 Jun 2022 08:41:30 +0000 (10:41 +0200)]
Allow passing asyncio_loop argument to AsyncIOLoop
allows patterns of creating and explicitly passing the asyncio loop before creating IOLoop
For example: creating a loop with the non-default event loop policy without having to set the current policy
Ben Darnell [Tue, 14 Jun 2022 23:20:46 +0000 (19:20 -0400)]
Merge pull request #3155 from graingert/patch-1
fix mulitple typo
Thomas Grainger [Mon, 13 Jun 2022 14:40:51 +0000 (15:40 +0100)]
fix mulitple typo
laggardkernel [Wed, 8 Dec 2021 11:03:29 +0000 (19:03 +0800)]
Do bytearray shrinking unconditionally in Python 3
Ben Darnell [Fri, 10 Jun 2022 19:08:59 +0000 (15:08 -0400)]
build: Run build workflow on tags
Ben Darnell [Fri, 10 Jun 2022 19:01:07 +0000 (15:01 -0400)]
Merge pull request #3154 from tornadoweb/build-workflow-publish
Set version number to 6.2, publish wheels via GH actions
Ben Darnell [Fri, 10 Jun 2022 18:23:12 +0000 (14:23 -0400)]
build: Add pypi upload (non test) for tags
Ben Darnell [Fri, 10 Jun 2022 18:14:23 +0000 (14:14 -0400)]
setup: Set readme content-type explicitly
Silences a warning when uploading to pypi.
Ben Darnell [Fri, 10 Jun 2022 16:23:48 +0000 (12:23 -0400)]
build: Publish to testpypi via github actions
Ben Darnell [Fri, 10 Jun 2022 16:23:33 +0000 (12:23 -0400)]
Set version number to 6.2b1
Ben Darnell [Thu, 9 Jun 2022 21:53:26 +0000 (17:53 -0400)]
Merge pull request #3153 from bdarnell/relnotes62
docs: Release note updates
Ben Darnell [Thu, 9 Jun 2022 21:38:29 +0000 (17:38 -0400)]
docs: Release note updates
Ben Darnell [Thu, 9 Jun 2022 03:08:54 +0000 (23:08 -0400)]
Merge pull request #3152 from bdarnell/docs-reqs
docs: Bump requirements
Ben Darnell [Thu, 9 Jun 2022 02:52:45 +0000 (22:52 -0400)]
docs: Bump requirements
Mainly to pick up a security fix in urllib3.
Ben Darnell [Thu, 9 Jun 2022 02:29:17 +0000 (22:29 -0400)]
Merge pull request #3151 from bdarnell/relnotes62
Release notes for 6.2
Ben Darnell [Thu, 9 Jun 2022 02:14:39 +0000 (22:14 -0400)]
Release notes for 6.2
Frank Du [Tue, 7 Jun 2022 15:23:08 +0000 (08:23 -0700)]
Add the method to allow custom provision of OAuth credentails, while keeping the backwards compatibility
Frank Du [Thu, 5 May 2022 00:20:25 +0000 (17:20 -0700)]
Google OAuth2: change oauth config provision from hardcoded to developer friendly, namely easier & clearer error tracing
Ben Darnell [Tue, 7 Jun 2022 01:37:03 +0000 (21:37 -0400)]
Merge pull request #3136 from graingert/remove-unreachable-if-asyncio-checks
remove unreachable asyncio checks
Ben Darnell [Tue, 7 Jun 2022 01:29:46 +0000 (21:29 -0400)]
Merge pull request #3150 from bdarnell/httpclient-docs
httpclient: Remove initialize method from docs
Ben Darnell [Tue, 7 Jun 2022 01:16:07 +0000 (21:16 -0400)]
httpclient: Remove initialize method from docs
This method is not meant for public consumption; it is an
implementation detail of the construction-time magic for this class.
It was not intended to appear in documentation as if it is
the public constructor.
Fixes #3141
Ben Darnell [Sat, 4 Jun 2022 13:59:13 +0000 (09:59 -0400)]
Merge pull request #3149 from bdarnell/deprecate-bind
tcpserver: Deprecate bind/start multi-process
Ben Darnell [Fri, 3 Jun 2022 19:47:39 +0000 (15:47 -0400)]
tcpserver: Deprecate bind/start multi-process
This is partially a casualty of the Python 3.10 deprecation
changes, although it's also something I've wanted to do for other
reasons, since it's been a very common source of user confusion.
Fixes #2801
Ben Darnell [Fri, 3 Jun 2022 19:29:26 +0000 (15:29 -0400)]
Merge pull request #3147 from bdarnell/docs62
docs,demos: Update for asyncio.run pattern
Ben Darnell [Fri, 3 Jun 2022 19:24:13 +0000 (15:24 -0400)]
Merge pull request #3148 from bdarnell/listen-args
tcpserver,web: Pass more arguments through listen.
Ben Darnell [Fri, 3 Jun 2022 15:40:31 +0000 (11:40 -0400)]
tcpserver,web: Pass more arguments through listen.
In particular, this makes it easier to use reuse_port.
Ben Darnell [Fri, 20 May 2022 17:04:24 +0000 (13:04 -0400)]
docs,demos: Update for asyncio.run pattern
Adapt for Python 3.10 deprecation changes by using asyncio.run
instead of IOLoop.start throughout (except for TCPServer multi-process
docs).
Demos have all been changed but I haven't tested all of them.
Thomas Grainger [Sun, 1 May 2022 12:50:47 +0000 (13:50 +0100)]
Update tornado/ioloop.py
Thomas Grainger [Mon, 25 Apr 2022 13:24:23 +0000 (14:24 +0100)]
remove unreachable asyncio checks
Ben Darnell [Fri, 22 Apr 2022 18:13:32 +0000 (14:13 -0400)]
Merge pull request #3135 from tornadoweb/autoreload-basicconfig
autoreload: Remove calls to logging.basicConfig
Ben Darnell [Fri, 22 Apr 2022 14:37:47 +0000 (10:37 -0400)]
autoreload: Remove calls to logging.basicConfig
This is unnecessary since python 3.2 added a default logger of
last resort (and the two calls that precede "info" log messages
didn't do anything in the first place since basicConfig only logs
warnings and higher).
Fixes the second part of #2961
Ben Darnell [Fri, 22 Apr 2022 14:27:40 +0000 (10:27 -0400)]
Merge pull request #3134 from srittau/wsgi-types
Import WSGI types from _typeshed.wsgi
Sebastian Rittau [Sat, 16 Apr 2022 19:34:12 +0000 (21:34 +0200)]
Import WSGI types from _typeshed.wsgi
wsgiref.types is a new module in Python 3.11. Accordingly, typeshed's stubs were updated so that this module is only available from Python 3.11 onwards. But the typeshed-specific module _typeshed.wsgi (which is considered stable by typeshed) contains all the necessary definitions for all supported Python versions.
Ben Darnell [Fri, 8 Apr 2022 16:33:43 +0000 (12:33 -0400)]
Merge pull request #3130 from graingert/remove-setup-logging
remove _setup_logging
Thomas Grainger [Thu, 31 Mar 2022 09:25:39 +0000 (10:25 +0100)]
remove _setup_logging
Thomas Grainger [Fri, 18 Mar 2022 20:18:22 +0000 (20:18 +0000)]
avoid thread unsafe iteration of _ioloop_for_asyncio (#3125)
* avoid thread unsafe iteration of _ioloop_for_asyncio
See https://twitter.com/raymondh/status/
1252759650224619521
* catch KeyError from potential concurrent _ioloop_for_asyncio deletes
Thomas Grainger [Fri, 18 Mar 2022 20:17:50 +0000 (20:17 +0000)]
upgrade mypy to 0.941 (#3123)