deadpool-executor 2026.3.1__tar.gz → 2026.3.2__tar.gz
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- {deadpool_executor-2026.3.1 → deadpool_executor-2026.3.2}/PKG-INFO +2 -1
- {deadpool_executor-2026.3.1 → deadpool_executor-2026.3.2}/deadpool.py +2 -3
- {deadpool_executor-2026.3.1 → deadpool_executor-2026.3.2}/noxfile.py +2 -0
- {deadpool_executor-2026.3.1 → deadpool_executor-2026.3.2}/pyproject.toml +1 -0
- {deadpool_executor-2026.3.1 → deadpool_executor-2026.3.2}/tests/test_deadpool.py +10 -3
- {deadpool_executor-2026.3.1 → deadpool_executor-2026.3.2}/.coveragerc +0 -0
- {deadpool_executor-2026.3.1 → deadpool_executor-2026.3.2}/.pre-commit-config.yaml +0 -0
- {deadpool_executor-2026.3.1 → deadpool_executor-2026.3.2}/LICENSE-AGPL +0 -0
- {deadpool_executor-2026.3.1 → deadpool_executor-2026.3.2}/LICENSE-Apache +0 -0
- {deadpool_executor-2026.3.1 → deadpool_executor-2026.3.2}/README.rst +0 -0
- {deadpool_executor-2026.3.1 → deadpool_executor-2026.3.2}/covstart.pth +0 -0
- {deadpool_executor-2026.3.1 → deadpool_executor-2026.3.2}/examples/callbacks.py +0 -0
- {deadpool_executor-2026.3.1 → deadpool_executor-2026.3.2}/examples/entrypoint.py +0 -0
- {deadpool_executor-2026.3.1 → deadpool_executor-2026.3.2}/examples/leftover.py +0 -0
- {deadpool_executor-2026.3.1 → deadpool_executor-2026.3.2}/examples/priorities.py +0 -0
- {deadpool_executor-2026.3.1 → deadpool_executor-2026.3.2}/img1.jpg +0 -0
- {deadpool_executor-2026.3.1 → deadpool_executor-2026.3.2}/tests/conftest.py +0 -0
- {deadpool_executor-2026.3.1 → deadpool_executor-2026.3.2}/tests/test_oom.py +0 -0
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: deadpool-executor
|
|
3
|
-
Version: 2026.3.
|
|
3
|
+
Version: 2026.3.2
|
|
4
4
|
Summary: Deadpool
|
|
5
5
|
Author-email: Caleb Hattingh <caleb.hattingh@gmail.com>
|
|
6
6
|
Description-Content-Type: text/x-rst
|
|
@@ -14,6 +14,7 @@ Classifier: Programming Language :: Python :: 3.10
|
|
|
14
14
|
Classifier: Programming Language :: Python :: 3.11
|
|
15
15
|
Classifier: Programming Language :: Python :: 3.12
|
|
16
16
|
Classifier: Programming Language :: Python :: 3.13
|
|
17
|
+
Classifier: Programming Language :: Python :: 3.14
|
|
17
18
|
Classifier: Programming Language :: Python :: Implementation
|
|
18
19
|
Classifier: Programming Language :: Python :: Implementation :: CPython
|
|
19
20
|
License-File: LICENSE-AGPL
|
|
@@ -44,7 +44,7 @@ from functools import partial
|
|
|
44
44
|
import psutil
|
|
45
45
|
from setproctitle import setproctitle
|
|
46
46
|
|
|
47
|
-
__version__ = "2026.3.
|
|
47
|
+
__version__ = "2026.3.2"
|
|
48
48
|
__all__ = [
|
|
49
49
|
"Deadpool",
|
|
50
50
|
"Future",
|
|
@@ -572,8 +572,7 @@ class Deadpool(Executor):
|
|
|
572
572
|
f"TimeoutError on {worker.pid}, setting ok=False"
|
|
573
573
|
)
|
|
574
574
|
worker.ok = False
|
|
575
|
-
|
|
576
|
-
break
|
|
575
|
+
break
|
|
577
576
|
elif not worker.is_alive():
|
|
578
577
|
self._statistics.tasks_failed.increment()
|
|
579
578
|
logger.debug(f"p is no longer alive: {worker.process}")
|
|
@@ -22,6 +22,7 @@ classifiers = [
|
|
|
22
22
|
"Programming Language :: Python :: 3.11",
|
|
23
23
|
"Programming Language :: Python :: 3.12",
|
|
24
24
|
"Programming Language :: Python :: 3.13",
|
|
25
|
+
"Programming Language :: Python :: 3.14",
|
|
25
26
|
"Programming Language :: Python :: Implementation",
|
|
26
27
|
"Programming Language :: Python :: Implementation :: CPython",
|
|
27
28
|
]
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
import asyncio
|
|
2
2
|
import logging
|
|
3
3
|
import os
|
|
4
|
+
import pickle
|
|
4
5
|
import queue
|
|
5
6
|
import signal
|
|
6
7
|
import sys
|
|
@@ -690,7 +691,9 @@ def test_can_pickle_nested_function():
|
|
|
690
691
|
with deadpool.Deadpool() as exe:
|
|
691
692
|
fut = exe.submit(f)
|
|
692
693
|
|
|
693
|
-
with pytest.raises(
|
|
694
|
+
with pytest.raises(
|
|
695
|
+
(AttributeError, pickle.PicklingError), match="local object"
|
|
696
|
+
):
|
|
694
697
|
fut.result()
|
|
695
698
|
|
|
696
699
|
|
|
@@ -704,7 +707,9 @@ def test_can_pickle_nested_function_cf():
|
|
|
704
707
|
with ProcessPoolExecutor() as exe:
|
|
705
708
|
fut = exe.submit(f)
|
|
706
709
|
|
|
707
|
-
with pytest.raises(
|
|
710
|
+
with pytest.raises(
|
|
711
|
+
(AttributeError, pickle.PicklingError), match="local object"
|
|
712
|
+
):
|
|
708
713
|
fut.result()
|
|
709
714
|
|
|
710
715
|
|
|
@@ -714,7 +719,9 @@ def test_can_pickle_lambda_function():
|
|
|
714
719
|
with deadpool.Deadpool() as exe:
|
|
715
720
|
fut = exe.submit(lambda: 123)
|
|
716
721
|
|
|
717
|
-
with pytest.raises(
|
|
722
|
+
with pytest.raises(
|
|
723
|
+
(AttributeError, pickle.PicklingError), match="local object"
|
|
724
|
+
):
|
|
718
725
|
fut.result()
|
|
719
726
|
|
|
720
727
|
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|