Carlton Gibson
1fb4592b6b
Bumped version and changelog for v4.2.1 release.
2025-07-02 14:55:31 +02:00
Carlton Gibson
aa2dee2cf9
Fix twisted plugin installation with new packaging. ( #562 )
...
* Added test for twisted plugin installation.
Refs #557 .
* [pre-commit.ci] auto fixes from pre-commit.com hooks
for more information, see https://pre-commit.ci
* Fixed setuptools configuration
Port correct configuration from old setup.cfg file.
Regression in #542 . Fixes #557 .
---------
Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
2025-07-01 18:15:51 -07:00
Thomas Fossati
1502de002c
Remove --nostatic and --insecure args to runserver command if staticfiles app is not installed. ( #559 )
2025-05-23 20:29:43 +02:00
Carlton Gibson
ce3e7f6156
Bumped version and changelog for v4.2 release. ( #556 )
2025-05-16 16:44:28 +02:00
Carlton Gibson
7cb7253150
Add non-zero exit code to CLI for startup errors. ( #553 )
...
* Add non-zero exit code to CLI for startup errors.
* Add missing attribute to mock server.
Fixes #552 .
2025-05-15 09:23:22 +02:00
makondratev
b8b4d2a5f7
Added load_asgi_app method to CLI class ( #353 )
...
Allows simple override point for folks compiling their application, with e.g. PyInstaller.
Co-authored-by: Carlton Gibson <carlton.gibson@noumenal.es>
2025-05-07 16:47:55 +02:00
John Vandenberg
80d619d7b6
Add changelog to sdist ( #436 )
...
Co-authored-by: Carlton Gibson <carlton.gibson@noumenal.es>
2025-05-07 16:46:07 +02:00
Mohammed
beef1c1514
Allowed assigning a port in DaphneProcess test helper. ( #550 )
2025-05-07 16:33:22 +02:00
pre-commit-ci[bot]
7c9334952d
[pre-commit.ci] pre-commit autoupdate ( #551 )
...
updates:
- [github.com/psf/black: 24.10.0 → 25.1.0](https://github.com/psf/black/compare/24.10.0...25.1.0 )
- [github.com/pycqa/isort: 5.13.2 → 6.0.1](https://github.com/pycqa/isort/compare/5.13.2...6.0.1 )
- [github.com/PyCQA/flake8: 7.1.1 → 7.2.0](https://github.com/PyCQA/flake8/compare/7.1.1...7.2.0 )
Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
2025-04-18 06:58:38 -07:00
Andrew Sears
630caed915
Upgrade project metadata ( #542 )
2025-01-22 17:34:39 +01:00
pre-commit-ci[bot]
786e4c120a
[pre-commit.ci] pre-commit autoupdate ( #546 )
2025-01-07 07:33:08 +01:00
David Fuentes Baldomir
f0a3ec60e9
Add --nostatic and --insecure args to runserver command. ( #450 )
...
Fixes #449
2025-01-04 09:37:17 +01:00
David Smith
32ac73e1a0
Added support for Python 3.13. ( #539 )
2024-11-18 20:57:11 +01:00
David Smith
e25b4bcc31
Target py39-plus with pyupgrade. ( #540 )
2024-11-18 20:56:40 +01:00
Carlton Gibson
06afd9b94a
Drop support for EOL Python 3.8. ( #536 )
2024-10-28 19:03:41 -07:00
pre-commit-ci[bot]
ffad9c3cfd
[pre-commit.ci] pre-commit autoupdate ( #532 )
...
updates:
- [github.com/asottile/pyupgrade: v3.16.0 → v3.17.0](https://github.com/asottile/pyupgrade/compare/v3.16.0...v3.17.0 )
- [github.com/psf/black: 24.4.2 → 24.10.0](https://github.com/psf/black/compare/24.4.2...24.10.0 )
- [github.com/PyCQA/flake8: 7.1.0 → 7.1.1](https://github.com/PyCQA/flake8/compare/7.1.0...7.1.1 )
Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
2024-10-07 17:10:56 -07:00
Jon Janzen
862ebcd08d
Include test support files in sdist ( #530 )
...
Closes: https://github.com/django/daphne/issues/522
2024-08-26 07:02:23 -07:00
Jon Janzen
b1902e8ccd
Remove pytest-runner ( #528 )
...
Closes: https://github.com/django/daphne/issues/523
2024-08-24 11:51:43 -07:00
Robert Schütz
9ec5798c0d
fix tests with Twisted 24.7.0 ( #526 )
...
In the fixed test cases the responses now contain `HTTP/1.1` rather than
`HTTP/1.0`.
2024-08-24 20:47:58 +02:00
Jon Janzen
3607351212
Revert "Remove pytest-runner"
...
This reverts commit 420f065d9e
.
2024-08-24 11:36:44 -07:00
Jon Janzen
420f065d9e
Remove pytest-runner
...
Closes: https://github.com/django/daphne/issues/523
2024-08-24 11:34:33 -07:00
pre-commit-ci[bot]
4a55faca45
[pre-commit.ci] pre-commit autoupdate ( #515 )
...
updates:
- [github.com/asottile/pyupgrade: v3.15.2 → v3.16.0](https://github.com/asottile/pyupgrade/compare/v3.15.2...v3.16.0 )
- [github.com/psf/black: 24.3.0 → 24.4.2](https://github.com/psf/black/compare/24.3.0...24.4.2 )
- [github.com/PyCQA/flake8: 7.0.0 → 7.1.0](https://github.com/PyCQA/flake8/compare/7.0.0...7.1.0 )
Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
2024-07-02 09:38:28 +02:00
Carlton Gibson
0f15e4595b
Fixed packaging configuration. ( #510 )
...
Use auto-discovery, but make sure daphne package is correctly listed.
2024-04-11 15:23:49 +02:00
Carlton Gibson
cf9145985b
Updated version and changelog for v4.1.1 release.
2024-04-10 17:42:01 +02:00
sdc50
c0b630834c
Fix twisted.plugin install ( #507 )
2024-04-10 17:33:21 +02:00
pre-commit-ci[bot]
63790936d1
[pre-commit.ci] pre-commit autoupdate ( #503 )
2024-04-02 07:14:14 +02:00
Carlton Gibson
df0680c9ad
Updated change notes and version for 4.1 release.
2024-02-10 15:39:05 +01:00
Carlton Gibson
ef24796243
Validate HTTP header names as per RFC 9110. ( #500 )
...
Fixes #497 .
2024-02-10 15:31:37 +01:00
Alejandro R. Sedeño
9a282dd627
Handle Daphne-Root-Path for websockets, adding root_path to scope. ( #453 )
...
Signed-off-by: Alejandro R. Sedeño <asedeno@mit.edu>
2024-02-06 09:15:03 +01:00
Carlton Gibson
5fdc9176e5
Ignored flake8-bugbear B036. ( #499 )
...
"except BaseException: without re-raising" used in testing.py
2024-02-06 09:04:10 +01:00
pre-commit-ci[bot]
993efe62ce
[pre-commit.ci] pre-commit autoupdate ( #492 )
2024-01-01 19:58:51 +01:00
dependabot[bot]
c07925d53f
Bump actions/setup-python from 4 to 5 ( #491 )
2023-12-12 07:19:48 +01:00
Paolo Melchiorre
4d24e22c72
Fixed #489 -- Add support for Python 3.12 ( #490 )
2023-11-26 16:12:23 +01:00
pre-commit-ci[bot]
2d4dcbf149
[pre-commit.ci] pre-commit autoupdate ( #485 )
2023-10-03 12:59:12 +02:00
InvalidInterrupt
3758c514fd
Raise minimum supported Python version to 3.8 ( #481 )
2023-09-07 09:09:10 +02:00
dependabot[bot]
f108bbc7c1
Bump actions/checkout from 3 to 4 ( #480 )
...
Bumps [actions/checkout](https://github.com/actions/checkout ) from 3 to 4.
- [Release notes](https://github.com/actions/checkout/releases )
- [Changelog](https://github.com/actions/checkout/blob/main/CHANGELOG.md )
- [Commits](https://github.com/actions/checkout/compare/v3...v4 )
---
updated-dependencies:
- dependency-name: actions/checkout
dependency-type: direct:production
update-type: version-update:semver-major
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-09-05 07:51:07 +02:00
pre-commit-ci[bot]
e49c39a4e5
[pre-commit.ci] pre-commit autoupdate ( #477 )
...
updates:
- [github.com/asottile/pyupgrade: v3.3.1 → v3.8.0](https://github.com/asottile/pyupgrade/compare/v3.3.1...v3.8.0 )
Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
2023-07-04 05:48:51 +01: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