Skip to content

Syntax issue in eb_hooks.py #83

@ocaisa

Description

@ocaisa

With 2025.06, I see

/cvmfs/software.eessi.io/versions/2025.06/init/easybuild/eb_hooks.py:957: SyntaxWarning: invalid escape sequence '\$'
  regex = re.compile("-DCURSES_[A-Z]+_LIBRARY=\$EBROOTNCURSES/lib/lib[a-z]+\.a")

My AI friend tells me that this should be a raw string.

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