Up to [cvs.NetBSD.org] / pkgsrc / devel / py-execnet
Request diff between arbitrary revisions
Keyword substitution: kv
Default branch: MAIN
py-execnet: updated to 2.1.0 2.1.0 (2024-04-05) Added main_thread_only execmodel which is derived from the thread execmodel and only executes remote_exec calls in the main thread. Callers of remote_exec must use the returned channel to wait for a task to complete before they call remote_exec again, otherwise the remote_exec call will fail with a concurrent remote_exec would cause deadlock error. Also fixed init_popen_io to use closefd=False for shared stdin and stdout file descriptors, preventing Bad file descriptor errors triggered by test_stdouterrin_setnull. The library is now typed and the typing is exposed to type-checkers. Re-exported Gateway, Channel, DumpError and LoadError from execnet. The constructors are private. Fixed GatewayBase.join() timeout argument getting ignored. Removed support for Python 3.7. Added official support for Python 3.12.
python/wheel.mk: simplify a lot, and switch to 'installer' for installation This follows the recommended bootstrap method (flit_core, build, installer). However, installer installs different files than pip, so update PLISTs for all packages using wheel.mk and bump their PKGREVISIONs.
py-execnet: updated to 2.0.2 2.0.2 (2023-07-09) Re-release without code changes, just to include tox.ini into the source distribution. 2.0.1 (2023-07-08) Re-release without code changes, just to include docs and tests into the source distribution. 2.0.0 (2023-07-06) Removed support for Python < 3.7. Applied pyupgrade --py37-plus. Minimal mypy fixes and dropped Python 2 support code. Migrated packaging to hatch. Dropped deprecated APIs of old makegateway names. Removed py testing dependency. Explicitly pass encoding when opening files in the gateway to get rid of warnings when using PYTHONWARNDEFAULTENCODING=1. Fixed error when loading source code files from a path containing non-ascii characters.
execnet provides carefully tested means to ad-hoc interact with Python interpreters across version, platform and network barriers. It provides a minimal and fast API targetting the following uses: * distribute tasks to local or remote processes * write and deploy hybrid multi-process applications * write scripts to administer multiple hosts Features * zero-install bootstrapping: no remote installation required! * flexible communication: send/receive as well as callback/queue mechanisms supported * simple serialization of python builtin types (no pickling) * grouped creation and robust termination of processes * well tested between CPython 2.6-3.X, Jython 2.5.1 and PyPy 2.2 interpreters. * interoperable between Windows and Unix-ish systems. * integrates with different threading models, including standard os threads, eventlet and gevent based systems.