You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Whilst completing PySlurm-2.5.0 for release the compile was tested against Cython-0.17.2 which has raised the following code error against the Slurm API. Cython is correct and the code below is indeed incorrect ! This needs to be fixed and retested before formal release and previous versions should be verified as well at some point to see where the API changed.
makalu:/home/mark/pyslurm # python setup.py build_ext -inplace
INFO:root:Info:
INFO:root:Info: Building PySlurm (2.5.0-1)
INFO:root:Info: ------------------------------
INFO:root:Info:
INFO:root:Info: Cython version 0.17.2 installed
running build_ext
cythoning pyslurm/pyslurm.pyx to pyslurm/pyslurm.c
Error compiling Cython file:
------------------------------------------------------------
...
resv_msg.duration = uint32_value
if reservation_dict[u'node_cnt'] != -1:
int_value = reservation_dict[u'node_cnt']
resv_msg.node_cnt = <uint32_t>slurm.xmalloc(sizeof(uint32_t) * 2)
*resv_msg.node_cnt = int_value
^
------------------------------------------------------------
pyslurm/pyslurm.pyx:2893:2: a starred assignment target must be in a list or tuple - maybe you meant to use an index assignment: var [0] = ...
The text was updated successfully, but these errors were encountered:
Whilst completing PySlurm-2.5.0 for release the compile was tested against Cython-0.17.2 which has raised the following code error against the Slurm API. Cython is correct and the code below is indeed incorrect ! This needs to be fixed and retested before formal release and previous versions should be verified as well at some point to see where the API changed.
The text was updated successfully, but these errors were encountered: