The NetBSD Project

CVS log for pkgsrc/www/py-daphne/Makefile

[BACK] Up to [cvs.NetBSD.org] / pkgsrc / www / py-daphne

Request diff between arbitrary revisions


Default branch: MAIN


Revision 1.27 / (download) - annotate - [select for diffs], Sun Feb 11 15:32:30 2024 UTC (3 weeks ago) by adam
Branch: MAIN
CVS Tags: HEAD
Changes since 1.26: +4 -2 lines
Diff to previous 1.26 (colored)

py-daphne: updated to 4.1.0

4.1.0 (2024-02-10)
------------------
* Added support for Python 3.12.
* Dropped support for EOL Python 3.7.
* Handled root path for websocket scopes.
* Validate HTTP header names as per RFC 9110.

Revision 1.26 / (download) - annotate - [select for diffs], Thu Jan 4 22:34:29 2024 UTC (8 weeks, 3 days ago) by adam
Branch: MAIN
Changes since 1.25: +8 -9 lines
Diff to previous 1.25 (colored)

py-daphne: updated to 4.0.0

4.0.0 (2022-10-07)
------------------

Major versioning targeting use with Channels 4.0 and beyond. Except where
noted should remain usable with Channels v3 projects, but updating Channels to the latest version is recommended.

* Added a ``runserver`` command to run an ASGI Django development server.

  Added ``"daphne"`` to the ``INSTALLED_APPS`` setting, before
  ``"django.contrib.staticfiles"`` to enable:

  INSTALLED_APPS = [
    "daphne",
    ...
  ]

  This replaces the Channels implementation of ``runserver``, which is removed
  in Channels 4.0.

* Made the ``DaphneProcess`` tests helper class compatible with the ``spawn``
  process start method, which is used on macOS and Windows.

  Note that requires Channels v4 if using with ``ChannelsLiveServerTestCase``.

* Dropped support for Python 3.6.

* Updated dependencies to the latest versions.

  Previously a range of Twisted versions have been supported. Recent Twisted
  releases (22.2, 22.4) have issued security fixes, so those are now the
  minimum supported version. Given the stability of Twisted, supporting a
  range of versions does not represent a good use of maintainer time. Going
  forward the latest Twisted version will be required.

* Set ``daphne`` as default ``Server`` header.

  This can be configured with the ``--server-name`` CLI argument.

  Added the new ``--no-server-name`` CLI argument to disable the ``Server``
  header, which is equivalent to ``--server-name=` (an empty name).

* Added ``--log-fmt`` CLI argument.

* Added support for ``ASGI_THREADS`` environment variable, setting the maximum
  number of workers used by a ``SyncToAsync`` thread-pool executor.

  Set e.g. ``ASGI_THREADS=4 daphne ...`` when running to limit the number of
  workers.

* Removed deprecated ``--ws_protocols`` CLI option.

Revision 1.25 / (download) - annotate - [select for diffs], Tue Jun 6 12:42:49 2023 UTC (8 months, 4 weeks ago) by riastradh
Branch: MAIN
CVS Tags: pkgsrc-2023Q4-base, pkgsrc-2023Q4, pkgsrc-2023Q3-base, pkgsrc-2023Q3, pkgsrc-2023Q2-base, pkgsrc-2023Q2
Changes since 1.24: +2 -2 lines
Diff to previous 1.24 (colored)

Mass-change BUILD_DEPENDS to TOOL_DEPENDS outside mk/.

Almost all uses, if not all of them, are wrong, according to the
semantics of BUILD_DEPENDS (packages built for target available for
use _by_ tools at build-time) and TOOL_DEPEPNDS (packages built for
host available for use _as_ tools at build-time).

No change to BUILD_DEPENDS as used correctly inside buildlink3.

As proposed on tech-pkg:
https://mail-index.netbsd.org/tech-pkg/2023/06/03/msg027632.html

Revision 1.24 / (download) - annotate - [select for diffs], Wed Jan 5 15:41:29 2022 UTC (2 years, 1 month ago) by wiz
Branch: MAIN
CVS Tags: pkgsrc-2023Q1-base, pkgsrc-2023Q1, pkgsrc-2022Q4-base, pkgsrc-2022Q4, pkgsrc-2022Q3-base, pkgsrc-2022Q3, pkgsrc-2022Q2-base, pkgsrc-2022Q2, pkgsrc-2022Q1-base, pkgsrc-2022Q1
Changes since 1.23: +4 -2 lines
Diff to previous 1.23 (colored)

python: egg.mk: add USE_PKG_RESOURCES flag

This flag should be set for packages that import pkg_resources
and thus need setuptools after the build step.

Set this flag for packages that need it and bump PKGREVISION.

Revision 1.23 / (download) - annotate - [select for diffs], Tue Jan 4 20:55:17 2022 UTC (2 years, 1 month ago) by wiz
Branch: MAIN
Changes since 1.22: +2 -1 lines
Diff to previous 1.22 (colored)

*: bump PKGREVISION for egg.mk users

They now have a tool dependency on py-setuptools instead of a DEPENDS

Revision 1.22 / (download) - annotate - [select for diffs], Thu Apr 22 16:13:44 2021 UTC (2 years, 10 months ago) by adam
Branch: MAIN
CVS Tags: pkgsrc-2021Q4-base, pkgsrc-2021Q4, pkgsrc-2021Q3-base, pkgsrc-2021Q3, pkgsrc-2021Q2-base, pkgsrc-2021Q2
Changes since 1.21: +2 -2 lines
Diff to previous 1.21 (colored)

py-daphne: updated to 3.0.2

3.0.2 (2021-04-07)
------------------
* Fixed a bug where ``send`` passed to applications wasn't a true async
  function but a lambda wrapper, preventing it from being used with
  ``asgiref.sync.async_to_sync()``.

Revision 1.21 / (download) - annotate - [select for diffs], Mon Mar 1 09:00:09 2021 UTC (3 years ago) by adam
Branch: MAIN
CVS Tags: pkgsrc-2021Q1-base, pkgsrc-2021Q1
Changes since 1.20: +3 -3 lines
Diff to previous 1.20 (colored)

py-daphne: updated to 3.0.1

3.0.1 (2020-11-12)
* Fixed a bug where ``asyncio.CancelledError`` was not correctly handled on
  Python 3.8+, resulting in incorrect protocol application cleanup.

3.0.0 (2020-10-28)
* Updates internals to use ASGI v3 throughout. ``asgiref.compatibility`` is
  used for older applications.
* Consequently, the `--asgi-protocol` command-line option is removed.
* HTTP request bodies are now read, and passed to the application, in chunks.
* Added support for Python 3.9.
* Dropped support for Python 3.5.

Revision 1.20 / (download) - annotate - [select for diffs], Thu Apr 16 07:42:30 2020 UTC (3 years, 10 months ago) by adam
Branch: MAIN
CVS Tags: pkgsrc-2020Q4-base, pkgsrc-2020Q4, pkgsrc-2020Q3-base, pkgsrc-2020Q3, pkgsrc-2020Q2-base, pkgsrc-2020Q2
Changes since 1.19: +2 -2 lines
Diff to previous 1.19 (colored)

py-daphne: updated to 2.5.0

2.5.0:
* Fixes compatability for twisted when running Python 3.8+ on Windows, by
  setting ``asyncio.WindowsSelectorEventLoopPolicy`` as the event loop policy
  in this case.
* The internal ``daphne.testing.TestApplication`` now requires an addition
  ``lock`` argument to ``__init__()``. This is expected to be an instance of
  ``multiprocessing.Lock``.

Revision 1.19 / (download) - annotate - [select for diffs], Sat Feb 1 20:39:42 2020 UTC (4 years, 1 month ago) by adam
Branch: MAIN
CVS Tags: pkgsrc-2020Q1-base, pkgsrc-2020Q1
Changes since 1.18: +3 -3 lines
Diff to previous 1.18 (colored)

py-daphne: updated to 2.4.1

2.4.1:
* Avoids Twisted using the default event loop, for compatibility with Django
  3.0's ``async_unsafe()`` decorator in threaded contexts, such as using the
  auto-reloader.

Revision 1.18 / (download) - annotate - [select for diffs], Tue Nov 26 19:13:01 2019 UTC (4 years, 3 months ago) by adam
Branch: MAIN
CVS Tags: pkgsrc-2019Q4-base, pkgsrc-2019Q4
Changes since 1.17: +4 -3 lines
Diff to previous 1.17 (colored)

py-daphne: updated to 2.4.0

2.4.0:
* Adds CI testing against and support for Python 3.8.
* Adds support for ``raw_path`` in ASGI scope.
* Ensures an error response is sent to the client if the application sends
  malformed headers.
* Resolves an asyncio + multiprocessing problem when testing that would cause
  the test suite to fail/hang on macOS.
* Requires installing Twisted's TLS extras, via ``install_requires``.
* Adds missing LICENSE to distribution.

Revision 1.17 / (download) - annotate - [select for diffs], Mon May 6 10:24:25 2019 UTC (4 years, 9 months ago) by adam
Branch: MAIN
CVS Tags: pkgsrc-2019Q3-base, pkgsrc-2019Q3, pkgsrc-2019Q2-base, pkgsrc-2019Q2
Changes since 1.16: +3 -2 lines
Diff to previous 1.16 (colored)

py-daphne: updated to 2.3.0

2.3.0:
* Added support for ASGI v3.

Revision 1.16 / (download) - annotate - [select for diffs], Fri Apr 26 13:14:20 2019 UTC (4 years, 10 months ago) by maya
Branch: MAIN
Changes since 1.15: +2 -2 lines
Diff to previous 1.15 (colored)

Omit mentions of python 34 and 35, after those were removed.

- Includes some whitespace changes, to be handled in a separate commit.

Revision 1.15 / (download) - annotate - [select for diffs], Wed Feb 13 15:55:41 2019 UTC (5 years ago) by adam
Branch: MAIN
CVS Tags: pkgsrc-2019Q1-base, pkgsrc-2019Q1
Changes since 1.14: +2 -2 lines
Diff to previous 1.14 (colored)

py-daphne: updated to 2.2.5

2.2.5:
* WebSocket handshakes are now affected by the websocket connect timeout, so
  you can limit them from the command line.
* Server name can now be set using --server-name

Revision 1.14 / (download) - annotate - [select for diffs], Sun Dec 16 18:22:59 2018 UTC (5 years, 2 months ago) by adam
Branch: MAIN
CVS Tags: pkgsrc-2018Q4-base, pkgsrc-2018Q4
Changes since 1.13: +2 -2 lines
Diff to previous 1.13 (colored)

py-daphne: updated to 2.2.4

2.2.4:
* No longer listens on port 8000 when a file descriptor is provided with --fixed
* Fixed a memory leak with WebSockets

Revision 1.13 / (download) - annotate - [select for diffs], Wed Nov 28 14:35:29 2018 UTC (5 years, 3 months ago) by adam
Branch: MAIN
Changes since 1.12: +2 -2 lines
Diff to previous 1.12 (colored)

py-daphne: updated to 2.2.3

2.2.3:

* Enforce that response headers are only bytestrings, rather than allowing
  unicode strings and coercing them into bytes.

* New command-line options to set proxy header names: --proxy-headers-host and
  --proxy-headers-port.

Revision 1.12 / (download) - annotate - [select for diffs], Sun Aug 19 10:53:11 2018 UTC (5 years, 6 months ago) by adam
Branch: MAIN
CVS Tags: pkgsrc-2018Q3-base, pkgsrc-2018Q3
Changes since 1.11: +6 -7 lines
Diff to previous 1.11 (colored)

py-daphne: updated to 2.2.2

2.2.2:
* X-Forwarded-Proto support is now present and enabled if you turn on the
  --proxy-headers flag
* ASGI applications are no longer instantiated in a thread (the ASGI spec
  was finalised to say all constructors must be non-blocking on the main thread)

2.2.1:
* Python 3.7 compatability is flagged and ensured by using Twisted 18.7 and
  above as a dependency.
* The send() awaitable in applications no longer blocks if the connection is
  closed.
* Fixed a race condition where applications would be cleaned up before they
  had even started.

Revision 1.11 / (download) - annotate - [select for diffs], Thu Jun 14 07:55:00 2018 UTC (5 years, 8 months ago) by adam
Branch: MAIN
CVS Tags: pkgsrc-2018Q2-base, pkgsrc-2018Q2
Changes since 1.10: +2 -2 lines
Diff to previous 1.10 (colored)

py-daphne: updated to 2.2.0

2.2.0:

* HTTP timeouts have been removed by default, as they were only needed
  with ASGI/Channels 1. You can re-enable them with the --http-timeout
  argument to Daphne.

* Occasional errors on application timeout for non-fully-opened sockets
  and for trying to read closed requests under high load are fixed.

* X-Forwarded-For headers are now correctly decoded in all environments
  and no longer have unicode matching issues.

Revision 1.10 / (download) - annotate - [select for diffs], Mon Apr 30 07:36:13 2018 UTC (5 years, 10 months ago) by adam
Branch: MAIN
Changes since 1.9: +2 -2 lines
Diff to previous 1.9 (colored)

py-daphne: updated to 2.1.1

2.1.1:
* ASGI application constructors are now run in a threadpool as they might
  contain blocking synchronous code.

Revision 1.9 / (download) - annotate - [select for diffs], Mon Mar 26 00:30:50 2018 UTC (5 years, 11 months ago) by joerg
Branch: MAIN
CVS Tags: pkgsrc-2018Q1-base, pkgsrc-2018Q1
Changes since 1.8: +1 -5 lines
Diff to previous 1.8 (colored)

Simplify

Revision 1.8 / (download) - annotate - [select for diffs], Sat Mar 24 17:07:06 2018 UTC (5 years, 11 months ago) by joerg
Branch: MAIN
Changes since 1.7: +9 -4 lines
Diff to previous 1.7 (colored)

Needs py-test-runner.

Revision 1.7 / (download) - annotate - [select for diffs], Wed Mar 14 08:00:08 2018 UTC (5 years, 11 months ago) by adam
Branch: MAIN
Changes since 1.6: +2 -2 lines
Diff to previous 1.6 (colored)

py-daphne: updated to 2.1.0

2.1.0:
* Removed subprotocol support from server, as it never really worked. Subprotocols
  can instead be negotiated by ASGI applications now.
* Non-ASCII query strings now raise a 400 Bad Request error rather than silently
  breaking the logger

Revision 1.6 / (download) - annotate - [select for diffs], Thu Feb 22 08:54:28 2018 UTC (6 years ago) by adam
Branch: MAIN
Changes since 1.5: +2 -2 lines
Diff to previous 1.5 (colored)

py-daphne: updated to 2.0.4

2.0.4:
* Ping timeouts no longer reset on outgoing data, only incoming data
* No more errors when connections close prematurely

Revision 1.5 / (download) - annotate - [select for diffs], Wed Feb 14 14:21:33 2018 UTC (6 years ago) by adam
Branch: MAIN
Changes since 1.4: +5 -7 lines
Diff to previous 1.4 (colored)

py-daphne: updated to 2.0.3

2.0.3:
* Unix socket listening no longer errors during startup (introduced in 2.0.2)
* ASGI Applications are now not immediately killed on disconnection but instead
  given --application-close-timeout seconds to exit (defaults to 10)

2.0.2:
* WebSockets are no longer closed after the duration of http_timeout

2.0.1:
* Updated logging to correctly route exceptions through the main Daphne logger

2.0.0:
* Major rewrite to the new async-based ASGI specification and to support
  Channels 2. Not backwards compatible.

Revision 1.4 / (download) - annotate - [select for diffs], Wed Jan 10 08:36:54 2018 UTC (6 years, 1 month ago) by adam
Branch: MAIN
Changes since 1.3: +4 -4 lines
Diff to previous 1.3 (colored)

py-daphne: updated to 1.4.2

1.4.2:
* Bugfix for WebSocket protocol when X-Forwarded-For is turned on.

1.4.1:
* Bugfix for a bad merge of HTTPFactory for X-Forwarded-Proto causing Daphne
  to not start.

1.4.0:
* The X-Forwarded-Proto header can now be used to pass along protocol from
  a reverse proxy.
* WebSocket headers are now correctly always passed as bytestrings.

Revision 1.3 / (download) - annotate - [select for diffs], Fri Dec 8 20:38:59 2017 UTC (6 years, 2 months ago) by joerg
Branch: MAIN
CVS Tags: pkgsrc-2017Q4-base, pkgsrc-2017Q4
Changes since 1.2: +4 -1 lines
Diff to previous 1.2 (colored)

Restrict Python support as py-asgiref doesn't support 2.7 and 3.4.

Revision 1.2 / (download) - annotate - [select for diffs], Sun Jul 30 22:32:26 2017 UTC (6 years, 7 months ago) by wiz
Branch: MAIN
CVS Tags: pkgsrc-2017Q3-base, pkgsrc-2017Q3
Changes since 1.1: +2 -2 lines
Diff to previous 1.1 (colored)

Switch github HOMEPAGEs to https.

Revision 1.1 / (download) - annotate - [select for diffs], Wed Jun 21 19:09:21 2017 UTC (6 years, 8 months ago) by adam
Branch: MAIN
CVS Tags: pkgsrc-2017Q2-base, pkgsrc-2017Q2

Daphne is a HTTP, HTTP2 and WebSocket protocol server for ASGI, and developed
to power Django Channels.

It supports automatic negotiation of protocols; there's no need for URL
prefixing to determine WebSocket endpoints versus HTTP endpoints.

This form allows you to request diff's between any two revisions of a file. You may select a symbolic revision name using the selection box or you may type in a numeric name using the type-in text box.




CVSweb <webmaster@jp.NetBSD.org>