From 0e9b5a8878df06ea5685f2ad7da6c3e37a0f8b3df29f31c52a8177f824ec50cf Mon Sep 17 00:00:00 2001 From: Dirk Mueller Date: Sun, 7 Apr 2024 09:01:12 +0000 Subject: [PATCH] - update to 2.1.0: * #243: 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. The main_thread_only execmodel provides solutions for #96 and pytest-dev/pytest-xdist#620 (pending a new pytest-xdist release). * 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. * Current working directory is now restored when calling ``script/socketserver.py``. - add fix_apipkg.patch -- fixes tests with apipkg > 1.4.0 - Install a generated documentation - Build documentation with Sphinx - Initial packaging execnet 1.1 for openSUSE OBS-URL: https://build.opensuse.org/package/show/devel:languages:python:pytest/python-execnet?expand=0&rev=24 --- execnet-2.0.2.tar.gz | 3 --- execnet-2.1.0.tar.gz | 3 +++ python-execnet.changes | 35 ++++++++++++++++++++++++++++++----- python-execnet.spec | 4 ++-- 4 files changed, 35 insertions(+), 10 deletions(-) delete mode 100644 execnet-2.0.2.tar.gz create mode 100644 execnet-2.1.0.tar.gz diff --git a/execnet-2.0.2.tar.gz b/execnet-2.0.2.tar.gz deleted file mode 100644 index 9ff2780..0000000 --- a/execnet-2.0.2.tar.gz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:cc59bc4423742fd71ad227122eb0dd44db51efb3dc4095b45ac9a08c770096af -size 161098 diff --git a/execnet-2.1.0.tar.gz b/execnet-2.1.0.tar.gz new file mode 100644 index 0000000..29e9591 --- /dev/null +++ b/execnet-2.1.0.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:dc4a63f86afb40f8429f59f938d6cb97846f9e7cf7dd9eb4b8c26016965b7ac0 +size 166475 diff --git a/python-execnet.changes b/python-execnet.changes index aada9ce..101166c 100644 --- a/python-execnet.changes +++ b/python-execnet.changes @@ -1,3 +1,28 @@ +------------------------------------------------------------------- +Sun Apr 7 08:59:28 UTC 2024 - Dirk Müller + +- update to 2.1.0: + * #243: 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. The main_thread_only + execmodel provides solutions for #96 and + pytest-dev/pytest-xdist#620 (pending a new pytest-xdist + release). + * 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. + ------------------------------------------------------------------- Mon Jul 24 20:13:41 UTC 2023 - Dirk Müller @@ -46,7 +71,7 @@ Tue Feb 2 09:57:10 UTC 2021 - Dirk Müller - update to 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 - * Current working directory is now restored when calling ``script/socketserver.py``. + * Current working directory is now restored when calling ``script/socketserver.py``. ------------------------------------------------------------------- Fri Aug 30 01:11:54 UTC 2019 - Tomáš Chvátal @@ -98,7 +123,7 @@ Tue Feb 12 14:25:44 UTC 2019 - Tomáš Chvátal ------------------------------------------------------------------- Wed Aug 8 11:32:26 UTC 2018 - mimi.vx@gmail.com -- add fix_apipkg.patch -- fixes tests with apipkg > 1.4.0 +- add fix_apipkg.patch -- fixes tests with apipkg > 1.4.0 ------------------------------------------------------------------- Sun Jul 15 23:10:06 UTC 2018 - mimi.vx@gmail.com @@ -224,15 +249,15 @@ Wed Oct 9 17:25:37 UTC 2013 - p.drouand@gmail.com ------------------------------------------------------------------- Tue Oct 8 09:35:02 UTC 2013 - mvyskocil@suse.com -- Install a generated documentation +- Install a generated documentation ------------------------------------------------------------------- Fri Oct 4 07:56:36 UTC 2013 - mvyskocil@suse.com -- Build documentation with Sphinx +- Build documentation with Sphinx ------------------------------------------------------------------- Thu Oct 3 12:38:43 UTC 2013 - mvyskocil@suse.com -- Initial packaging execnet 1.1 for openSUSE +- Initial packaging execnet 1.1 for openSUSE diff --git a/python-execnet.spec b/python-execnet.spec index e5c029e..37199b6 100644 --- a/python-execnet.spec +++ b/python-execnet.spec @@ -1,7 +1,7 @@ # # spec file for package python-execnet # -# Copyright (c) 2023 SUSE LLC +# Copyright (c) 2024 SUSE LLC # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -18,7 +18,7 @@ %{?sle15_python_module_pythons} Name: python-execnet -Version: 2.0.2 +Version: 2.1.0 Release: 0 Summary: Rapid multi-Python deployment License: MIT