Skip to content

Error when compiling with Python3.12 (WAF files contain null bytes) #614

Description

@Rtx-Nick-Howden

When compiling the source with Python 3.12 (using WAF)
python3 waf configure --prefix=installed --require-python
File "/tmp/nitro-NITRO-2.11.6/externals/coda-oss/build/waf", line 166
#BZh91AY&SYr
SyntaxError: source code cannot contain null bytes

Cause is a change in Python3.12 which raises a syntax error when source files contain null bytes
python/cpython#96670

I think the fix is to remove the null bytes from the WAF file in contrib

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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