Skip to content

Commit 83d0389

Browse files
committed
Consider pre-release version when disabling recursion limit workaround
The fix in 86f21bd only considered 2.8.0 and above, for any alpha, beta or pre-release the workaround was not correctly disabled.
1 parent 86f21bd commit 83d0389

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/aiida_pythonjob/decorator.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@
2020
LOGGER = logging.getLogger(__name__)
2121

2222
_AIIDA_VERSION = parse_version(aiida.__version__)
23-
_NEEDS_RECURSION_LIMIT_WORKAROUND = _AIIDA_VERSION < parse_version("2.8.0")
23+
_NEEDS_RECURSION_LIMIT_WORKAROUND = _AIIDA_VERSION < parse_version("2.8.0rc0")
2424

2525
if _NEEDS_RECURSION_LIMIT_WORKAROUND:
2626
from aiida.engine.processes.functions import get_stack_size

0 commit comments

Comments
 (0)