The NetBSD Project

CVS log for pkgsrc/devel/py-uvloop/Makefile

[BACK] Up to [cvs.NetBSD.org] / pkgsrc / devel / py-uvloop

Request diff between arbitrary revisions


Keyword substitution: kv
Default branch: MAIN


Revision 1.42: download - view: text, markup, annotated - select for diffs
Fri Oct 16 19:43:53 2026 UTC (4 weeks, 2 days ago) by adam
Branches: MAIN
CVS tags: HEAD
Diff to: previous 1.41: preferred, colored
Changes since revision 1.41: +2 -2 lines
Forget Python 3.10

Revision 1.41: download - view: text, markup, annotated - select for diffs
Thu Oct 1 06:51:13 2026 UTC (6 weeks, 4 days ago) by adam
Branches: MAIN
Diff to: previous 1.40: preferred, colored
Changes since revision 1.40: +4 -3 lines
py-uvloop: updated to 0.23.0

0.23.0

Changes

Add Python 3.15 and 3.15t wheel builds and CI coverage
Add support for the eager_start keyword argument in create_task()
Add thread name prefix to the default thread pool executor
Add support for special hostname <broadcast>
Upgrade libuv to v1.52.1
Improve performance by using Python C API to enter/exit context
Improve performance/latency of Transport.write
Replace some SSL vectorcall with direct methods
Optimize SSL buffered reads using C values

Fixes

Detach socket on create_connection cancellation to prevent fd double-close
Remove loop._ready_len in favor of len(loop._ready)
Prefer inspect.iscoroutinefunction
Fix context tests by explicitly yielding after run_in_executor
Fix test_create_connection_open_con_addr with Python 3.13.9+
Skip flaky test_cancel_post_init on asyncio 3.13+
Fix flaky test_fs_event
Use C __atomic builtins for debug counters
Update the example to work with Python 3.14

Build

Replace pkg_resources with packaging and use Cython 3.1
Remove wheel as a build dependency
Support any number of flags in UVLOOP_OPT_CFLAGS

Revision 1.40: download - view: text, markup, annotated - select for diffs
Sun Jun 28 15:41:18 2026 UTC (4 months, 2 weeks ago) by wiz
Branches: MAIN
CVS tags: pkgsrc-2026Q3-base, pkgsrc-2026Q3
Diff to: previous 1.39: preferred, colored
Changes since revision 1.39: +3 -1 lines
*: limit Python versions due to py-numpy dropping Python 3.11 support

Revision 1.39: download - view: text, markup, annotated - select for diffs
Mon Oct 20 08:12:21 2025 UTC (12 months, 3 weeks ago) by adam
Branches: MAIN
CVS tags: pkgsrc-2026Q2-base, pkgsrc-2026Q2, pkgsrc-2026Q1-base, pkgsrc-2026Q1, pkgsrc-2025Q4-base, pkgsrc-2025Q4
Diff to: previous 1.38: preferred, colored
Changes since revision 1.38: +3 -6 lines
py-uvloop: updated to 0.22.1

0.22.1

This is identical to 0.22.0, re-ran with CI fixes


0.22.0

Changes

Fixes for Python 3.14
Add free-threading support

Fixes

Use Cython enum for __PREALLOCED_BUFS
test: fix getaddrinfo test
test: fix task name for Python 3.13.3/3.14

Revision 1.38: download - view: text, markup, annotated - select for diffs
Thu Oct 9 07:57:37 2025 UTC (13 months, 1 week ago) by wiz
Branches: MAIN
Diff to: previous 1.37: preferred, colored
Changes since revision 1.37: +2 -2 lines
*: remove reference to (removed) Python 3.9

Revision 1.37: download - view: text, markup, annotated - select for diffs
Fri Jul 4 09:08:38 2025 UTC (16 months, 1 week ago) by wiz
Branches: MAIN
CVS tags: pkgsrc-2025Q3-base, pkgsrc-2025Q3
Diff to: previous 1.36: preferred, colored
Changes since revision 1.36: +3 -1 lines
*: mark more py-cython dependencies as needing Python>=3.11

Revision 1.36: download - view: text, markup, annotated - select for diffs
Sat Apr 12 21:37:07 2025 UTC (19 months ago) by adam
Branches: MAIN
CVS tags: pkgsrc-2025Q2-base, pkgsrc-2025Q2
Diff to: previous 1.35: preferred, colored
Changes since revision 1.35: +3 -2 lines
Fix PLIST after py-setuptools update; bump depends and revision

