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.2 2.1.2 fix artifact building - pin minimal version of hatch.
py-execnet: updated to 2.1.1 2.1.1 Fixed regression in 2.1.0 where the strconfig argument to load/loads is ignored.
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.
*: setuptools_scm: switch to versioned_dependencies
*: bump PKGREVISION for egg.mk users They now have a tool dependency on py-setuptools instead of a DEPENDS
py-execnet: updated to 1.9.0 1.9.0 (2021-06-13) ------------------ * Removed the ``apipkg`` dependency.
py-execnet: updated to 1.8.0 1.8.0 * Dropped support for Python 3.4. * Fixed internal leak that should make ``execnet`` execute remote code in the main thread more often; previously it would sometimes spawn a thread to execute a ``remote_exec`` call, even when the caller didn't issue multiple ``remote_exec`` calls at the same time. Some frameworks require code to execute in the main thread, so the previous behavior would break them on occasion. * Current working directory is now restored when calling ``script/socketserver.py``. The script now also loops by default when called from the command-line.
py-execnet: updated to 1.7.1 1.7.1: Revert linecache optimization introduced in 1.7.0 which broke remote execution.
py-execnet: updated to 1.7.0 1.7.0: Show paths in stack traces generated by remote_exec(). Fix flaky hangs in workerpool.waitall.
py-execnet: updated to 1.6.0 1.6.0: * execnet no longer supports Python 2.6 and 3.3. Users of those Python versions using a recent enough pip should not be affected, as pip will only install 1.5.0 for them. * Update test suite to support pytest>4.
py-execnet: use pypi page instead of dead HOMEPAGE
py-execnet: update to 1.5.0 1.5.0 ----- - support shell escaping in python pathnames of popen. Eugene Ciurana discovered that execnet breaks if you use pathnames with spaces in a "python=" part of a spec. We now use shlex.split to split the string. There is a potential for regressions if you used quote or escape sequences as part of your python command. - Only insert importdir into sys.path if it is not already in the path. This prevents a bug when using enum34 with python 3.6 and pytest-xdist. The issue is that enum34 installs an 'enum' module in site-packages which is normally shadowed by the stdlib version of enum, however in gateway_bootstrap.py site-packages is added at the front the the search path. This means on the workers enum34 is hit for import enum which in turn causes import re to fail (as it makes use of the new enum features in 3.6). - fix 49 - use inspect.getfullargspec if possible to avoid deprecationwarnings - fix 56 - use partials in safe_terminate to avoid a bad carried binding - fix spec parsing on Windows due to path containing '\' characters.
Needs setuptools_scm.
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.