11
0

- 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
This commit is contained in:
2024-04-07 09:01:12 +00:00
committed by Git OBS Bridge
parent 61454272ff
commit 1714fd6a52
4 changed files with 35 additions and 10 deletions

View File

@@ -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