Revision 1.35: download - view: text, markup, annotated - select for diffs
Mon Nov 11 07:28:29 2024 UTC (2 years ago) by wiz
Branches: MAIN
CVS tags: pkgsrc-2025Q1-base, pkgsrc-2025Q1, pkgsrc-2024Q4-base, pkgsrc-2024Q4
Diff to: previous 1.34: preferred, colored
Changes since revision 1.34: +1 -2 lines
py-*: remove unused tool dependency

py-setuptools includes the py-wheel functionality nowadays

Revision 1.34: download - view: text, markup, annotated - select for diffs
Tue Oct 15 05:49:41 2024 UTC (2 years, 1 month ago) by adam
Branches: MAIN
Diff to: previous 1.33: preferred, colored
Changes since revision 1.33: +4 -5 lines
py-uvloop: updated to 0.21.0

0.21.0

Changes

Add cleanup_socket param on create_unix_server()

Fixes

Use cythonized SO_REUSEPORT rather than the unwrapped native one.
UDP errors should result in protocol.error_received
Updates for Cython3
Test with Python 3.13

Revision 1.33: download - view: text, markup, annotated - select for diffs
Mon Aug 19 13:34:54 2024 UTC (2 years, 2 months ago) by adam
Branches: MAIN
CVS tags: pkgsrc-2024Q3-base, pkgsrc-2024Q3
Diff to: previous 1.32: preferred, colored
Changes since revision 1.32: +7 -4 lines
py-uvloop: updated to 0.20.0

v0.20.0

Changes

Upgrade libuv to v1.48.0

Fixes

Fix test_create_server_4 with Python 3.12.5
Use len(os.sched_getaffinity(0)) instead of os.cpu_count()
Inline _Py_RestoreSignals() from CPython

Revision 1.32: download - view: text, markup, annotated - select for diffs
Mon Oct 23 11:48:33 2023 UTC (3 years ago) by adam
Branches: MAIN
CVS tags: pkgsrc-2024Q2-base, pkgsrc-2024Q2, pkgsrc-2024Q1-base, pkgsrc-2024Q1, pkgsrc-2023Q4-base, pkgsrc-2023Q4
Diff to: previous 1.31: preferred, colored
Changes since revision 1.31: +2 -2 lines
py-uvloop: updated to 0.19.0

v0.19.0

Changes

Drop support of Python 3.7 and update CI

Fixes

Restore uvloop.new_event_loop and other missing uvloop members to typing
Fix docstring of loop.shutdown_default_executor
Fix CI status badge

Revision 1.31: download - view: text, markup, annotated - select for diffs
Wed Oct 18 08:57:11 2023 UTC (3 years ago) by adam
Branches: MAIN
Diff to: previous 1.30: preferred, colored
Changes since revision 1.30: +2 -2 lines
py-uvloop: updated to 0.18.0

v0.18.0

Fixes

CI fixes
Make extract_stack resilient to lacking frames.
Port uvloop to Python 3.12

Revision 1.30: download - view: text, markup, annotated - select for diffs
Wed Oct 19 14:25:18 2022 UTC (4 years ago) by nia
Branches: MAIN
CVS tags: pkgsrc-2023Q3-base, pkgsrc-2023Q3, pkgsrc-2023Q2-base, pkgsrc-2023Q2, pkgsrc-2023Q1-base, pkgsrc-2023Q1, pkgsrc-2022Q4-base, pkgsrc-2022Q4
Diff to: previous 1.29: preferred, colored
Changes since revision 1.29: +3 -2 lines
fighting a losing battle against the py-cryptography rustification, part 5

Convert py-OpenSSL users to versioned_dependencies.mk

Revision 1.29: download - view: text, markup, annotated - select for diffs
Fri Sep 16 13:00:15 2022 UTC (4 years, 2 months ago) by adam
Branches: MAIN
CVS tags: pkgsrc-2022Q3-base, pkgsrc-2022Q3
Diff to: previous 1.28: preferred, colored
Changes since revision 1.28: +3 -4 lines
py-uvloop: updated to 0.17.0

v0.17.0

This release adds Python 3.11 support, updates bundled libuv to 1.43.0
and fixes a handful of issues.

Changes

