Skip to content

Syntax error in submission.pyx prevents builds #389

@jasonsewall

Description

@jasonsewall

There is a syntax error here:

val = pyenviron.get(f"PYSLURM_JOBDESC_{spec)}")

The close-paren inside the {} here is invalid syntax:

            val = pyenviron.get(f"PYSLURM_JOBDESC_{spec)}")

Both the Python interpreter and Cython complain about this and abort. The fix is to remove that extraneous close-paren.

This appears both in 24.5.x and main. It's been in these branches since 0043080#diff-34fd3bc208e0d024056ef78c881a6eb3fbb5ddb99b127043123498985d4c6dc6

I honestly don't know how this ever worked, or why I'm only now running into it.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions