./www/py-websockets, Implementation of the WebSocket Protocol (RFC 6455)

[ CVSweb ] [ Homepage ] [ RSS ] [ Required by ] [ Add to tracker ]


Branch: CURRENT, Version: 15.0, Package name: py312-websockets-15.0, Maintainer: pkgsrc-users

websockets is a library for developing WebSocket servers and clients in
Python. It implements RFC 6455 with a focus on correctness and simplicity.
It passes the Autobahn Testsuite.

Built on top of Python's asynchronous I/O support introduced in PEP 3156,
it provides an API based on coroutines, making it easy to write highly
concurrent applications.


Required to run:
[devel/py-setuptools] [lang/python37]

Required to build:
[pkgtools/cwrappers]

Master sites:

Filesize: 171.459 KB

Version history: (Expand)


CVS history: (Expand)


   2025-02-18 11:32:29 by Adam Ciarcinski | Files touched by this commit (3) | Package updated
Log message:
py-websockets: updated to 15.0

15.0

Backwards-incompatible changes

Client connections use SOCKS and HTTP proxies automatically.

If a proxy is configured in the operating system or with an environment \ 
variable, websockets uses it automatically when connecting to a server. SOCKS \ 
proxies require installing the third-party library python-socks.

If you want to disable the proxy, add proxy=None when calling \ 
:func:`~asyncio.client.connect`.

Keepalive is enabled in the :mod:`threading` implementation.

The :mod:`threading` implementation now sends Ping frames at regular intervals \ 
and closes the connection if it doesn't receive a matching Pong frame just like \ 
the :mod:`asyncio` implementation.

New features

Added :func:`~asyncio.router.route` and :func:`~asyncio.router.unix_route` to \ 
dispatch connections to handlers based on the request path. Read more about \ 
routing in :doc:`routing <../topics/routing>`.

Improvements

Refreshed several how-to guides and topic guides.
Added type overloads for the decode argument of \ 
:meth:`~asyncio.connection.Connection.recv`. This may simplify static typing.
   2025-02-02 11:38:04 by Havard Eidnes | Files touched by this commit (28)
Log message:
lang/python and a number of python packages: re-do atomic64.mk issue.

Evidently, python 3.13 brought in the need to support 64-bit atomics.
This means that python extension packages built with C needs to
use mk/atomic64.mk to make -latomic available on the required 32-bit
ports.  Sadly, there is no reliable way to detect in the .mk files
whether the package is using C (or C++), so this change adds an
unconditional include of mk/atomic64.mk when the python version is
equal to or larger than 3.13 for packages using egg.mk or wheel.mk.

This undoes the individual package Makefile inclusions of mk/atomic64.mk
that I've added over the last few days.
   2025-01-26 16:48:45 by Havard Eidnes | Files touched by this commit (1)
Log message:
www/py-websockets: use atomic64.mk to fix build on macppc w/python3.13.
   2025-01-20 07:07:27 by Adam Ciarcinski | Files touched by this commit (2) | Package updated
Log message:
py-websockets: updated to 14.2

14.2
Unknown changes
   2024-11-16 11:28:13 by Adam Ciarcinski | Files touched by this commit (2) | Package updated
Log message:
py-websockets: updated to 14.1

14.1
Unknown changes
   2024-11-11 09:04:59 by Thomas Klausner | Files touched by this commit (2) | Package updated
Log message:
py-websockets: update to 14.0.

Changes not found.
   2024-11-11 08:29:31 by Thomas Klausner | Files touched by this commit (862)
Log message:
py-*: remove unused tool dependency

py-setuptools includes the py-wheel functionality nowadays
   2024-08-29 10:08:31 by Adam Ciarcinski | Files touched by this commit (3) | Package updated
Log message:
py-websockets: updated to 13.0.1

13.0.1
Add provenance attestations.