Expose uv_loop_t pointer for integration with other C-extensions
Support python 3.11+
Expose libuv uv_fs_event functionality
Activate debug mode when -X dev is used
Expose uv_version() for libuv API compatibility
Fix loop.getaddrinfo() and tests
Bump to libuv 1.43.0

Fixes

_TransProtPair is no longer defined in asyncio.events
use a TypeVar for asyncio.BaseProtocol
Fix segfault in TimerHandle.when() after cleared
Avoid self._errpipe_write double close
Fix typo in test
Fix potential infinite loop
use a stack of self._fds_to_close to prevent double closes
Fix incorrect main thread id value forking from a thread
create_subprocess_exec should treat env={} as empty environment
Queue write only after processing all buffers
Drop Python 3.6 support for thread ident
bugfix: write to another transport in resume_writing() fails

Build

Upgrade GitHub Actions
typo same as same
setup.py: allow to override extra_compile_args
Drop hack in setup.py in finalize_options (492)
Fix tests invocation on release CI worklow

Documentation

use asyncio.Runner loop_factory on 3.11+
Fix CI badge in docs, remove remaining Travis CI references from docs
Fix typo in README

Revision 1.28: download - view: text, markup, annotated - select for diffs
Tue Jan 4 20:53:47 2022 UTC (4 years, 10 months ago) by wiz
Branches: MAIN
CVS tags: pkgsrc-2022Q2-base, pkgsrc-2022Q2, pkgsrc-2022Q1-base, pkgsrc-2022Q1
Diff to: previous 1.27: preferred, colored
Changes since revision 1.27: +2 -1 lines
*: bump PKGREVISION for egg.mk users

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

Revision 1.27: download - view: text, markup, annotated - select for diffs
Thu Dec 30 13:05:31 2021 UTC (4 years, 10 months ago) by adam
Branches: MAIN
Diff to: previous 1.26: preferred, colored
Changes since revision 1.26: +2 -2 lines
Forget about Python 3.6

Revision 1.26: download - view: text, markup, annotated - select for diffs
Wed Aug 11 07:03:57 2021 UTC (5 years, 3 months ago) by adam
Branches: MAIN
CVS tags: pkgsrc-2021Q4-base, pkgsrc-2021Q4, pkgsrc-2021Q3-base, pkgsrc-2021Q3
Diff to: previous 1.25: preferred, colored
Changes since revision 1.25: +3 -3 lines
py-uvloop: updated to 0.16.0

v0.16.0

This release adds Python 3.10 support, updates bundled libuv to 1.42.0
and fixes a handful of issues.

Changes

Python 3.10 support
Bump vendored libuv to 1.42.0
Use cibuildwheel to build wheels
Add support for <timer handle>.when()

Fixes

Fix ref issue when protocol is in Cython
Set python_requires in setup.py
SSL: schedule first data after waiter wakeup
Fix a possible race condition in sslproto test
Fix call_soon_threadsafe thread safety

Revision 1.25: download - view: text, markup, annotated - select for diffs
Wed Jul 14 08:08:07 2021 UTC (5 years, 4 months ago) by adam
Branches: MAIN
Diff to: previous 1.24: preferred, colored
Changes since revision 1.24: +2 -2 lines
py-uvloop: updated to 0.15.3

v0.15.3:
Bug Fixes

SSL: schedule first data after waiter wakeup
Fix a possible race condition in sslproto test
Fix call_soon_threadsafe thread safety

Revision 1.24: download - view: text, markup, annotated - select for diffs
Fri Feb 19 05:45:07 2021 UTC (5 years, 8 months ago) by adam
Branches: MAIN
CVS tags: pkgsrc-2021Q2-base, pkgsrc-2021Q2, pkgsrc-2021Q1-base, pkgsrc-2021Q1
Diff to: previous 1.23: preferred, colored
Changes since revision 1.23: +3 -3 lines
py-uvloop: updated to 0.15.2

v0.15.2
Add python_requires in setup.py to fix dependency resolution issues

Revision 1.23: download - view: text, markup, annotated - select for diffs
Mon Feb 15 20:43:15 2021 UTC (5 years, 9 months ago) by adam
Branches: MAIN
Diff to: previous 1.22: preferred, colored
Changes since revision 1.22: +2 -2 lines
py-uvloop: updated to 0.15.1

v0.15.1

Bug Fixes

Fix a segfault issue when a Cython protocol is de-referencing itself from Context.run() callbacks

Revision 1.22: download - view: text, markup, annotated - select for diffs
Wed Feb 10 08:18:25 2021 UTC (5 years, 9 months ago) by adam
Branches: MAIN
Diff to: previous 1.21: preferred, colored
Changes since revision 1.21: +2 -2 lines
py-uvloop: updated to 0.15.0

v0.15.0

New Features

Add name keyword argument to loop.create_task()
Add typing support

Bug Fixes

SSL: many improvements
Fix KeyboardInterrupt handling logic
Python 3.8/3.9 compatibility fixes, drop support for 3.5/3.6
UDP: multiple bug fixes
Pipe: a critical crash fix that affects subprocess, pipe and socketpair
Restore context on protocol callbacks
Subprocess: stdio bug fixes
Sock: fix issue in sock_connect() for large concurrency
Misc fixes about docs URL, test typo, and CI compatibility

Revision 1.21: download - view: text, markup, annotated - select for diffs
Wed Nov 6 12:48:47 2019 UTC (7 years ago) by adam
Branches: MAIN
CVS tags: pkgsrc-2020Q4-base, pkgsrc-2020Q4, pkgsrc-2020Q3-base, pkgsrc-2020Q3, pkgsrc-2020Q2-base, pkgsrc-2020Q2, pkgsrc-2020Q1-base, pkgsrc-2020Q1, pkgsrc-2019Q4-base, pkgsrc-2019Q4
Diff to: previous 1.20: preferred, colored
Changes since revision 1.20: +3 -3 lines
py-uvloop: updated to 0.14.0

v0.14.0

New Features
Add support for Python 3.8.

Bug Fixes
Multiple fixes in the SSL/TLS layer.
Restore signal.wakeup_fd after the event loop is closed.
Handle large timeouts in loop.call_later().
Fix possible feezing of uvloop on os.fork.
Better handle Unix sockets for datagram transports.
Avoid double connecting to remote_addr for datagram transports.

Build
Bump Cython to 0.29.13.
Bump libuv to v1.33.1.

Revision 1.20: download - view: text, markup, annotated - select for diffs
Wed Sep 25 08:45:54 2019 UTC (7 years, 1 month ago) by adam
Branches: MAIN
CVS tags: pkgsrc-2019Q3-base, pkgsrc-2019Q3
Diff to: previous 1.19: preferred, colored
Changes since revision 1.19: +1 -4 lines
py-uvloop: fix buidling - do not compile internal libuv when it is not used

Revision 1.19: download - view: text, markup, annotated - select for diffs
Sat Aug 17 11:05:48 2019 UTC (7 years, 3 months ago) by adam
Branches: MAIN
Diff to: previous 1.18: preferred, colored
Changes since revision 1.18: +8 -3 lines
py-uvloop: updated to 0.13.0

v0.13.0

New Features
Implement Server.start_serving() and related APIs.
Make Server an asynchronous context manager.

Performance
Start using high-performance uv_udp_t handle. This
should result in a significantly faster UDP support.
Make address validation faster in udp.sendto().

Misc
OSError is no longer logged by Transports.
This matches asyncio behaviour in 3.8.

Build
Upgrade to libuv v1.31.0.
Use manylinux-2010. This means we no longer provide
32bit builds for Linux.

Revision 1.18: download - view: text, markup, annotated - select for diffs
Fri Apr 26 13:13:54 2019 UTC (7 years, 6 months ago) by maya
Branches: MAIN
CVS tags: pkgsrc-2019Q2-base, pkgsrc-2019Q2
Diff to: previous 1.17: preferred, colored
Changes since revision 1.17: +2 -2 lines
Omit mentions of python 34 and 35, after those were removed.

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

Revision 1.17: download - view: text, markup, annotated - select for diffs
Thu Mar 21 10:15:41 2019 UTC (7 years, 7 months ago) by adam
Branches: MAIN
CVS tags: pkgsrc-2019Q1-base, pkgsrc-2019Q1
Diff to: previous 1.16: preferred, colored
Changes since revision 1.16: +2 -2 lines
py-uvloop: updated to 0.12.2

v0.12.2
Bug Fixes
* Fix circular references in SSL implementation to reduce
 the need for GC.
* Fix a memory leak in call_later() and call_at().
  The leak occurred when a callback argument had a reference to
  the event loop.
* Fix compilation warnings.
* Round (instead of flooring) delay in call_later().
  This ensures that the callback is never called slightly before
  the specified time.

Revision 1.16: download - view: text, markup, annotated - select for diffs
Wed Feb 13 12:47:58 2019 UTC (7 years, 9 months ago) by adam
Branches: MAIN
Diff to: previous 1.15: preferred, colored
Changes since revision 1.15: +2 -2 lines
py-uvloop: updated to 0.12.1

v0.12.1:
Fix a circular references case in SSL implementation.
Cleanup references to callbacks in canceled callback handles.

Revision 1.15: download - view: text, markup, annotated - select for diffs
Tue Jan 22 08:56:38 2019 UTC (7 years, 9 months ago) by adam
Branches: MAIN
Diff to: previous 1.14: preferred, colored
Changes since revision 1.14: +2 -2 lines
py-uvloop: updated to 0.12.0

v0.12.0:
New Features
- New SSL implementation. The new implementation is faster and
  and more complete, and will become the default SSL implementation
  in asyncio 3.8. This is a significant change that warrants a release
  candidate to make sure it is tested properly.
- New uvloop.install() helper function.

Bug Fixes
- All bug fixes from 0.11.0—0.11.3 are included in
this release.
- ssl.CertificateError is no longer logged as it's delivered to
the Protocol.connection_lost() anyways.
- Don't use non-existent UDPTransport._address attribute.

Performance
- Improve UDPTransport.sendto() performance.

Revision 1.14: download - view: text, markup, annotated - select for diffs
Wed Oct 31 10:46:15 2018 UTC (8 years ago) by adam
Branches: MAIN
CVS tags: pkgsrc-2018Q4-base, pkgsrc-2018Q4
Diff to: previous 1.13: preferred, colored
Changes since revision 1.13: +3 -3 lines
py-uvloop: updated to 0.11.3

v0.11.3:
Bug Fixes
* Use new PyOS_BeforeFork and PyOS_AfterFork_* 3.7 APIs when available
* Fix async generators finalization to function correctly in debug mode
* Pass backlog to loop.create_unix_server() when a server is created via
  loop.create_server(sock=unix_sock, backlog=backlog).
* Don't raise "requires a DNS lookup" error on Unix Domain Socket
* Fix use of PyContext* APIs in 3.7.1

Revision 1.13: download - view: text, markup, annotated - select for diffs
Fri Aug 10 06:34:49 2018 UTC (8 years, 3 months ago) by adam
Branches: MAIN
CVS tags: pkgsrc-2018Q3-base, pkgsrc-2018Q3
Diff to: previous 1.12: preferred, colored
Changes since revision 1.12: +2 -2 lines
py-uvloop: updated to 0.11.2

v0.11.2:
Fix a memory leak related to contextvars support.

Revision 1.12: download - view: text, markup, annotated - select for diffs
Mon Aug 6 19:42:55 2018 UTC (8 years, 3 months ago) by adam
Branches: MAIN
Diff to: previous 1.11: preferred, colored
Changes since revision 1.11: +2 -2 lines
py-uvloop: updated to 0.11.1

v0.11.1:

Bug Fixes
Fix server to shutdown when alive connections exist
Fix a few bugs and crashes in UDP layer
Fix FD leakage if spawning a subprocess fails
Fix libuv process handles leak when uv_spawn() fails

Revision 1.11: download - view: text, markup, annotated - select for diffs
Thu Jul 5 06:46:17 2018 UTC (8 years, 4 months ago) by adam
Branches: MAIN
Diff to: previous 1.10: preferred, colored
Changes since revision 1.10: +2 -2 lines
py-uvloop: updated 0.11.0

v0.11.0:
New Features
* Implement support for BufferedProtocol.
* Implement loop.start_tls().
* Add Server.get_loop().

Bug Fixes
* Fix Server to wait in wait_closed() until all transports are done.
* SSLTransport.abort() should mark the transport as closed.
* Fix 3.7 32bit builds.

Revision 1.10: download - view: text, markup, annotated - select for diffs
Tue Jul 3 05:03:14 2018 UTC (8 years, 4 months ago) by adam
Branches: MAIN
Diff to: previous 1.9: preferred, colored
Changes since revision 1.9: +2 -2 lines
extend PYTHON_VERSIONS_ for Python 3.7

Revision 1.9: download - view: text, markup, annotated - select for diffs
Tue Jun 26 04:22:32 2018 UTC (8 years, 4 months ago) by adam
Branches: MAIN
CVS tags: pkgsrc-2018Q2-base, pkgsrc-2018Q2
Diff to: previous 1.8: preferred, colored
Changes since revision 1.8: +2 -2 lines
py-uvloop: updated to 0.10.2

v0.10.2:
Bug Fixes
* Use a proper type for the thread indent (fixes 32-bit build for 3.7.)
* Fix cancellation race in loop.sock_recv() and loop.sock_recv_into()
  methods.
* Sync SSL error messages with CPython's SSL implementation.
* Fix SSLTransport.abort() to mark the transport as closed.
* Detect if libuv submodule has not been checked out in setup.py.

Revision 1.8: download - view: text, markup, annotated - select for diffs
Mon Jun 4 15:06:46 2018 UTC (8 years, 5 months ago) by adam
Branches: MAIN
Diff to: previous 1.7: preferred, colored
Changes since revision 1.7: +2 -2 lines
py-uvloop: updated to 0.10.1

v0.10.1:
Bump Cython from 0.28.2 to 0.28.3.

Increase default SSL handshake timeout to 60 seconds.

Add ssl_handshake_timeout parameter to loop.create_connection(),
loop.create_server(), loop.create_unix_connection(),
loop.create_unix_server(), loop.connect_accepted_socket().

Consistently close transports if create_server/create_connection/etc
timeout or cancelled.

Revision 1.7: download - view: text, markup, annotated - select for diffs
Thu May 31 09:28:40 2018 UTC (8 years, 5 months ago) by adam
Branches: MAIN
Diff to: previous 1.6: preferred, colored
Changes since revision 1.6: +2 -4 lines
py-uvloop: updated to 0.10.0

v0.10.0
New Features
* Support Python 3.7.
* Implement PEP 567 support (contextvars module) for Python 3.7.
* Add uvloop's own version of asyncio/sslproto.py. SSL is now ~50% faster.
* Convert Future-returning loop methods to coroutines.
* Allow file objects to be passed to loop.subprocess* functions.
* Make signals processing more reliable.
* Prohibit adding a signal handler for SIGCHLD.
* Add uvloop.__version__.

Bug Fixes
* Upgrade to Cython 0.28.2.
* Update libuv from v1.17.0 to v1.20.3.
* Make sure UDP handles are cleaned-up properly.
* Fix subprocess.close() to let its processes die gracefully.
* Fix sock_connect() to resolve addresses for correct socket family.
* Fix a race condition in SSL handshake.

Revision 1.6: download - view: text, markup, annotated - select for diffs
Wed Nov 29 07:56:47 2017 UTC (8 years, 11 months ago) by adam
Branches: MAIN
CVS tags: pkgsrc-2018Q1-base, pkgsrc-2018Q1, pkgsrc-2017Q4-base, pkgsrc-2017Q4
Diff to: previous 1.5: preferred, colored
Changes since revision 1.5: +2 -2 lines
py-uvloop: updated to 0.9.1

v0.9.1
* Stop using malloc for uv_request* handlers.
* Fix loop.add_reader(), loop.add_writer(), loop.remove_reader(),
  and loop.remove_writer() to better track socket objects.
* Fix loop.sock_recv(), loop.sock_sendall(), loop.sock_recv_into(),
  and loop.sock_connect() to correctly handle Task.cancel().
* Better handle immediate cancellation of loop.create_connection().
* Make unit tests stricter: ensure loop.call_exception_handler()
  does not get called, unless it's expected.

Revision 1.5: download - view: text, markup, annotated - select for diffs
Mon Nov 27 10:44:55 2017 UTC (8 years, 11 months ago) by adam
Branches: MAIN
Diff to: previous 1.4: preferred, colored
Changes since revision 1.4: +2 -2 lines
py-uvloop: updated to 0.9.0

v0.9.0
TCP & UDP
---------
transport.get_extra_info('socket') now returns a socket-like
object. It supports socket methods like setsockopts(), but
prohibits send(), recv(), close() and any other calls that
can interfere with the transport that ultimately owns this file
descriptor.

TCP_NODELAY is used by default for all TCP connections.

Make Transport.resume_reading() and pause_reading() idempotent.
This will match asyncio in Python 3.7.

loop.create_server() keeps a strong reference to the Server
object it returns until its closed.

Fix loop.connect_accepted_socket() to return correct SSL
transport.

