Closed edoyango closed 1 year ago
Hi,
thanks for reporting. Well, it seems to be the case that Cython does type checking on the return value when return type annotations are used. I will make the fix later today.
Hi again,
it should be fixed now in the main
branch
@tazend thanks for the speedy resolution!
Details
Issue
PySlurm installs correctly but when I use it in my script, it errors:
The error arises for any version of Python/gcc/Cython I use.
If I change
to
on line 6523, the error is resolved. The addition of
-> str
seems to have been introduced in https://github.com/PySlurm/pyslurm/commit/3b8932539361a1e72445d2429026af10b9bd8738