Mock Version: 3.5 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target x86_64 --nodeps /builddir/build/SPECS/python-causalml.spec'], chrootPath='/var/lib/mock/openeuler-22.03-x86_64-1681820176.707734/root'env={'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'C.UTF-8'}shell=Falselogger=timeout=0uid=1000gid=135user='mockbuild'nspawn_args=[]unshare_net=FalseprintOutput=True) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target x86_64 --nodeps /builddir/build/SPECS/python-causalml.spec'] with env {'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'C.UTF-8'} and shell False /etc/profile.d/system-info.sh: line 55: ps: command not found Building target platforms: x86_64 Building for target x86_64 Wrote: /builddir/build/SRPMS/python-causalml-0.13.0-1.src.rpm Child return code was: 0 Mock Version: 3.5 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target x86_64 --nodeps /builddir/build/SPECS/python-causalml.spec'], chrootPath='/var/lib/mock/openeuler-22.03-x86_64-1681820176.707734/root'env={'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'C.UTF-8'}shell=Falselogger=timeout=0uid=1000gid=135user='mockbuild'nspawn_args=[]unshare_net=FalseprintOutput=True) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target x86_64 --nodeps /builddir/build/SPECS/python-causalml.spec'] with env {'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'C.UTF-8'} and shell False /etc/profile.d/system-info.sh: line 55: ps: command not found Building target platforms: x86_64 Building for target x86_64 Wrote: /builddir/build/SRPMS/python-causalml-0.13.0-1.src.rpm Child return code was: 0 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target x86_64 --nodeps /builddir/build/SPECS/python-causalml.spec'], chrootPath='/var/lib/mock/openeuler-22.03-x86_64-1681820176.707734/root'env={'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'C.UTF-8'}shell=Falselogger=timeout=0uid=1000gid=135user='mockbuild'nspawn_args=[]unshare_net=FalseprintOutput=True) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target x86_64 --nodeps /builddir/build/SPECS/python-causalml.spec'] with env {'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'C.UTF-8'} and shell False /etc/profile.d/system-info.sh: line 55: ps: command not found Building target platforms: x86_64 Building for target x86_64 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.7IRE6w + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf causalml-0.13.0 + /usr/bin/gzip -dc /builddir/build/SOURCES/causalml-0.13.0.tar.gz + /usr/bin/tar -xof - + STATUS=0 + '[' 0 -ne 0 ']' + cd causalml-0.13.0 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + RPM_EC=0 ++ jobs -p + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.nu1sfP + umask 022 + cd /builddir/build/BUILD + cd causalml-0.13.0 + CFLAGS='-O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/generic-hardened-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection ' + LDFLAGS='-Wl,-z,relro -Wl,-z,now -specs=/usr/lib/rpm/generic-hardened-ld' + /usr/bin/python3 setup.py build '--executable=/usr/bin/python3 -s' /usr/lib/python3.9/site-packages/setuptools/installer.py:27: SetuptoolsDeprecationWarning: setuptools.installer is deprecated. Requirements should be satisfied by a PEP 517 installer. warnings.warn( WARNING: The wheel package is not available. WARNING: The wheel package is not available. Error compiling Cython file: ------------------------------------------------------------ ... # cython: boundscheck=False # cython: wraparound=False # cython: language_level=3 # cython: linetrace=True from sklearn.tree._tree cimport Tree, TreeBuilder ^ ------------------------------------------------------------ causalml/inference/tree/causal/builder.pyx:7:0: 'sklearn/tree/_tree.pxd' not found Error compiling Cython file: ------------------------------------------------------------ ... # cython: boundscheck=False # cython: wraparound=False # cython: language_level=3 # cython: linetrace=True from sklearn.tree._tree cimport Tree, TreeBuilder ^ ------------------------------------------------------------ causalml/inference/tree/causal/builder.pyx:7:0: 'sklearn/tree/_tree/Tree.pxd' not found Error compiling Cython file: ------------------------------------------------------------ ... # cython: boundscheck=False # cython: wraparound=False # cython: language_level=3 # cython: linetrace=True from sklearn.tree._tree cimport Tree, TreeBuilder ^ ------------------------------------------------------------ causalml/inference/tree/causal/builder.pyx:7:0: 'sklearn/tree/_tree/TreeBuilder.pxd' not found Error compiling Cython file: ------------------------------------------------------------ ... # cython: wraparound=False # cython: language_level=3 # cython: linetrace=True from sklearn.tree._tree cimport Tree, TreeBuilder from sklearn.tree._tree cimport Splitter, SplitRecord ^ ------------------------------------------------------------ causalml/inference/tree/causal/builder.pyx:8:0: 'sklearn/tree/_tree/Splitter.pxd' not found Error compiling Cython file: ------------------------------------------------------------ ... # cython: wraparound=False # cython: language_level=3 # cython: linetrace=True from sklearn.tree._tree cimport Tree, TreeBuilder from sklearn.tree._tree cimport Splitter, SplitRecord ^ ------------------------------------------------------------ causalml/inference/tree/causal/builder.pyx:8:0: 'sklearn/tree/_tree/SplitRecord.pxd' not found Error compiling Cython file: ------------------------------------------------------------ ... # cython: language_level=3 # cython: linetrace=True from sklearn.tree._tree cimport Tree, TreeBuilder from sklearn.tree._tree cimport Splitter, SplitRecord from sklearn.tree._utils cimport StackRecord, Stack ^ ------------------------------------------------------------ causalml/inference/tree/causal/builder.pyx:9:0: 'sklearn/tree/_utils.pxd' not found Error compiling Cython file: ------------------------------------------------------------ ... # cython: language_level=3 # cython: linetrace=True from sklearn.tree._tree cimport Tree, TreeBuilder from sklearn.tree._tree cimport Splitter, SplitRecord from sklearn.tree._utils cimport StackRecord, Stack ^ ------------------------------------------------------------ causalml/inference/tree/causal/builder.pyx:9:0: 'sklearn/tree/_utils/StackRecord.pxd' not found Error compiling Cython file: ------------------------------------------------------------ ... # cython: language_level=3 # cython: linetrace=True from sklearn.tree._tree cimport Tree, TreeBuilder from sklearn.tree._tree cimport Splitter, SplitRecord from sklearn.tree._utils cimport StackRecord, Stack ^ ------------------------------------------------------------ causalml/inference/tree/causal/builder.pyx:9:0: 'sklearn/tree/_utils/Stack.pxd' not found Error compiling Cython file: ------------------------------------------------------------ ... # cython: linetrace=True from sklearn.tree._tree cimport Tree, TreeBuilder from sklearn.tree._tree cimport Splitter, SplitRecord from sklearn.tree._utils cimport StackRecord, Stack from sklearn.tree._tree cimport SIZE_t, DOUBLE_t ^ ------------------------------------------------------------ causalml/inference/tree/causal/builder.pyx:10:0: 'sklearn/tree/_tree/SIZE_t.pxd' not found Error compiling Cython file: ------------------------------------------------------------ ... # cython: linetrace=True from sklearn.tree._tree cimport Tree, TreeBuilder from sklearn.tree._tree cimport Splitter, SplitRecord from sklearn.tree._utils cimport StackRecord, Stack from sklearn.tree._tree cimport SIZE_t, DOUBLE_t ^ ------------------------------------------------------------ causalml/inference/tree/causal/builder.pyx:10:0: 'sklearn/tree/_tree/DOUBLE_t.pxd' not found Error compiling Cython file: ------------------------------------------------------------ ... cdef double INFINITY = np.inf cdef double EPSILON = np.finfo('double').eps TREE_UNDEFINED = -2 cdef SIZE_t _TREE_UNDEFINED = TREE_UNDEFINED ^ ------------------------------------------------------------ causalml/inference/tree/causal/builder.pyx:20:5: 'SIZE_t' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... cdef double INFINITY = np.inf cdef double EPSILON = np.finfo('double').eps TREE_UNDEFINED = -2 cdef SIZE_t _TREE_UNDEFINED = TREE_UNDEFINED cdef SIZE_t INITIAL_STACK_SIZE = 10 ^ ------------------------------------------------------------ causalml/inference/tree/causal/builder.pyx:21:5: 'SIZE_t' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... TREE_UNDEFINED = -2 cdef SIZE_t _TREE_UNDEFINED = TREE_UNDEFINED cdef SIZE_t INITIAL_STACK_SIZE = 10 cdef class DepthFirstCausalTreeBuilder(TreeBuilder): ^ ------------------------------------------------------------ causalml/inference/tree/causal/builder.pyx:24:39: First base of 'DepthFirstCausalTreeBuilder' is not an extension type Error compiling Cython file: ------------------------------------------------------------ ... """Build a decision tree in depth-first fashion. DepthFirstTreeBuilder modified for causal trees Source: https://github.com/scikit-learn/scikit-learn/blob/main/sklearn/tree/_tree.pyx """ def __cinit__(self, Splitter splitter, SIZE_t min_samples_split, ^ ------------------------------------------------------------ causalml/inference/tree/causal/builder.pyx:30:24: 'Splitter' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... """Build a decision tree in depth-first fashion. DepthFirstTreeBuilder modified for causal trees Source: https://github.com/scikit-learn/scikit-learn/blob/main/sklearn/tree/_tree.pyx """ def __cinit__(self, Splitter splitter, SIZE_t min_samples_split, ^ ------------------------------------------------------------ causalml/inference/tree/causal/builder.pyx:30:43: 'SIZE_t' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... DepthFirstTreeBuilder modified for causal trees Source: https://github.com/scikit-learn/scikit-learn/blob/main/sklearn/tree/_tree.pyx """ def __cinit__(self, Splitter splitter, SIZE_t min_samples_split, SIZE_t min_samples_leaf, double min_weight_leaf, ^ ------------------------------------------------------------ causalml/inference/tree/causal/builder.pyx:31:18: 'SIZE_t' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... Source: https://github.com/scikit-learn/scikit-learn/blob/main/sklearn/tree/_tree.pyx """ def __cinit__(self, Splitter splitter, SIZE_t min_samples_split, SIZE_t min_samples_leaf, double min_weight_leaf, SIZE_t max_depth, double min_impurity_decrease): ^ ------------------------------------------------------------ causalml/inference/tree/causal/builder.pyx:32:18: 'SIZE_t' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... self.min_samples_leaf = min_samples_leaf self.min_weight_leaf = min_weight_leaf self.max_depth = max_depth self.min_impurity_decrease = min_impurity_decrease cpdef build(self, Tree tree, object X, np.ndarray y, ^ ------------------------------------------------------------ causalml/inference/tree/causal/builder.pyx:40:22: 'Tree' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... """Build a decision tree from the training set (X, y).""" # check input X, y, sample_weight = self._check_input(X, y, sample_weight) cdef DOUBLE_t* sample_weight_ptr = NULL ^ ------------------------------------------------------------ causalml/inference/tree/causal/builder.pyx:47:13: 'DOUBLE_t' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... init_capacity = 2047 tree._resize(init_capacity) # Parameters cdef Splitter splitter = self.splitter ^ ------------------------------------------------------------ causalml/inference/tree/causal/builder.pyx:62:13: 'Splitter' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... tree._resize(init_capacity) # Parameters cdef Splitter splitter = self.splitter cdef SIZE_t max_depth = self.max_depth ^ ------------------------------------------------------------ causalml/inference/tree/causal/builder.pyx:63:13: 'SIZE_t' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... tree._resize(init_capacity) # Parameters cdef Splitter splitter = self.splitter cdef SIZE_t max_depth = self.max_depth cdef SIZE_t min_samples_leaf = self.min_samples_leaf ^ ------------------------------------------------------------ causalml/inference/tree/causal/builder.pyx:64:13: 'SIZE_t' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... # Parameters cdef Splitter splitter = self.splitter cdef SIZE_t max_depth = self.max_depth cdef SIZE_t min_samples_leaf = self.min_samples_leaf cdef double min_weight_leaf = self.min_weight_leaf cdef SIZE_t min_samples_split = self.min_samples_split ^ ------------------------------------------------------------ causalml/inference/tree/causal/builder.pyx:66:13: 'SIZE_t' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... cdef double min_impurity_decrease = self.min_impurity_decrease # Recursive partition (without actual recursion) splitter.init(X, y, sample_weight_ptr) cdef SIZE_t start ^ ------------------------------------------------------------ causalml/inference/tree/causal/builder.pyx:72:13: 'SIZE_t' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... # Recursive partition (without actual recursion) splitter.init(X, y, sample_weight_ptr) cdef SIZE_t start cdef SIZE_t end ^ ------------------------------------------------------------ causalml/inference/tree/causal/builder.pyx:73:13: 'SIZE_t' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... # Recursive partition (without actual recursion) splitter.init(X, y, sample_weight_ptr) cdef SIZE_t start cdef SIZE_t end cdef SIZE_t depth ^ ------------------------------------------------------------ causalml/inference/tree/causal/builder.pyx:74:13: 'SIZE_t' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... splitter.init(X, y, sample_weight_ptr) cdef SIZE_t start cdef SIZE_t end cdef SIZE_t depth cdef SIZE_t parent ^ ------------------------------------------------------------ causalml/inference/tree/causal/builder.pyx:75:13: 'SIZE_t' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... cdef SIZE_t start cdef SIZE_t end cdef SIZE_t depth cdef SIZE_t parent cdef bint is_left cdef SIZE_t n_node_samples = splitter.n_samples ^ ------------------------------------------------------------ causalml/inference/tree/causal/builder.pyx:77:13: 'SIZE_t' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... cdef SIZE_t parent cdef bint is_left cdef SIZE_t n_node_samples = splitter.n_samples cdef double weighted_n_samples = splitter.weighted_n_samples cdef double weighted_n_node_samples cdef SplitRecord split ^ ------------------------------------------------------------ causalml/inference/tree/causal/builder.pyx:80:13: 'SplitRecord' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... cdef bint is_left cdef SIZE_t n_node_samples = splitter.n_samples cdef double weighted_n_samples = splitter.weighted_n_samples cdef double weighted_n_node_samples cdef SplitRecord split cdef SIZE_t node_id ^ ------------------------------------------------------------ causalml/inference/tree/causal/builder.pyx:81:13: 'SIZE_t' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... cdef double weighted_n_node_samples cdef SplitRecord split cdef SIZE_t node_id cdef double impurity = INFINITY cdef SIZE_t n_constant_features ^ ------------------------------------------------------------ causalml/inference/tree/causal/builder.pyx:84:13: 'SIZE_t' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... cdef double impurity = INFINITY cdef SIZE_t n_constant_features cdef bint is_leaf cdef bint first = 1 cdef SIZE_t max_depth_seen = -1 ^ ------------------------------------------------------------ causalml/inference/tree/causal/builder.pyx:87:13: 'SIZE_t' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... cdef bint is_leaf cdef bint first = 1 cdef SIZE_t max_depth_seen = -1 cdef int rc = 0 cdef Stack stack = Stack(INITIAL_STACK_SIZE) ^ ------------------------------------------------------------ causalml/inference/tree/causal/builder.pyx:90:13: 'Stack' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... cdef bint first = 1 cdef SIZE_t max_depth_seen = -1 cdef int rc = 0 cdef Stack stack = Stack(INITIAL_STACK_SIZE) cdef StackRecord stack_record ^ ------------------------------------------------------------ causalml/inference/tree/causal/builder.pyx:91:13: 'StackRecord' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... # check input X, y, sample_weight = self._check_input(X, y, sample_weight) cdef DOUBLE_t* sample_weight_ptr = NULL if sample_weight is not None: sample_weight_ptr = sample_weight.data ^ ------------------------------------------------------------ causalml/inference/tree/causal/builder.pyx:49:33: 'DOUBLE_t' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... cdef bint is_leaf cdef bint first = 1 cdef SIZE_t max_depth_seen = -1 cdef int rc = 0 cdef Stack stack = Stack(INITIAL_STACK_SIZE) ^ ------------------------------------------------------------ causalml/inference/tree/causal/builder.pyx:90:27: 'Stack' is not a constant, variable or function identifier Error compiling Cython file: ------------------------------------------------------------ ... is_left = stack_record.is_left impurity = stack_record.impurity n_constant_features = stack_record.n_constant_features n_node_samples = end - start splitter.node_reset(start, end, &weighted_n_node_samples) ^ ------------------------------------------------------------ causalml/inference/tree/causal/builder.pyx:113:48: Cannot convert 'double *' to Python object Error compiling Cython file: ------------------------------------------------------------ ... if rc >= 0: rc = tree._resize_c(tree.node_count) if rc >= 0: tree.max_depth = max_depth_seen ^ ------------------------------------------------------------ causalml/inference/tree/causal/builder.pyx:165:20: Assignment of Python object not allowed without gil Error compiling Cython file: ------------------------------------------------------------ ... cdef Stack stack = Stack(INITIAL_STACK_SIZE) cdef StackRecord stack_record with nogil: # push root node onto stack rc = stack.push(0, n_node_samples, 0, _TREE_UNDEFINED, 0, INFINITY, 0) ^ ------------------------------------------------------------ causalml/inference/tree/causal/builder.pyx:95:27: Coercion from Python not allowed without the GIL Error compiling Cython file: ------------------------------------------------------------ ... cdef Stack stack = Stack(INITIAL_STACK_SIZE) cdef StackRecord stack_record with nogil: # push root node onto stack rc = stack.push(0, n_node_samples, 0, _TREE_UNDEFINED, 0, INFINITY, 0) ^ ------------------------------------------------------------ causalml/inference/tree/causal/builder.pyx:95:27: Calling gil-requiring function not allowed without gil Error compiling Cython file: ------------------------------------------------------------ ... cdef Stack stack = Stack(INITIAL_STACK_SIZE) cdef StackRecord stack_record with nogil: # push root node onto stack rc = stack.push(0, n_node_samples, 0, _TREE_UNDEFINED, 0, INFINITY, 0) ^ ------------------------------------------------------------ causalml/inference/tree/causal/builder.pyx:95:22: Accessing Python attribute not allowed without gil Error compiling Cython file: ------------------------------------------------------------ ... cdef Stack stack = Stack(INITIAL_STACK_SIZE) cdef StackRecord stack_record with nogil: # push root node onto stack rc = stack.push(0, n_node_samples, 0, _TREE_UNDEFINED, 0, INFINITY, 0) ^ ------------------------------------------------------------ causalml/inference/tree/causal/builder.pyx:95:27: Constructing Python tuple not allowed without gil Error compiling Cython file: ------------------------------------------------------------ ... cdef Stack stack = Stack(INITIAL_STACK_SIZE) cdef StackRecord stack_record with nogil: # push root node onto stack rc = stack.push(0, n_node_samples, 0, _TREE_UNDEFINED, 0, INFINITY, 0) ^ ------------------------------------------------------------ causalml/inference/tree/causal/builder.pyx:95:31: Converting to Python object not allowed without gil Error compiling Cython file: ------------------------------------------------------------ ... cdef Stack stack = Stack(INITIAL_STACK_SIZE) cdef StackRecord stack_record with nogil: # push root node onto stack rc = stack.push(0, n_node_samples, 0, _TREE_UNDEFINED, 0, INFINITY, 0) ^ ------------------------------------------------------------ causalml/inference/tree/causal/builder.pyx:95:50: Converting to Python object not allowed without gil Error compiling Cython file: ------------------------------------------------------------ ... cdef Stack stack = Stack(INITIAL_STACK_SIZE) cdef StackRecord stack_record with nogil: # push root node onto stack rc = stack.push(0, n_node_samples, 0, _TREE_UNDEFINED, 0, INFINITY, 0) ^ ------------------------------------------------------------ causalml/inference/tree/causal/builder.pyx:95:70: Converting to Python object not allowed without gil Error compiling Cython file: ------------------------------------------------------------ ... if rc == -1: # got return code -1 - out-of-memory with gil: raise MemoryError() while not stack.is_empty(): ^ ------------------------------------------------------------ causalml/inference/tree/causal/builder.pyx:101:36: Truth-testing Python object not allowed without gil Error compiling Cython file: ------------------------------------------------------------ ... if rc == -1: # got return code -1 - out-of-memory with gil: raise MemoryError() while not stack.is_empty(): ^ ------------------------------------------------------------ causalml/inference/tree/causal/builder.pyx:101:36: Calling gil-requiring function not allowed without gil Error compiling Cython file: ------------------------------------------------------------ ... if rc == -1: # got return code -1 - out-of-memory with gil: raise MemoryError() while not stack.is_empty(): ^ ------------------------------------------------------------ causalml/inference/tree/causal/builder.pyx:101:27: Accessing Python attribute not allowed without gil Error compiling Cython file: ------------------------------------------------------------ ... if rc == -1: # got return code -1 - out-of-memory with gil: raise MemoryError() while not stack.is_empty(): ^ ------------------------------------------------------------ causalml/inference/tree/causal/builder.pyx:101:36: Constructing Python tuple not allowed without gil Error compiling Cython file: ------------------------------------------------------------ ... # got return code -1 - out-of-memory with gil: raise MemoryError() while not stack.is_empty(): stack.pop(&stack_record) ^ ------------------------------------------------------------ causalml/inference/tree/causal/builder.pyx:102:25: Discarding owned Python object not allowed without gil Error compiling Cython file: ------------------------------------------------------------ ... # got return code -1 - out-of-memory with gil: raise MemoryError() while not stack.is_empty(): stack.pop(&stack_record) ^ ------------------------------------------------------------ causalml/inference/tree/causal/builder.pyx:102:25: Calling gil-requiring function not allowed without gil Error compiling Cython file: ------------------------------------------------------------ ... # got return code -1 - out-of-memory with gil: raise MemoryError() while not stack.is_empty(): stack.pop(&stack_record) ^ ------------------------------------------------------------ causalml/inference/tree/causal/builder.pyx:102:21: Accessing Python attribute not allowed without gil Error compiling Cython file: ------------------------------------------------------------ ... # got return code -1 - out-of-memory with gil: raise MemoryError() while not stack.is_empty(): stack.pop(&stack_record) ^ ------------------------------------------------------------ causalml/inference/tree/causal/builder.pyx:102:25: Constructing Python tuple not allowed without gil Error compiling Cython file: ------------------------------------------------------------ ... # got return code -1 - out-of-memory with gil: raise MemoryError() while not stack.is_empty(): stack.pop(&stack_record) ^ ------------------------------------------------------------ causalml/inference/tree/causal/builder.pyx:102:26: Converting to Python object not allowed without gil Error compiling Cython file: ------------------------------------------------------------ ... raise MemoryError() while not stack.is_empty(): stack.pop(&stack_record) start = stack_record.start ^ ------------------------------------------------------------ causalml/inference/tree/causal/builder.pyx:104:36: Coercion from Python not allowed without the GIL Error compiling Cython file: ------------------------------------------------------------ ... raise MemoryError() while not stack.is_empty(): stack.pop(&stack_record) start = stack_record.start ^ ------------------------------------------------------------ causalml/inference/tree/causal/builder.pyx:104:36: Accessing Python attribute not allowed without gil Error compiling Cython file: ------------------------------------------------------------ ... while not stack.is_empty(): stack.pop(&stack_record) start = stack_record.start end = stack_record.end ^ ------------------------------------------------------------ causalml/inference/tree/causal/builder.pyx:105:34: Coercion from Python not allowed without the GIL Error compiling Cython file: ------------------------------------------------------------ ... while not stack.is_empty(): stack.pop(&stack_record) start = stack_record.start end = stack_record.end ^ ------------------------------------------------------------ causalml/inference/tree/causal/builder.pyx:105:34: Accessing Python attribute not allowed without gil Error compiling Cython file: ------------------------------------------------------------ ... while not stack.is_empty(): stack.pop(&stack_record) start = stack_record.start end = stack_record.end depth = stack_record.depth ^ ------------------------------------------------------------ causalml/inference/tree/causal/builder.pyx:106:36: Coercion from Python not allowed without the GIL Error compiling Cython file: ------------------------------------------------------------ ... while not stack.is_empty(): stack.pop(&stack_record) start = stack_record.start end = stack_record.end depth = stack_record.depth ^ ------------------------------------------------------------ causalml/inference/tree/causal/builder.pyx:106:36: Accessing Python attribute not allowed without gil Error compiling Cython file: ------------------------------------------------------------ ... stack.pop(&stack_record) start = stack_record.start end = stack_record.end depth = stack_record.depth parent = stack_record.parent ^ ------------------------------------------------------------ causalml/inference/tree/causal/builder.pyx:107:37: Coercion from Python not allowed without the GIL Error compiling Cython file: ------------------------------------------------------------ ... stack.pop(&stack_record) start = stack_record.start end = stack_record.end depth = stack_record.depth parent = stack_record.parent ^ ------------------------------------------------------------ causalml/inference/tree/causal/builder.pyx:107:37: Accessing Python attribute not allowed without gil Error compiling Cython file: ------------------------------------------------------------ ... start = stack_record.start end = stack_record.end depth = stack_record.depth parent = stack_record.parent is_left = stack_record.is_left ^ ------------------------------------------------------------ causalml/inference/tree/causal/builder.pyx:108:38: Coercion from Python not allowed without the GIL Error compiling Cython file: ------------------------------------------------------------ ... start = stack_record.start end = stack_record.end depth = stack_record.depth parent = stack_record.parent is_left = stack_record.is_left ^ ------------------------------------------------------------ causalml/inference/tree/causal/builder.pyx:108:38: Accessing Python attribute not allowed without gil Error compiling Cython file: ------------------------------------------------------------ ... start = stack_record.start end = stack_record.end depth = stack_record.depth parent = stack_record.parent is_left = stack_record.is_left impurity = stack_record.impurity ^ ------------------------------------------------------------ causalml/inference/tree/causal/builder.pyx:109:39: Coercion from Python not allowed without the GIL Error compiling Cython file: ------------------------------------------------------------ ... start = stack_record.start end = stack_record.end depth = stack_record.depth parent = stack_record.parent is_left = stack_record.is_left impurity = stack_record.impurity ^ ------------------------------------------------------------ causalml/inference/tree/causal/builder.pyx:109:39: Accessing Python attribute not allowed without gil Error compiling Cython file: ------------------------------------------------------------ ... end = stack_record.end depth = stack_record.depth parent = stack_record.parent is_left = stack_record.is_left impurity = stack_record.impurity n_constant_features = stack_record.n_constant_features ^ ------------------------------------------------------------ causalml/inference/tree/causal/builder.pyx:110:50: Coercion from Python not allowed without the GIL Error compiling Cython file: ------------------------------------------------------------ ... end = stack_record.end depth = stack_record.depth parent = stack_record.parent is_left = stack_record.is_left impurity = stack_record.impurity n_constant_features = stack_record.n_constant_features ^ ------------------------------------------------------------ causalml/inference/tree/causal/builder.pyx:110:50: Accessing Python attribute not allowed without gil Error compiling Cython file: ------------------------------------------------------------ ... is_left = stack_record.is_left impurity = stack_record.impurity n_constant_features = stack_record.n_constant_features n_node_samples = end - start splitter.node_reset(start, end, &weighted_n_node_samples) ^ ------------------------------------------------------------ causalml/inference/tree/causal/builder.pyx:113:35: Discarding owned Python object not allowed without gil Error compiling Cython file: ------------------------------------------------------------ ... is_left = stack_record.is_left impurity = stack_record.impurity n_constant_features = stack_record.n_constant_features n_node_samples = end - start splitter.node_reset(start, end, &weighted_n_node_samples) ^ ------------------------------------------------------------ causalml/inference/tree/causal/builder.pyx:113:35: Calling gil-requiring function not allowed without gil Error compiling Cython file: ------------------------------------------------------------ ... is_left = stack_record.is_left impurity = stack_record.impurity n_constant_features = stack_record.n_constant_features n_node_samples = end - start splitter.node_reset(start, end, &weighted_n_node_samples) ^ ------------------------------------------------------------ causalml/inference/tree/causal/builder.pyx:113:24: Accessing Python attribute not allowed without gil Error compiling Cython file: ------------------------------------------------------------ ... is_left = stack_record.is_left impurity = stack_record.impurity n_constant_features = stack_record.n_constant_features n_node_samples = end - start splitter.node_reset(start, end, &weighted_n_node_samples) ^ ------------------------------------------------------------ causalml/inference/tree/causal/builder.pyx:113:35: Constructing Python tuple not allowed without gil Error compiling Cython file: ------------------------------------------------------------ ... is_left = stack_record.is_left impurity = stack_record.impurity n_constant_features = stack_record.n_constant_features n_node_samples = end - start splitter.node_reset(start, end, &weighted_n_node_samples) ^ ------------------------------------------------------------ causalml/inference/tree/causal/builder.pyx:113:36: Converting to Python object not allowed without gil Error compiling Cython file: ------------------------------------------------------------ ... is_left = stack_record.is_left impurity = stack_record.impurity n_constant_features = stack_record.n_constant_features n_node_samples = end - start splitter.node_reset(start, end, &weighted_n_node_samples) ^ ------------------------------------------------------------ causalml/inference/tree/causal/builder.pyx:113:43: Converting to Python object not allowed without gil Error compiling Cython file: ------------------------------------------------------------ ... is_left = stack_record.is_left impurity = stack_record.impurity n_constant_features = stack_record.n_constant_features n_node_samples = end - start splitter.node_reset(start, end, &weighted_n_node_samples) ^ ------------------------------------------------------------ causalml/inference/tree/causal/builder.pyx:113:48: Converting to Python object not allowed without gil Compiling causalml/inference/tree/causal/builder.pyx because it depends on /builddir/build/BUILD/causalml-0.13.0/.eggs/numpy-1.24.2-py3.9-linux-x86_64.egg/numpy/__init__.pxd. Compiling causalml/inference/tree/uplift.pyx because it depends on /builddir/build/BUILD/causalml-0.13.0/.eggs/numpy-1.24.2-py3.9-linux-x86_64.egg/numpy/__init__.pxd. [1/2] Cythonizing causalml/inference/tree/causal/builder.pyx Error compiling Cython file: ------------------------------------------------------------ ... n_node_samples < min_samples_split or n_node_samples < 2 * min_samples_leaf or weighted_n_node_samples < 2 * min_weight_leaf) if first: impurity = splitter.node_impurity() ^ ------------------------------------------------------------ causalml/inference/tree/causal/builder.pyx:121:53: Coercion from Python not allowed without the GIL Error compiling Cython file: ------------------------------------------------------------ ... n_node_samples < min_samples_split or n_node_samples < 2 * min_samples_leaf or weighted_n_node_samples < 2 * min_weight_leaf) if first: impurity = splitter.node_impurity() ^ ------------------------------------------------------------ causalml/inference/tree/causal/builder.pyx:121:53: Calling gil-requiring function not allowed without gil Error compiling Cython file: ------------------------------------------------------------ ... n_node_samples < min_samples_split or n_node_samples < 2 * min_samples_leaf or weighted_n_node_samples < 2 * min_weight_leaf) if first: impurity = splitter.node_impurity() ^ ------------------------------------------------------------ causalml/inference/tree/causal/builder.pyx:121:39: Accessing Python attribute not allowed without gil Error compiling Cython file: ------------------------------------------------------------ ... n_node_samples < min_samples_split or n_node_samples < 2 * min_samples_leaf or weighted_n_node_samples < 2 * min_weight_leaf) if first: impurity = splitter.node_impurity() ^ ------------------------------------------------------------ causalml/inference/tree/causal/builder.pyx:121:53: Constructing Python tuple not allowed without gil Error compiling Cython file: ------------------------------------------------------------ ... if first: impurity = splitter.node_impurity() first = 0 if not is_leaf: splitter.node_split(impurity, &split, &n_constant_features) ^ ------------------------------------------------------------ causalml/inference/tree/causal/builder.pyx:125:39: Discarding owned Python object not allowed without gil Error compiling Cython file: ------------------------------------------------------------ ... if first: impurity = splitter.node_impurity() first = 0 if not is_leaf: splitter.node_split(impurity, &split, &n_constant_features) ^ ------------------------------------------------------------ causalml/inference/tree/causal/builder.pyx:125:39: Calling gil-requiring function not allowed without gil Error compiling Cython file: ------------------------------------------------------------ ... if first: impurity = splitter.node_impurity() first = 0 if not is_leaf: splitter.node_split(impurity, &split, &n_constant_features) ^ ------------------------------------------------------------ causalml/inference/tree/causal/builder.pyx:125:28: Accessing Python attribute not allowed without gil Error compiling Cython file: ------------------------------------------------------------ ... if first: impurity = splitter.node_impurity() first = 0 if not is_leaf: splitter.node_split(impurity, &split, &n_constant_features) ^ ------------------------------------------------------------ causalml/inference/tree/causal/builder.pyx:125:39: Constructing Python tuple not allowed without gil Error compiling Cython file: ------------------------------------------------------------ ... if first: impurity = splitter.node_impurity() first = 0 if not is_leaf: splitter.node_split(impurity, &split, &n_constant_features) ^ ------------------------------------------------------------ causalml/inference/tree/causal/builder.pyx:125:40: Converting to Python object not allowed without gil Error compiling Cython file: ------------------------------------------------------------ ... if first: impurity = splitter.node_impurity() first = 0 if not is_leaf: splitter.node_split(impurity, &split, &n_constant_features) ^ ------------------------------------------------------------ causalml/inference/tree/causal/builder.pyx:125:50: Converting to Python object not allowed without gil Error compiling Cython file: ------------------------------------------------------------ ... if first: impurity = splitter.node_impurity() first = 0 if not is_leaf: splitter.node_split(impurity, &split, &n_constant_features) ^ ------------------------------------------------------------ causalml/inference/tree/causal/builder.pyx:125:58: Converting to Python object not allowed without gil Error compiling Cython file: ------------------------------------------------------------ ... if not is_leaf: splitter.node_split(impurity, &split, &n_constant_features) # If EPSILON=0 in the below comparison, float precision # issues stop splitting, producing trees that are # dissimilar to v0.18 is_leaf = (is_leaf or split.pos >= end or ^ ------------------------------------------------------------ causalml/inference/tree/causal/builder.pyx:129:52: Truth-testing Python object not allowed without gil Error compiling Cython file: ------------------------------------------------------------ ... if not is_leaf: splitter.node_split(impurity, &split, &n_constant_features) # If EPSILON=0 in the below comparison, float precision # issues stop splitting, producing trees that are # dissimilar to v0.18 is_leaf = (is_leaf or split.pos >= end or ^ ------------------------------------------------------------ causalml/inference/tree/causal/builder.pyx:129:52: Operation not allowed without gil Error compiling Cython file: ------------------------------------------------------------ ... if not is_leaf: splitter.node_split(impurity, &split, &n_constant_features) # If EPSILON=0 in the below comparison, float precision # issues stop splitting, producing trees that are # dissimilar to v0.18 is_leaf = (is_leaf or split.pos >= end or ^ ------------------------------------------------------------ causalml/inference/tree/causal/builder.pyx:129:47: Accessing Python attribute not allowed without gil Error compiling Cython file: ------------------------------------------------------------ ... if not is_leaf: splitter.node_split(impurity, &split, &n_constant_features) # If EPSILON=0 in the below comparison, float precision # issues stop splitting, producing trees that are # dissimilar to v0.18 is_leaf = (is_leaf or split.pos >= end or ^ ------------------------------------------------------------ causalml/inference/tree/causal/builder.pyx:129:55: Converting to Python object not allowed without gil Error compiling Cython file: ------------------------------------------------------------ ... splitter.node_split(impurity, &split, &n_constant_features) # If EPSILON=0 in the below comparison, float precision # issues stop splitting, producing trees that are # dissimilar to v0.18 is_leaf = (is_leaf or split.pos >= end or (split.improvement + EPSILON < ^ ------------------------------------------------------------ causalml/inference/tree/causal/builder.pyx:130:60: Truth-testing Python object not allowed without gil Error compiling Cython file: ------------------------------------------------------------ ... splitter.node_split(impurity, &split, &n_constant_features) # If EPSILON=0 in the below comparison, float precision # issues stop splitting, producing trees that are # dissimilar to v0.18 is_leaf = (is_leaf or split.pos >= end or (split.improvement + EPSILON < ^ ------------------------------------------------------------ causalml/inference/tree/causal/builder.pyx:130:60: Operation not allowed without gil Error compiling Cython file: ------------------------------------------------------------ ... splitter.node_split(impurity, &split, &n_constant_features) # If EPSILON=0 in the below comparison, float precision # issues stop splitting, producing trees that are # dissimilar to v0.18 is_leaf = (is_leaf or split.pos >= end or (split.improvement + EPSILON < ^ ------------------------------------------------------------ causalml/inference/tree/causal/builder.pyx:130:50: Operation not allowed without gil Error compiling Cython file: ------------------------------------------------------------ ... splitter.node_split(impurity, &split, &n_constant_features) # If EPSILON=0 in the below comparison, float precision # issues stop splitting, producing trees that are # dissimilar to v0.18 is_leaf = (is_leaf or split.pos >= end or (split.improvement + EPSILON < ^ ------------------------------------------------------------ causalml/inference/tree/causal/builder.pyx:130:37: Accessing Python attribute not allowed without gil Error compiling Cython file: ------------------------------------------------------------ ... splitter.node_split(impurity, &split, &n_constant_features) # If EPSILON=0 in the below comparison, float precision # issues stop splitting, producing trees that are # dissimilar to v0.18 is_leaf = (is_leaf or split.pos >= end or (split.improvement + EPSILON < ^ ------------------------------------------------------------ causalml/inference/tree/causal/builder.pyx:130:52: Converting to Python object not allowed without gil Error compiling Cython file: ------------------------------------------------------------ ... # If EPSILON=0 in the below comparison, float precision # issues stop splitting, producing trees that are # dissimilar to v0.18 is_leaf = (is_leaf or split.pos >= end or (split.improvement + EPSILON < min_impurity_decrease)) ^ ------------------------------------------------------------ causalml/inference/tree/causal/builder.pyx:131:32: Converting to Python object not allowed without gil Error compiling Cython file: ------------------------------------------------------------ ... # dissimilar to v0.18 is_leaf = (is_leaf or split.pos >= end or (split.improvement + EPSILON < min_impurity_decrease)) node_id = tree._add_node(parent, is_left, is_leaf, split.feature, ^ ------------------------------------------------------------ causalml/inference/tree/causal/builder.pyx:133:40: Coercion from Python not allowed without the GIL Error compiling Cython file: ------------------------------------------------------------ ... # dissimilar to v0.18 is_leaf = (is_leaf or split.pos >= end or (split.improvement + EPSILON < min_impurity_decrease)) node_id = tree._add_node(parent, is_left, is_leaf, split.feature, ^ ------------------------------------------------------------ causalml/inference/tree/causal/builder.pyx:133:40: Calling gil-requiring function not allowed without gil Error compiling Cython file: ------------------------------------------------------------ ... # dissimilar to v0.18 is_leaf = (is_leaf or split.pos >= end or (split.improvement + EPSILON < min_impurity_decrease)) node_id = tree._add_node(parent, is_left, is_leaf, split.feature, ^ ------------------------------------------------------------ causalml/inference/tree/causal/builder.pyx:133:30: Accessing Python attribute not allowed without gil Error compiling Cython file: ------------------------------------------------------------ ... # dissimilar to v0.18 is_leaf = (is_leaf or split.pos >= end or (split.improvement + EPSILON < min_impurity_decrease)) node_id = tree._add_node(parent, is_left, is_leaf, split.feature, ^ ------------------------------------------------------------ causalml/inference/tree/causal/builder.pyx:133:40: Constructing Python tuple not allowed without gil Error compiling Cython file: ------------------------------------------------------------ ... # dissimilar to v0.18 is_leaf = (is_leaf or split.pos >= end or (split.improvement + EPSILON < min_impurity_decrease)) node_id = tree._add_node(parent, is_left, is_leaf, split.feature, ^ ------------------------------------------------------------ causalml/inference/tree/causal/builder.pyx:133:41: Converting to Python object not allowed without gil Error compiling Cython file: ------------------------------------------------------------ ... # dissimilar to v0.18 is_leaf = (is_leaf or split.pos >= end or (split.improvement + EPSILON < min_impurity_decrease)) node_id = tree._add_node(parent, is_left, is_leaf, split.feature, ^ ------------------------------------------------------------ causalml/inference/tree/causal/builder.pyx:133:49: Converting to Python object not allowed without gil Error compiling Cython file: ------------------------------------------------------------ ... # dissimilar to v0.18 is_leaf = (is_leaf or split.pos >= end or (split.improvement + EPSILON < min_impurity_decrease)) node_id = tree._add_node(parent, is_left, is_leaf, split.feature, ^ ------------------------------------------------------------ causalml/inference/tree/causal/builder.pyx:133:58: Converting to Python object not allowed without gil Error compiling Cython file: ------------------------------------------------------------ ... # dissimilar to v0.18 is_leaf = (is_leaf or split.pos >= end or (split.improvement + EPSILON < min_impurity_decrease)) node_id = tree._add_node(parent, is_left, is_leaf, split.feature, ^ ------------------------------------------------------------ causalml/inference/tree/causal/builder.pyx:133:72: Accessing Python attribute not allowed without gil Error compiling Cython file: ------------------------------------------------------------ ... is_leaf = (is_leaf or split.pos >= end or (split.improvement + EPSILON < min_impurity_decrease)) node_id = tree._add_node(parent, is_left, is_leaf, split.feature, split.threshold, impurity, n_node_samples, ^ ------------------------------------------------------------ causalml/inference/tree/causal/builder.pyx:134:46: Accessing Python attribute not allowed without gil Error compiling Cython file: ------------------------------------------------------------ ... is_leaf = (is_leaf or split.pos >= end or (split.improvement + EPSILON < min_impurity_decrease)) node_id = tree._add_node(parent, is_left, is_leaf, split.feature, split.threshold, impurity, n_node_samples, ^ ------------------------------------------------------------ causalml/inference/tree/causal/builder.pyx:134:58: Converting to Python object not allowed without gil Error compiling Cython file: ------------------------------------------------------------ ... is_leaf = (is_leaf or split.pos >= end or (split.improvement + EPSILON < min_impurity_decrease)) node_id = tree._add_node(parent, is_left, is_leaf, split.feature, split.threshold, impurity, n_node_samples, ^ ------------------------------------------------------------ causalml/inference/tree/causal/builder.pyx:134:68: Converting to Python object not allowed without gil Error compiling Cython file: ------------------------------------------------------------ ... (split.improvement + EPSILON < min_impurity_decrease)) node_id = tree._add_node(parent, is_left, is_leaf, split.feature, split.threshold, impurity, n_node_samples, weighted_n_node_samples) ^ ------------------------------------------------------------ causalml/inference/tree/causal/builder.pyx:135:41: Converting to Python object not allowed without gil Error compiling Cython file: ------------------------------------------------------------ ... rc = -1 break # Store value for all nodes, to facilitate tree/model # inspection and interpretation splitter.node_value(tree.value + node_id * tree.value_stride) ^ ------------------------------------------------------------ causalml/inference/tree/causal/builder.pyx:143:35: Discarding owned Python object not allowed without gil Error compiling Cython file: ------------------------------------------------------------ ... rc = -1 break # Store value for all nodes, to facilitate tree/model # inspection and interpretation splitter.node_value(tree.value + node_id * tree.value_stride) ^ ------------------------------------------------------------ causalml/inference/tree/causal/builder.pyx:143:35: Calling gil-requiring function not allowed without gil Error compiling Cython file: ------------------------------------------------------------ ... rc = -1 break # Store value for all nodes, to facilitate tree/model # inspection and interpretation splitter.node_value(tree.value + node_id * tree.value_stride) ^ ------------------------------------------------------------ causalml/inference/tree/causal/builder.pyx:143:24: Accessing Python attribute not allowed without gil Error compiling Cython file: ------------------------------------------------------------ ... rc = -1 break # Store value for all nodes, to facilitate tree/model # inspection and interpretation splitter.node_value(tree.value + node_id * tree.value_stride) ^ ------------------------------------------------------------ causalml/inference/tree/causal/builder.pyx:143:35: Constructing Python tuple not allowed without gil Error compiling Cython file: ------------------------------------------------------------ ... rc = -1 break # Store value for all nodes, to facilitate tree/model # inspection and interpretation splitter.node_value(tree.value + node_id * tree.value_stride) ^ ------------------------------------------------------------ causalml/inference/tree/causal/builder.pyx:143:47: Operation not allowed without gil Error compiling Cython file: ------------------------------------------------------------ ... rc = -1 break # Store value for all nodes, to facilitate tree/model # inspection and interpretation splitter.node_value(tree.value + node_id * tree.value_stride) ^ ------------------------------------------------------------ causalml/inference/tree/causal/builder.pyx:143:40: Accessing Python attribute not allowed without gil Error compiling Cython file: ------------------------------------------------------------ ... rc = -1 break # Store value for all nodes, to facilitate tree/model # inspection and interpretation splitter.node_value(tree.value + node_id * tree.value_stride) ^ ------------------------------------------------------------ causalml/inference/tree/causal/builder.pyx:143:57: Operation not allowed without gil Error compiling Cython file: ------------------------------------------------------------ ... rc = -1 break # Store value for all nodes, to facilitate tree/model # inspection and interpretation splitter.node_value(tree.value + node_id * tree.value_stride) ^ ------------------------------------------------------------ causalml/inference/tree/causal/builder.pyx:143:49: Converting to Python object not allowed without gil Error compiling Cython file: ------------------------------------------------------------ ... rc = -1 break # Store value for all nodes, to facilitate tree/model # inspection and interpretation splitter.node_value(tree.value + node_id * tree.value_stride) ^ ------------------------------------------------------------ causalml/inference/tree/causal/builder.pyx:143:63: Accessing Python attribute not allowed without gil Error compiling Cython file: ------------------------------------------------------------ ... # inspection and interpretation splitter.node_value(tree.value + node_id * tree.value_stride) if not is_leaf: # Push right child on stack rc = stack.push(split.pos, end, depth + 1, node_id, 0, ^ ------------------------------------------------------------ causalml/inference/tree/causal/builder.pyx:147:35: Coercion from Python not allowed without the GIL Error compiling Cython file: ------------------------------------------------------------ ... # inspection and interpretation splitter.node_value(tree.value + node_id * tree.value_stride) if not is_leaf: # Push right child on stack rc = stack.push(split.pos, end, depth + 1, node_id, 0, ^ ------------------------------------------------------------ causalml/inference/tree/causal/builder.pyx:147:35: Calling gil-requiring function not allowed without gil Error compiling Cython file: ------------------------------------------------------------ ... # inspection and interpretation splitter.node_value(tree.value + node_id * tree.value_stride) if not is_leaf: # Push right child on stack rc = stack.push(split.pos, end, depth + 1, node_id, 0, ^ ------------------------------------------------------------ causalml/inference/tree/causal/builder.pyx:147:30: Accessing Python attribute not allowed without gil Error compiling Cython file: ------------------------------------------------------------ ... # inspection and interpretation splitter.node_value(tree.value + node_id * tree.value_stride) if not is_leaf: # Push right child on stack rc = stack.push(split.pos, end, depth + 1, node_id, 0, ^ ------------------------------------------------------------ causalml/inference/tree/causal/builder.pyx:147:35: Constructing Python tuple not allowed without gil Error compiling Cython file: ------------------------------------------------------------ ... # inspection and interpretation splitter.node_value(tree.value + node_id * tree.value_stride) if not is_leaf: # Push right child on stack rc = stack.push(split.pos, end, depth + 1, node_id, 0, ^ ------------------------------------------------------------ causalml/inference/tree/causal/builder.pyx:147:41: Accessing Python attribute not allowed without gil Error compiling Cython file: ------------------------------------------------------------ ... # inspection and interpretation splitter.node_value(tree.value + node_id * tree.value_stride) if not is_leaf: # Push right child on stack rc = stack.push(split.pos, end, depth + 1, node_id, 0, ^ ------------------------------------------------------------ causalml/inference/tree/causal/builder.pyx:147:47: Converting to Python object not allowed without gil Error compiling Cython file: ------------------------------------------------------------ ... # inspection and interpretation splitter.node_value(tree.value + node_id * tree.value_stride) if not is_leaf: # Push right child on stack rc = stack.push(split.pos, end, depth + 1, node_id, 0, ^ ------------------------------------------------------------ causalml/inference/tree/causal/builder.pyx:147:58: Converting to Python object not allowed without gil Error compiling Cython file: ------------------------------------------------------------ ... # inspection and interpretation splitter.node_value(tree.value + node_id * tree.value_stride) if not is_leaf: # Push right child on stack rc = stack.push(split.pos, end, depth + 1, node_id, 0, ^ ------------------------------------------------------------ causalml/inference/tree/causal/builder.pyx:147:63: Converting to Python object not allowed without gil Error compiling Cython file: ------------------------------------------------------------ ... splitter.node_value(tree.value + node_id * tree.value_stride) if not is_leaf: # Push right child on stack rc = stack.push(split.pos, end, depth + 1, node_id, 0, split.impurity_right, n_constant_features) ^ ------------------------------------------------------------ causalml/inference/tree/causal/builder.pyx:148:41: Accessing Python attribute not allowed without gil Error compiling Cython file: ------------------------------------------------------------ ... splitter.node_value(tree.value + node_id * tree.value_stride) if not is_leaf: # Push right child on stack rc = stack.push(split.pos, end, depth + 1, node_id, 0, split.impurity_right, n_constant_features) ^ ------------------------------------------------------------ causalml/inference/tree/causal/builder.pyx:148:58: Converting to Python object not allowed without gil Error compiling Cython file: ------------------------------------------------------------ ... split.impurity_right, n_constant_features) if rc == -1: break # Push left child on stack rc = stack.push(start, split.pos, depth + 1, node_id, 1, ^ ------------------------------------------------------------ causalml/inference/tree/causal/builder.pyx:153:35: Coercion from Python not allowed without the GIL Error compiling Cython file: ------------------------------------------------------------ ... split.impurity_right, n_constant_features) if rc == -1: break # Push left child on stack rc = stack.push(start, split.pos, depth + 1, node_id, 1, ^ ------------------------------------------------------------ causalml/inference/tree/causal/builder.pyx:153:35: Calling gil-requiring function not allowed without gil Error compiling Cython file: ------------------------------------------------------------ ... split.impurity_right, n_constant_features) if rc == -1: break # Push left child on stack rc = stack.push(start, split.pos, depth + 1, node_id, 1, ^ ------------------------------------------------------------ causalml/inference/tree/causal/builder.pyx:153:30: Accessing Python attribute not allowed without gil Error compiling Cython file: ------------------------------------------------------------ ... split.impurity_right, n_constant_features) if rc == -1: break # Push left child on stack rc = stack.push(start, split.pos, depth + 1, node_id, 1, ^ ------------------------------------------------------------ causalml/inference/tree/causal/builder.pyx:153:35: Constructing Python tuple not allowed without gil Error compiling Cython file: ------------------------------------------------------------ ... split.impurity_right, n_constant_features) if rc == -1: break # Push left child on stack rc = stack.push(start, split.pos, depth + 1, node_id, 1, ^ ------------------------------------------------------------ causalml/inference/tree/causal/builder.pyx:153:36: Converting to Python object not allowed without gil Error compiling Cython file: ------------------------------------------------------------ ... split.impurity_right, n_constant_features) if rc == -1: break # Push left child on stack rc = stack.push(start, split.pos, depth + 1, node_id, 1, ^ ------------------------------------------------------------ causalml/inference/tree/causal/builder.pyx:153:48: Accessing Python attribute not allowed without gil Error compiling Cython file: ------------------------------------------------------------ ... split.impurity_right, n_constant_features) if rc == -1: break # Push left child on stack rc = stack.push(start, split.pos, depth + 1, node_id, 1, ^ ------------------------------------------------------------ causalml/inference/tree/causal/builder.pyx:153:60: Converting to Python object not allowed without gil Error compiling Cython file: ------------------------------------------------------------ ... split.impurity_right, n_constant_features) if rc == -1: break # Push left child on stack rc = stack.push(start, split.pos, depth + 1, node_id, 1, ^ ------------------------------------------------------------ causalml/inference/tree/causal/builder.pyx:153:65: Converting to Python object not allowed without gil Error compiling Cython file: ------------------------------------------------------------ ... if rc == -1: break # Push left child on stack rc = stack.push(start, split.pos, depth + 1, node_id, 1, split.impurity_left, n_constant_features) ^ ------------------------------------------------------------ causalml/inference/tree/causal/builder.pyx:154:41: Accessing Python attribute not allowed without gil Error compiling Cython file: ------------------------------------------------------------ ... if rc == -1: break # Push left child on stack rc = stack.push(start, split.pos, depth + 1, node_id, 1, split.impurity_left, n_constant_features) ^ ------------------------------------------------------------ causalml/inference/tree/causal/builder.pyx:154:57: Converting to Python object not allowed without gil Error compiling Cython file: ------------------------------------------------------------ ... if depth > max_depth_seen: max_depth_seen = depth if rc >= 0: rc = tree._resize_c(tree.node_count) ^ ------------------------------------------------------------ causalml/inference/tree/causal/builder.pyx:162:35: Coercion from Python not allowed without the GIL Error compiling Cython file: ------------------------------------------------------------ ... if depth > max_depth_seen: max_depth_seen = depth if rc >= 0: rc = tree._resize_c(tree.node_count) ^ ------------------------------------------------------------ causalml/inference/tree/causal/builder.pyx:162:35: Calling gil-requiring function not allowed without gil Error compiling Cython file: ------------------------------------------------------------ ... if depth > max_depth_seen: max_depth_seen = depth if rc >= 0: rc = tree._resize_c(tree.node_count) ^ ------------------------------------------------------------ causalml/inference/tree/causal/builder.pyx:162:25: Accessing Python attribute not allowed without gil Error compiling Cython file: ------------------------------------------------------------ ... if depth > max_depth_seen: max_depth_seen = depth if rc >= 0: rc = tree._resize_c(tree.node_count) ^ ------------------------------------------------------------ causalml/inference/tree/causal/builder.pyx:162:35: Constructing Python tuple not allowed without gil Error compiling Cython file: ------------------------------------------------------------ ... if depth > max_depth_seen: max_depth_seen = depth if rc >= 0: rc = tree._resize_c(tree.node_count) ^ ------------------------------------------------------------ causalml/inference/tree/causal/builder.pyx:162:40: Accessing Python attribute not allowed without gil Error compiling Cython file: ------------------------------------------------------------ ... if rc >= 0: rc = tree._resize_c(tree.node_count) if rc >= 0: tree.max_depth = max_depth_seen ^ ------------------------------------------------------------ causalml/inference/tree/causal/builder.pyx:165:20: Accessing Python attribute not allowed without gil Error compiling Cython file: ------------------------------------------------------------ ... if rc >= 0: rc = tree._resize_c(tree.node_count) if rc >= 0: tree.max_depth = max_depth_seen ^ ------------------------------------------------------------ causalml/inference/tree/causal/builder.pyx:165:33: Converting to Python object not allowed without gil Traceback (most recent call last): File "/builddir/build/BUILD/causalml-0.13.0/setup.py", line 80, in ext_modules=cythonize(extensions, annotate=True), File "/builddir/build/BUILD/causalml-0.13.0/.eggs/Cython-0.29.34-py3.9-linux-x86_64.egg/Cython/Build/Dependencies.py", line 1115, in cythonize cythonize_one(*args) File "/builddir/build/BUILD/causalml-0.13.0/.eggs/Cython-0.29.34-py3.9-linux-x86_64.egg/Cython/Build/Dependencies.py", line 1238, in cythonize_one raise CompileError(None, pyx_file) Cython.Compiler.Errors.CompileError: causalml/inference/tree/causal/builder.pyx error: Bad exit status from /var/tmp/rpm-tmp.nu1sfP (%build) Bad exit status from /var/tmp/rpm-tmp.nu1sfP (%build) RPM build errors: Child return code was: 1 EXCEPTION: [Error('Command failed: \n # bash --login -c /usr/bin/rpmbuild -bb --target x86_64 --nodeps /builddir/build/SPECS/python-causalml.spec\n', 1)] Traceback (most recent call last): File "/usr/lib/python3.11/site-packages/mockbuild/trace_decorator.py", line 93, in trace result = func(*args, **kw) ^^^^^^^^^^^^^^^^^ File "/usr/lib/python3.11/site-packages/mockbuild/util.py", line 598, in do_with_status raise exception.Error("Command failed: \n # %s\n%s" % (command, output), child.returncode) mockbuild.exception.Error: Command failed: # bash --login -c /usr/bin/rpmbuild -bb --target x86_64 --nodeps /builddir/build/SPECS/python-causalml.spec