Skip to content

Set Cython 'language_level` directive after 1.16 release. #12356

Closed
@charris

Description

@charris

FutureWarning: Cython directive 'language_level' not set, using 2 for now (Py2).

The directive needs to be in the *.pyx files.

Reproducing code example:

import numpy as np
<< your code here >>

Error message:

Numpy/Python version information:

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions