Commit Graph

411 Commits

Author SHA1 Message Date
Olivier Martin
71dc15e8c9 ws_protocol: Log when WebSocket is killed by Daphne 2023-05-04 08:22:34 +02:00
Carlton Gibson
1eaf2206cc
Set pre-commit to quarterly updates. (#472) 2023-04-16 10:33:27 +02:00
Abenezer Belachew
09da15dc4e
Double quotes during pip (#467)
Single quotes return => ERROR: Invalid requirement: "'Twisted[tls,http2]'"
2023-04-14 15:10:16 +02:00
pre-commit-ci[bot]
21513b84da
[pre-commit.ci] pre-commit autoupdate (#470)
updates:
- [github.com/psf/black: 23.1.0 → 23.3.0](https://github.com/psf/black/compare/23.1.0...23.3.0)

Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
Co-authored-by: Carlton Gibson <carlton.gibson@noumenal.es>
2023-04-14 15:03:51 +02:00
Carlton Gibson
077dd81809
Added missing stacklevel warning parameter. (#471) 2023-04-14 14:53:12 +02:00
pre-commit-ci[bot]
b0204165b1
[pre-commit.ci] pre-commit autoupdate (#466)
Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
2023-02-07 15:20:08 +00:00
pre-commit-ci[bot]
79fd65dec3
[pre-commit.ci] pre-commit autoupdate (#464)
updates:
- [github.com/pycqa/isort: 5.11.4 → 5.12.0](https://github.com/pycqa/isort/compare/5.11.4...5.12.0)

Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
2023-01-31 06:52:32 +00:00
pre-commit-ci[bot]
5681d71c17
[pre-commit.ci] pre-commit autoupdate (#462)
Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
2022-12-29 12:19:00 +00:00
pre-commit-ci[bot]
fdc944a280
[pre-commit.ci] pre-commit autoupdate (#461)
updates:
- [github.com/pycqa/isort: 5.11.0 → v5.11.3](https://github.com/pycqa/isort/compare/5.11.0...v5.11.3)

Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
2022-12-20 10:37:51 +01:00
pre-commit-ci[bot]
c9343aa9d6
[pre-commit.ci] pre-commit autoupdate (#460)
updates:
- [github.com/asottile/pyupgrade: v3.3.0 → v3.3.1](https://github.com/asottile/pyupgrade/compare/v3.3.0...v3.3.1)
- [github.com/psf/black: 22.10.0 → 22.12.0](https://github.com/psf/black/compare/22.10.0...22.12.0)
- [github.com/pycqa/isort: 5.10.1 → 5.11.0](https://github.com/pycqa/isort/compare/5.10.1...5.11.0)

Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
2022-12-12 23:15:35 +00:00
Adam Johnson
d59c2bd424
Upgrade to tox 4 (#458) 2022-12-08 01:06:41 +00:00
pre-commit-ci[bot]
2015ecdd8f
[pre-commit.ci] pre-commit autoupdate (#457)
Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
2022-12-06 09:01:28 +00:00
pre-commit-ci[bot]
18e936eed1
[pre-commit.ci] pre-commit autoupdate (#456)
Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
2022-11-29 20:34:37 +00:00
Michael K
ef946d5637
Upgrade GitHub Actions actions (#454)
And set up dependabot to take care of them in the future.
2022-11-18 11:33:03 +01:00
pre-commit-ci[bot]
a0b2ac0e8f
[pre-commit.ci] pre-commit autoupdate (#452)
updates:
- [github.com/asottile/pyupgrade: v3.2.0 → v3.2.2](https://github.com/asottile/pyupgrade/compare/v3.2.0...v3.2.2)

Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
2022-11-14 20:47:53 +00:00
pre-commit-ci[bot]
afd0d51b83
[pre-commit.ci] pre-commit autoupdate (#448)
Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
2022-11-01 11:09:39 +00:00
Michael K
d5fbdfc4cb
Run tests against Python 3.11 and add trove classifier (#446) 2022-10-25 13:46:20 +01:00
pre-commit-ci[bot]
71be46265d
[pre-commit.ci] pre-commit autoupdate (#444)
Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
2022-10-17 23:09:03 +01:00
pre-commit-ci[bot]
91c61f4ff4
[pre-commit.ci] pre-commit autoupdate (#443)
Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
2022-10-10 23:39:20 +01:00
Carlton Gibson
060202f491 Updated change log and version for v4.0 release. 2022-10-07 14:53:16 +02:00
Adam Johnson
12e543750b
Make DaphneProcess pickleable (#440) 2022-10-07 13:22:40 +02:00
Jakub Stawowy
fef1490eff
Removed deprecated —ws-protocols CLI option. (#387) 2022-10-07 12:21:22 +02:00
pre-commit-ci[bot]
898529c489
[pre-commit.ci] pre-commit autoupdate (#441)
Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
2022-09-26 21:47:43 +01:00
pre-commit-ci[bot]
e9637419df
[pre-commit.ci] pre-commit autoupdate (#439)
Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
2022-09-20 10:07:55 +01:00
pre-commit-ci[bot]
b3bfbd6135
[pre-commit.ci] pre-commit autoupdate (#438)
updates:
- [github.com/psf/black: 22.6.0 → 22.8.0](https://github.com/psf/black/compare/22.6.0...22.8.0)

Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
2022-09-06 09:35:26 +02:00
Michael K
c9a7fdc669
Run tests on main branch, not master (#435) 2022-08-30 07:35:56 +02:00
Carlton Gibson
6a466b7bee
Bumped version and changelog for 4.0b1 release. (#434) 2022-08-25 12:04:14 +02:00
pre-commit-ci[bot]
7453ad9cc5
[pre-commit.ci] pre-commit autoupdate (#430)
Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
2022-08-08 21:40:53 +01:00
Carlton Gibson
2b13b74ce2
Added runserver to Daphne. (#429)
* Made daphne installable as a Django app.
* Added system check to ensure daphne is installed before
  django.contrib.staticfiles.
* Moved runserver command from Channels.
* Added changelog entry for runserver command.
2022-08-08 14:10:03 +02:00
pre-commit-ci[bot]
438b7ad06d
[pre-commit.ci] pre-commit autoupdate (#427)
updates:
- [github.com/asottile/pyupgrade: v2.37.2 → v2.37.3](https://github.com/asottile/pyupgrade/compare/v2.37.2...v2.37.3)
- [github.com/PyCQA/flake8: 4.0.1 → 5.0.2](https://github.com/PyCQA/flake8/compare/4.0.1...5.0.2)

Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
2022-08-02 08:56:41 +02:00
pre-commit-ci[bot]
e04b4077f4
[pre-commit.ci] pre-commit autoupdate (#426)
Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
2022-07-25 23:59:09 +01:00
pre-commit-ci[bot]
5502d1d37b
[pre-commit.ci] pre-commit autoupdate (#424) 2022-07-13 06:24:58 +01:00
Carlton Gibson
71ba440761
Added support for ASGI_THREADS max worker limit. (#422)
Closes #319
2022-07-06 12:37:26 +02:00
David Smith
6199d509c2
Merge pull request #421 from django/pre-commit-ci-update-config
[pre-commit.ci] pre-commit autoupdate
2022-07-04 21:08:13 +01:00
pre-commit-ci[bot]
1df4f08fac
[pre-commit.ci] pre-commit autoupdate
updates:
- [github.com/psf/black: 22.3.0 → 22.6.0](https://github.com/psf/black/compare/22.3.0...22.6.0)
2022-07-04 19:40:09 +00:00
pre-commit-ci[bot]
7d4316fd4a
[pre-commit.ci] pre-commit autoupdate (#418)
updates:
- [github.com/asottile/pyupgrade: v2.32.1 → v2.34.0](https://github.com/asottile/pyupgrade/compare/v2.32.1...v2.34.0)

Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
2022-06-13 23:58:38 +01:00
baseplate-admin
54745d0f83
Set a default Server header for HTTP responses (#396)
Co-authored-by: Carlton Gibson <carlton.gibson@noumenal.es>
2022-05-24 12:40:02 +02:00
Abhimanyu Saharan
87bc5a7975 Added argument to change log format. (#414) 2022-05-23 16:41:45 +02:00
Carlton Gibson
5e709795b4
Updated supported Python and dependency versions. (#417)
* Updated Python support and dependencies.
* Updated Python support in README.
* Removed PY36 from GHA workflow.
* Remove pre-commit workflow. Fixes #397
* Updated Black in pre-commit to 22.3.0.
* Update all pre-commit hooks.
* [pre-commit.ci] auto fixes from pre-commit.com hooks
2022-05-23 15:34:29 +02:00
Marcin Muszynski
eae1ff0df4
Set default attributes on WebRequest (#406) 2022-02-14 16:12:56 +01:00
Carlton Gibson
6a5093982c
Run CI tests on Windows. (#393)
* Updated minimum twisted to 19.7

Co-authored-by: Michael Käufl <django@c.michael-kaeufl.de>
2021-11-09 20:12:29 +01:00
Carlton Gibson
b62e58a023
Added Python 3.10 to CI. (#392) 2021-11-09 15:58:09 +01:00
Carlton Gibson
15a754d903
Unpinned test dependencies. (#391) 2021-11-09 15:55:18 +01:00
Adam Johnson
36ce9fd1ed
Use tox-py in CI (#369) 2021-04-16 18:21:51 +02:00
Carlton Gibson
e480917c1a Bumped version and change notes for 3.0.2 release. 2021-04-07 20:26:57 +02:00
Carlton Gibson
d5c41bf641 Updated various README URLs. 2021-04-07 20:26:57 +02:00
Adam Johnson
2b6f153616
Used partial() to wrap Server.handle_reply() (#364)
Fixes #332.
2021-04-07 20:14:02 +02:00
Adam Johnson
ca61162129
Lint with pre-commit (#365)
* Lint with pre-commit

* Move existing tox qa hooks into pre-commit.
* Set up GitHub Action based on https://github.com/pre-commit/action/ (we could also use https://pre-commit.ci ).
* Add `pyupgrade` to drop old Python syntax.
* Add `flake8-bugbear` plugin to prevent flake8 errors.

* Drop custom GHA
2021-04-07 20:11:21 +02:00
Carlton Gibson
aac4708a61 Bumped version and change notes for 3.0.1 release. 2020-11-12 20:34:13 +01:00
Patrick Gingras
aae0870971
Handle asyncio.CancelledError in Server.application_checker (#341)
As of [bpo-32528](https://bugs.python.org/issue32528), asyncio.CancelledError is
not a subclass of concurrent.futures.CancelledError. This means that if an
asyncio future raises an exception, it won't be caught. Therefore, the
exception will bubble past the try-except within the loop in application_checker,
resulting in done applications not being cleaned up, and the application_checker
task not being queued again.
2020-11-11 16:12:33 +01:00