]> git.ipfire.org Git - thirdparty/tornado.git/log
thirdparty/tornado.git
16 months agogen: Hold strong references to all asyncio.Tasks 3269/head
Ben Darnell [Mon, 15 May 2023 01:03:52 +0000 (21:03 -0400)] 
gen: Hold strong references to all asyncio.Tasks

Per the warning in the asyncio documentation, we need to hold a strong
reference to all asyncio Tasks to prevent premature GC. Following
discussions in cpython (https://github.com/python/cpython/issues/91887),
we hold these references on the IOLoop instance to ensure that they are
strongly held but do not cause leaks if the event loop itself is
discarded.

This is expected to fix all of the various "task was destroyed but
it is pending" warnings that have been reported. The
IOLoop._pending_tasks set is expected to become obsolete if
corresponding changes are made to asyncio in Python 3.13.

Fixes #3209
Fixes #3047
Fixes #2763

Some issues involve this warning as their most visible symptom,
but have an underlying cause that should still be addressed.
Updates #2914
Updates #2356

16 months agoVersion 6.3.2 3268/head
Ben Darnell [Sun, 14 May 2023 01:31:48 +0000 (21:31 -0400)] 
Version 6.3.2

16 months agoMerge pull request #3266 from bdarnell/fix-open-redirect
Ben Darnell [Sun, 14 May 2023 01:27:59 +0000 (21:27 -0400)] 
Merge pull request #3266 from bdarnell/fix-open-redirect

web: Fix an open redirect in StaticFileHandler

16 months agoweb: Fix an open redirect in StaticFileHandler 3266/head
Ben Darnell [Sun, 14 May 2023 00:58:52 +0000 (20:58 -0400)] 
web: Fix an open redirect in StaticFileHandler

Under some configurations the default_filename redirect could be exploited
to redirect to an attacker-controlled site. This change refuses to redirect
to URLs that could be misinterpreted.

A test case for the specific vulnerable configuration will follow after the
patch has been available.

16 months agoMerge pull request #3264 from bdarnell/websocket-client-warning
Ben Darnell [Mon, 8 May 2023 01:47:52 +0000 (21:47 -0400)] 
Merge pull request #3264 from bdarnell/websocket-client-warning

websocket: Add warning if client connection isn't closed cleanly

16 months agowebsocket: Add warning if client connection isn't closed cleanly 3264/head
Ben Darnell [Sun, 7 May 2023 21:03:33 +0000 (17:03 -0400)] 
websocket: Add warning if client connection isn't closed cleanly

This gives a warning that is not dependent on GC for the issue
in #3257. This new warning covers all websocket client connections,
while the previous GC-dependent warning only affected those with
ping_interval set. This unfortunately introduces an effective
requirement to close all websocket clients explicitly for those
who are strict about warnings.

16 months agoMerge pull request #3263 from bdarnell/tox-sdist
Ben Darnell [Wed, 3 May 2023 16:52:53 +0000 (12:52 -0400)] 
Merge pull request #3263 from bdarnell/tox-sdist

setup: Include tox.ini in sdist

16 months agosetup: Include tox.ini in sdist 3263/head
Ben Darnell [Wed, 3 May 2023 16:46:28 +0000 (12:46 -0400)] 
setup: Include tox.ini in sdist

Also remove the demos directory from sdist. This inclusion was incomplete
and even if it were incomplete I don't think the sdist is a great way to
distribute these demos.

Fixes #3253

16 months agoMerge pull request #3262 from bdarnell/build-dispatch
Ben Darnell [Tue, 2 May 2023 23:33:28 +0000 (19:33 -0400)] 
Merge pull request #3262 from bdarnell/build-dispatch

ci: Enable manual dispatch for build workflow

16 months agoci: Enable manual dispatch for build workflow 3262/head
Ben Darnell [Tue, 2 May 2023 23:12:04 +0000 (19:12 -0400)] 
ci: Enable manual dispatch for build workflow

Replace the use of a special branch name for testing.

16 months agoMerge pull request #3261 from bdarnell/callback-from-signal
Ben Darnell [Tue, 2 May 2023 17:16:04 +0000 (13:16 -0400)] 
Merge pull request #3261 from bdarnell/callback-from-signal

ioloop: Deprecate add_callback_from_signal

16 months agoioloop: Deprecate add_callback_from_signal 3261/head
Ben Darnell [Tue, 2 May 2023 16:54:20 +0000 (12:54 -0400)] 
ioloop: Deprecate add_callback_from_signal

I don't believe this method is currently working as intended, and I'm
not sure it ever has since the move to asyncio. I think this is
responsible for occasional test failures in CI.

Fixes #3225

16 months agoMerge pull request #3260 from bdarnell/streamline-tests
Ben Darnell [Mon, 1 May 2023 22:02:49 +0000 (18:02 -0400)] 
Merge pull request #3260 from bdarnell/streamline-tests

test: Streamline test configurations

16 months agotest: Streamline test configurations 3260/head
Ben Darnell [Mon, 1 May 2023 21:10:27 +0000 (17:10 -0400)] 
test: Streamline test configurations

- LANG tests were no longer having the intended effect because C locales
  now default to utf8 instead of ascii. There's a new warning we can turn
  on with an env var instead. (after cleaing up some tests)
- The tox install_command issue was reverted in tox 1.9
- Python now guarantees that __file__ is absolute
- Remove some obsolete warning manipulations

16 months agoMerge pull request #3259 from bdarnell/version-bump
Ben Darnell [Mon, 1 May 2023 20:31:54 +0000 (16:31 -0400)] 
Merge pull request #3259 from bdarnell/version-bump

Bump main branch version number to 6.4.dev1

16 months agoBump main branch version number to 6.4.dev1 3259/head
Ben Darnell [Mon, 1 May 2023 20:18:31 +0000 (16:18 -0400)] 
Bump main branch version number to 6.4.dev1

16 months agoMerge pull request #3257 from bdarnell/build-workflow-wstest-warning
Ben Darnell [Mon, 24 Apr 2023 02:56:29 +0000 (22:56 -0400)] 
Merge pull request #3257 from bdarnell/build-workflow-wstest-warning

test: Close a websocket client that causes occasional test failures

16 months agoci: Only run pypi actions from the main repo 3257/head
Ben Darnell [Mon, 24 Apr 2023 00:35:29 +0000 (20:35 -0400)] 
ci: Only run pypi actions from the main repo

These will fail when run from forks because the necessary
credentials aren't available.

16 months agotest: Close a websocket client that causes occasional test failures
Ben Darnell [Sun, 23 Apr 2023 19:15:05 +0000 (15:15 -0400)] 
test: Close a websocket client that causes occasional test failures

These failures occur on the build.yml workflow on the emulated arm64
platform: an ill-timed timer firing during test shutdown can result
in a message being logged and the test failing for dirty logs.

17 months agoMerge pull request #3256 from bdarnell/build-workflow-qemu
Ben Darnell [Sat, 22 Apr 2023 02:03:37 +0000 (22:03 -0400)] 
Merge pull request #3256 from bdarnell/build-workflow-qemu

ci: Update setup-qemu-action version

17 months agoci: Update setup-qemu-action version 3256/head
Ben Darnell [Fri, 21 Apr 2023 23:41:15 +0000 (19:41 -0400)] 
ci: Update setup-qemu-action version

Eliminates some more deprecation warnings

17 months agoMerge pull request #3255 from bdarnell/bump-version-6.3.1 v6.3.1
Ben Darnell [Fri, 21 Apr 2023 20:32:42 +0000 (16:32 -0400)] 
Merge pull request #3255 from bdarnell/bump-version-6.3.1

Bump version to 6.3.1

17 months agoBump version to 6.3.1 3255/head
Ben Darnell [Fri, 21 Apr 2023 20:25:57 +0000 (16:25 -0400)] 
Bump version to 6.3.1

17 months agoMerge pull request #3254 from bdarnell/fix-set-cookie-case
Ben Darnell [Fri, 21 Apr 2023 20:24:15 +0000 (16:24 -0400)] 
Merge pull request #3254 from bdarnell/fix-set-cookie-case

web: Restore case-insensitivity of set_cookie args

17 months agoweb: Restore case-insensitivity of set_cookie args 3254/head
Ben Darnell [Fri, 21 Apr 2023 19:30:07 +0000 (15:30 -0400)] 
web: Restore case-insensitivity of set_cookie args

This was an unintended feature that got broken in #3224. Bring it back
for now but deprecate it for future cleanup.

Fixes #3252

17 months agoMerge pull request #3251 from bdarnell/release-6.3 v6.3.0
Ben Darnell [Tue, 18 Apr 2023 01:13:03 +0000 (21:13 -0400)] 
Merge pull request #3251 from bdarnell/release-6.3

Set version to 6.3 final

17 months agoSet version to 6.3 final 3251/head
Ben Darnell [Tue, 18 Apr 2023 01:06:12 +0000 (01:06 +0000)] 
Set version to 6.3 final

17 months agoMerge pull request #3250 from bdarnell/build-workflow-update
Ben Darnell [Sun, 9 Apr 2023 21:38:26 +0000 (17:38 -0400)] 
Merge pull request #3250 from bdarnell/build-workflow-update

ci: Update build workflow

17 months agoci: Update build workflow 3250/head
Ben Darnell [Sun, 9 Apr 2023 21:31:38 +0000 (21:31 +0000)] 
ci: Update build workflow

Build wheels for Python 3.12 as well.
Update various dependencies. The upload/download artifact actions
were using deprecated versions, and we were using a deprecated
macos build image. While we're at it, update the other OS versions
and cibuildwheel.

17 months agoMerge pull request #3249 from bdarnell/version-6.3b1 v6.3.0b1
Ben Darnell [Sun, 9 Apr 2023 20:45:26 +0000 (16:45 -0400)] 
Merge pull request #3249 from bdarnell/version-6.3b1

Set version number to 6.3b1

17 months agoSet version number to 6.3b1 3249/head
Ben Darnell [Sun, 9 Apr 2023 20:37:45 +0000 (20:37 +0000)] 
Set version number to 6.3b1

17 months agoMerge pull request #3248 from bdarnell/auto-import
Ben Darnell [Sat, 8 Apr 2023 20:04:16 +0000 (16:04 -0400)] 
Merge pull request #3248 from bdarnell/auto-import

typing: Eagerly import all submodules in __init__.pyi

17 months agotyping: Eagerly import all submodules in __init__.pyi 3248/head
Ben Darnell [Sat, 8 Apr 2023 19:42:05 +0000 (19:42 +0000)] 
typing: Eagerly import all submodules in __init__.pyi

This makes the auto-import functionality compatible with mypy
and other typing-based tools such as autocomplete functionality.
Excluding these imports from static typing feels like a premature
optimization and made it much less appealing to make use of the
auto-imports.

This may slow down type checking of applications that use Tornado by
a little, since the type checker must now process all of Tornado and
not only the subset that was imported. However, the increasing use
of long-lived daemons for type checkers should mitigate this cost.

17 months agoMerge pull request #3247 from bdarnell/websocket-update
Ben Darnell [Sat, 8 Apr 2023 19:25:09 +0000 (15:25 -0400)] 
Merge pull request #3247 from bdarnell/websocket-update

websocket: Add resolver argument to websocket_connect

17 months agowebsocket: Remove some obsolete comments 3247/head
Ben Darnell [Sat, 8 Apr 2023 18:29:18 +0000 (18:29 +0000)] 
websocket: Remove some obsolete comments

Old browser versions that do not support websockets have long since
faded from use.

17 months agowebsocket: Add resolver argument to websocket_connect
Ben Darnell [Sat, 8 Apr 2023 18:25:08 +0000 (18:25 +0000)] 
websocket: Add resolver argument to websocket_connect

This is the public interface, but when the resolver argument was added
it was only added to the supporting WebSocketClientConnection class.

17 months agoMerge pull request #3246 from bdarnell/release-notes-6.3
Ben Darnell [Sat, 8 Apr 2023 18:14:55 +0000 (14:14 -0400)] 
Merge pull request #3246 from bdarnell/release-notes-6.3

docs: Add release notes for 6.3

17 months agodocs: Add release notes for 6.3 3246/head
Ben Darnell [Fri, 7 Apr 2023 20:42:18 +0000 (20:42 +0000)] 
docs: Add release notes for 6.3

17 months agoMerge pull request #3245 from vargenau/use-spdx-license-identifier
Ben Darnell [Fri, 31 Mar 2023 14:00:25 +0000 (10:00 -0400)] 
Merge pull request #3245 from vargenau/use-spdx-license-identifier

Use SPDX license identifier

17 months agoUse SPDX license identifier 3245/head
Marc-Etienne Vargenau [Fri, 31 Mar 2023 13:26:28 +0000 (15:26 +0200)] 
Use SPDX license identifier

Use SPDX license identifier: Apache-2.0
This will help tools to produce valid SPDX.

Signed-off-by: Marc-Etienne Vargenau <marc-etienne.vargenau@nokia.com>
17 months agoMerge pull request #3244 from bdarnell/xsrf-rename
Ben Darnell [Thu, 30 Mar 2023 20:54:53 +0000 (16:54 -0400)] 
Merge pull request #3244 from bdarnell/xsrf-rename

web: Support renaming the XSRF cookie

17 months agoweb: Support renaming the XSRF cookie 3244/head
Ben Darnell [Thu, 30 Mar 2023 20:03:28 +0000 (20:03 +0000)] 
web: Support renaming the XSRF cookie

This makes it possible to use the __Host- cookie prefix for increased
security

18 months agoMerge pull request #3238 from bdarnell/demo-links
Ben Darnell [Tue, 21 Feb 2023 21:41:48 +0000 (16:41 -0500)] 
Merge pull request #3238 from bdarnell/demo-links

docs: Point to stable branch for all demo links

18 months agodocs: Point to stable branch for all demo links 3238/head
Ben Darnell [Tue, 21 Feb 2023 21:34:38 +0000 (21:34 +0000)] 
docs: Point to stable branch for all demo links

Add a README to the demos directory with a brief description of each,
and a warning about the usage of not-yet-released features.

Fixes #3236

19 months agoMerge pull request #3232 from bdarnell/undeprecate-event-loop-setting
Ben Darnell [Fri, 17 Feb 2023 03:29:27 +0000 (22:29 -0500)] 
Merge pull request #3232 from bdarnell/undeprecate-event-loop-setting

testing: No longer silence deprecation warnings

19 months agotesting: Limit silence of deprecation warnings 3232/head
Ben Darnell [Thu, 16 Feb 2023 22:20:34 +0000 (22:20 +0000)] 
testing: Limit silence of deprecation warnings

Only do it on the specific versions that had the problematic warnings.

Also deprecate get_new_ioloop.

19 months agoMerge pull request #3223 from takluyver/undeprecate-event-loop-setting
Ben Darnell [Thu, 16 Feb 2023 22:32:29 +0000 (17:32 -0500)] 
Merge pull request #3223 from takluyver/undeprecate-event-loop-setting

Revert some deprecations, following asyncio changes

19 months agoMerge pull request #3231 from bdarnell/wsgi-executor
Ben Darnell [Thu, 16 Feb 2023 20:43:25 +0000 (15:43 -0500)] 
Merge pull request #3231 from bdarnell/wsgi-executor

wsgi: Support ThreadPoolExecutor

19 months agowsgi: Set multithread flag correctly 3231/head
Ben Darnell [Wed, 15 Feb 2023 21:23:32 +0000 (21:23 +0000)] 
wsgi: Set multithread flag correctly

Required making WSGIContainer.environ() an instance method.
This is technically a backwards-incompatible change to a documented
method but it was never really meant to be documented and seems
unlikely to be used.

19 months agowsgi: Update docs
Ben Darnell [Wed, 15 Feb 2023 21:19:42 +0000 (21:19 +0000)] 
wsgi: Update docs

19 months agowsgi: Iterate the response in executor too
Ben Darnell [Thu, 9 Feb 2023 22:35:46 +0000 (22:35 +0000)] 
wsgi: Iterate the response in executor too

19 months agowsgi: Add barrier-based test for executor support
Ben Darnell [Thu, 9 Feb 2023 21:55:49 +0000 (21:55 +0000)] 
wsgi: Add barrier-based test for executor support

19 months agowsgi: Fix formatting
Ben Darnell [Thu, 9 Feb 2023 21:02:44 +0000 (21:02 +0000)] 
wsgi: Fix formatting

19 months agoAdd test case for ThreadPoolExecutor usage
Grant Jenks [Thu, 22 Dec 2022 18:17:20 +0000 (10:17 -0800)] 
Add test case for ThreadPoolExecutor usage

19 months agoAdd support for customizing executor
Grant Jenks [Thu, 22 Dec 2022 18:16:59 +0000 (10:16 -0800)] 
Add support for customizing executor

19 months agoLinter fixes 3223/head
Thomas Kluyver [Thu, 16 Feb 2023 13:22:59 +0000 (13:22 +0000)] 
Linter fixes

19 months agoDon't try to restore the previous event loop in AsyncTestCase
Thomas Kluyver [Thu, 16 Feb 2023 13:16:36 +0000 (13:16 +0000)] 
Don't try to restore the previous event loop in AsyncTestCase

19 months agoDefault make_current -> True, remove check for existing event loop
Thomas Kluyver [Thu, 16 Feb 2023 12:59:02 +0000 (12:59 +0000)] 
Default make_current -> True, remove check for existing event loop

19 months agoDeprecate IOLoop(make_current=True)
Thomas Kluyver [Wed, 15 Feb 2023 14:36:19 +0000 (14:36 +0000)] 
Deprecate IOLoop(make_current=True)

19 months agoRe-deprecate make_current() & clear_current() methods
Thomas Kluyver [Wed, 15 Feb 2023 14:15:15 +0000 (14:15 +0000)] 
Re-deprecate make_current() & clear_current() methods

19 months agoRe-suppress asyncio deprecation warnings in AsyncTestCase
Thomas Kluyver [Fri, 10 Feb 2023 17:12:14 +0000 (17:12 +0000)] 
Re-suppress asyncio deprecation warnings in AsyncTestCase

19 months agoLinter fixes
Thomas Kluyver [Fri, 10 Feb 2023 17:11:54 +0000 (17:11 +0000)] 
Linter fixes

19 months agoRemove cleanup workaround to fix some ResourceWarnings
Thomas Kluyver [Fri, 10 Feb 2023 15:24:35 +0000 (15:24 +0000)] 
Remove cleanup workaround to fix some ResourceWarnings

19 months agoFix tests: IOLoop.current() now behaves the same way on any thread
Thomas Kluyver [Fri, 10 Feb 2023 14:39:37 +0000 (14:39 +0000)] 
Fix tests: IOLoop.current() now behaves the same way on any thread

19 months agoRe-simpify AsyncTestCase setUp & tearDown
Thomas Kluyver [Fri, 10 Feb 2023 14:21:11 +0000 (14:21 +0000)] 
Re-simpify AsyncTestCase setUp & tearDown

19 months agoIOLoop.current(): create new asyncio loop if not already present
Thomas Kluyver [Tue, 31 Jan 2023 11:09:14 +0000 (11:09 +0000)] 
IOLoop.current(): create new asyncio loop if not already present

19 months agoDeprecation of bind/start is no longer forced by Python changes
Thomas Kluyver [Sun, 29 Jan 2023 13:13:12 +0000 (13:13 +0000)] 
Deprecation of bind/start is no longer forced by Python changes

19 months agoUndeprecate AsyncTestCase and AsyncHTTPTestCase classes
Thomas Kluyver [Sun, 29 Jan 2023 13:12:42 +0000 (13:12 +0000)] 
Undeprecate AsyncTestCase and AsyncHTTPTestCase classes

19 months agoUndeprecate ioloop make_current and clear_current methods
Thomas Kluyver [Sun, 29 Jan 2023 13:11:52 +0000 (13:11 +0000)] 
Undeprecate ioloop make_current and clear_current methods

19 months agoMerge pull request #3230 from bdarnell/ci-py312
Ben Darnell [Wed, 8 Feb 2023 21:42:11 +0000 (16:42 -0500)] 
Merge pull request #3230 from bdarnell/ci-py312

ci: Re-enable Python 3.12 alphas

19 months agoci: Add Python 3.10.8 and 3.11.0 to the build matrix 3230/head
Ben Darnell [Wed, 8 Feb 2023 21:28:02 +0000 (21:28 +0000)] 
ci: Add Python 3.10.8 and 3.11.0 to the build matrix

Early releases in these two branches had different deprecation warnings
so we want to test them too.

19 months agoci: Re-enable Python 3.12 alphas
Ben Darnell [Wed, 8 Feb 2023 17:47:27 +0000 (17:47 +0000)] 
ci: Re-enable Python 3.12 alphas

As of 3.12a5 the deprecation warnings should be in their final
state.

Also update setup-python action to silence a warning.

19 months agoasyncio: Remove obsolete code
Ben Darnell [Wed, 8 Feb 2023 20:12:47 +0000 (20:12 +0000)] 
asyncio: Remove obsolete code

AsyncioLoop.start() used to save, set, and restore the thread-local
event loop. This avoided some edge cases in early versions of asyncio;
this appears to no longer be necessary since Python 3.7 introduced
the get_running_loop() method.

Removing this logic improves compatibility with Python 3.12, where
it is difficult if not impossible to do the same thing without
generating DeprecationWarnings.

19 months agoMerge pull request #3224 from bdarnell/cookie-updates
Ben Darnell [Mon, 30 Jan 2023 19:17:20 +0000 (14:17 -0500)] 
Merge pull request #3224 from bdarnell/cookie-updates

web: Cookie updates

19 months agoweb: Accept all kwargs in clear_cookie 3224/head
Ben Darnell [Sat, 28 Jan 2023 19:48:47 +0000 (19:48 +0000)] 
web: Accept all kwargs in clear_cookie

In some cases it is now required to pass matching values for
samesite and secure as when the cookie was set.

clear_all_cookies is now deprecated because the name of a cookie
is no longer reliably sufficient to clear it.

Fixes #2911

19 months agoweb: List all set_cookie arguments instead of kwargs
Ben Darnell [Sat, 28 Jan 2023 19:10:16 +0000 (19:10 +0000)] 
web: List all set_cookie arguments instead of kwargs

Multiple arguments needed special cases anyway, so it's better to
just be explicit about what's supported.

set_signed_cookie still uses kwarg forwarding since we don't need
to worry about the special cases at this level and using
explicit arguments would involve duplicating defaults in multiple
places.

19 months agoweb: Rename "secure_cookie" methods to "signed_cookie"
Ben Darnell [Mon, 23 Jan 2023 18:51:53 +0000 (18:51 +0000)] 
web: Rename "secure_cookie" methods to "signed_cookie"

This more precisely states the kind of security that is provided, and
avoids confusion with the use of the word "secure" as a standard
cookie attribute and prefix.

20 months agoMerge pull request #3220 from bdarnell/update-deps
Ben Darnell [Fri, 20 Jan 2023 20:44:26 +0000 (15:44 -0500)] 
Merge pull request #3220 from bdarnell/update-deps

Update all deps

20 months agoUpdate tox to v4 3220/head
Ben Darnell [Fri, 20 Jan 2023 20:19:47 +0000 (20:19 +0000)] 
Update tox to v4

Adapt to backwards-incompatible renaming.

20 months agoUpdate most deps
Ben Darnell [Fri, 20 Jan 2023 20:05:50 +0000 (20:05 +0000)] 
Update most deps

Sphinx is pinned to <6 because of a conflict with sphinx_rtd_theme
Tox is pinned to <4 because we're affected by some backwards-incompatible
renamings in the config file.

20 months agoMerge pull request #3219 from bdarnell/consolidate-requirements
Ben Darnell [Fri, 20 Jan 2023 20:02:19 +0000 (15:02 -0500)] 
Merge pull request #3219 from bdarnell/consolidate-requirements

Consolidate maint and docs requirements files

20 months agoConsolidate maint and docs requirements files 3219/head
Ben Darnell [Fri, 20 Jan 2023 19:51:28 +0000 (19:51 +0000)] 
Consolidate maint and docs requirements files

This division was just complicating things unnecessarily.
Also adopt pip-tools instead of doing it all by hand.
No pinned versions have been changed in this commit.

20 months agoMerge pull request #3218 from bdarnell/readthedocs-config
Ben Darnell [Fri, 20 Jan 2023 19:26:57 +0000 (14:26 -0500)] 
Merge pull request #3218 from bdarnell/readthedocs-config

docs: Add config file for readthedocs

20 months agodocs: Add config file for readthedocs 3218/head
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.

20 months agoMerge pull request #3214 from tornadoweb/bdarnell-patch-1
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

20 months agoMerge pull request #3204 from tornadoweb/dependabot/pip/docs/certifi-2022.12.7
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

20 months agoCreate security policy document 3214/head
Ben Darnell [Thu, 5 Jan 2023 16:40:24 +0000 (11:40 -0500)] 
Create security policy document

Fixes #3099

20 months agobuild(deps): bump certifi from 2022.5.18.1 to 2022.12.7 in /docs 3204/head
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>
20 months agoMerge pull request #3213 from uniontech-lilinjie/master
Ben Darnell [Tue, 3 Jan 2023 16:04:08 +0000 (11:04 -0500)] 
Merge pull request #3213 from uniontech-lilinjie/master

fix typo

20 months agofix typo 3213/head
lilinjie [Tue, 3 Jan 2023 07:13:57 +0000 (15:13 +0800)] 
fix typo

Signed-off-by: lilinjie <lilinjie@uniontech.com>
20 months agoMerge pull request #3212 from meramsey/patch-1
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

20 months agoUpdate v6.2.0.rst 3212/head
Michael Ramsey [Sat, 24 Dec 2022 18:44:28 +0000 (13:44 -0500)] 
Update v6.2.0.rst

fix typo

21 months agoMerge pull request #3208 from bdarnell/pin-tox
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

21 months agoci: Skip python 3.12 for now 3208/head
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.

21 months agotest: Catch error from get_event_loop in tearDown
Ben Darnell [Fri, 16 Dec 2022 20:07:30 +0000 (15:07 -0500)] 
test: Catch error from get_event_loop in tearDown

21 months agotest: More lenient check for localhost resolver test
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.

21 months agoci: Install pinned version of tox
Ben Darnell [Fri, 16 Dec 2022 19:26:01 +0000 (14:26 -0500)] 
ci: Install pinned version of tox

21 months agoMerge pull request #3202 from bdarnell/lint-update
Ben Darnell [Mon, 28 Nov 2022 03:08:53 +0000 (22:08 -0500)] 
Merge pull request #3202 from bdarnell/lint-update

deps: Update linters

21 months agodeps: Update linters 3202/head
Ben Darnell [Mon, 28 Nov 2022 02:58:27 +0000 (21:58 -0500)] 
deps: Update linters

21 months agoMerge pull request #3201 from bdarnell/lazy-import
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