The UDP transport layer was rewritten from scratch. Now it uses
uv_poll_* libuv APIs, instead of high-level uv_udp_* ones.
This could mean a slight performance regression, and will be
reverted when we port uvloop to Windows. For now this is
the only viable option to make uvloop fully compatible with asyncio.
When libuv gets an API to connect UDP sockets, uv_udp_connect(),
we'll be able to switch to a better UDP implementation.

UDPTransport.sendto(data, addr) will raise an exception if
addr requires a name resolution.


Low-level sockets
-----------------
loop.add_reader() and loop.add_writer() accept file-like
objects.

loop.sock_connect() supports 4 element address tuples for
IPv6 sockets.

Protect sockets from closing while they are in use by
loop.sock_*() methods. Close all reader/writer sockets the
loop owns when it closes.


Other event loop APIs
---------------------
loop.run_until_complete() cleans up done callbacks in all
situations.

New uv_loop_fork() libuv API is used in loop.subprocess_shell()
and loop.subprocess_exec() making them more stable.

loop.call_later() accepts infinite time float('inf').

loop.subprocess_exec() accepts pathlib.Path objects for its
cwd parameter.

Support pathlib.Path objects in loop.create_unix_connection()
and loop.create_unix_server().

Try removing existing stale Unix socket paths in
loop.create_unix_server().

ascii encoding is tried before encoding with idna.

Fix slow_callback_duration repr in warnings for callback handles
and Tasks.


Python 3.7
----------
Some APIs that will be available in Python 3.7 in vanilla asyncio,
but can be used with uvloop today.

Implement .cancelled() method for callback and timer handles.

Add Transport.is_reading().

Implement loop.sock_recv_into().

Python 3.7.0a1 is now supported.


Miscellaneous
-------------
Drop custom uvloop Future and Task implementations. This means
that there will be a tiny performance regression for Python 3.5
deploys.

Limit stack traces in debug mode to make it faster.

signal.siginterrupt is now used by signals machinery to let
system calls to be repeated by default, instead of raising an
EINTR.


Build
-----
libuv in uvloop has been upgraded from v1.11.0 to v1.17.0. Aside
from bug fixes and performance improvements, libuv survives
fork.

LIBUV_CONFIGURE_HOST environment variable can be used to
cross-compile uvloop/libuv.

Cyhton was upgraded from 0.25.2 to 0.27.3.

uvloop binary is linked with pthread

Revision 1.4: download - view: text, markup, annotated - select for diffs
Wed Sep 13 06:21:01 2017 UTC (9 years, 2 months ago) by adam
Branches: MAIN
CVS tags: pkgsrc-2017Q3-base, pkgsrc-2017Q3
Diff to: previous 1.3: preferred, colored
Changes since revision 1.3: +2 -2 lines
py-uvloop: update to 0.8.1

v0.8.1:
* Fix create_datagram_endpoint to work with AF_INET6 and no local_addr

Revision 1.3: download - view: text, markup, annotated - select for diffs
Sat Jun 24 07:13:05 2017 UTC (9 years, 4 months ago) by adam
Branches: MAIN
CVS tags: pkgsrc-2017Q2-base, pkgsrc-2017Q2
Diff to: previous 1.2: preferred, colored
Changes since revision 1.2: +2 -2 lines
Added 'python' to CATEGORIES

Revision 1.2: download - view: text, markup, annotated - select for diffs
Sat Jun 24 06:50:59 2017 UTC (9 years, 4 months ago) by adam
Branches: MAIN
Diff to: previous 1.1: preferred, colored
Changes since revision 1.1: +1 -9 lines
Inital commit had too much dirt -- this is a clean-up.

Revision 1.1: download - view: text, markup, annotated - select for diffs
Sat Jun 24 06:47:58 2017 UTC (9 years, 4 months ago) by adam
Branches: MAIN
uvloop is a fast, drop-in replacement of the built-in asyncio event loop.

uvloop and asyncio, combined with the power of async/await in Python 3.5,
makes it easier than ever to write high-performance networking code in Python.

uvloop makes asyncio fast. In fact, it is at least 2x faster than nodejs,
gevent, as well as any other Python asynchronous framework. The performance
of uvloop-based asyncio is close to that of Go programs.

Diff request

This form allows you to request diffs 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.

Log view options

CVSweb <webmaster@jp.NetBSD.org>