Execnet

Latest version: v2.1.1

Safety actively analyzes 623721 Python packages for vulnerabilities to keep your Python projects secure.

Scan your dependencies

Page 1 of 6

2.1.1

------------------

* `267 <https://github.com/pytest-dev/execnet/issue/267>`__ Fixed regression
in 2.1.0 where the ``strconfig`` argument to ``load``/``loads`` is ignored.

2.1.0

------------------

* `243 <https://github.com/pytest-dev/execnet/pull/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 <https://github.com/pytest-dev/execnet/issues/96>`__ and
`pytest-dev/pytest-xdist620 <https://github.com/pytest-dev/pytest-xdist/issues/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.

2.0.2

------------------

* Re-release without code changes, just to include ``tox.ini`` into the source distribution.

2.0.1

------------------

* Re-release without code changes, just to include docs and tests into the source distribution.

2.0.0

------------------

* 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`` (195).
* Fixed error when loading source code files from a path containing non-ascii characters.

1.9.0

------------------

* Removed the ``apipkg`` dependency.

Page 1 of 6

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.