Astropy: Cython FutureWarning language_level no establecido

Creado en 9 nov. 2018  ·  3Comentarios  ·  Fuente: astropy/astropy

Cuando instalé Astropy 3.2.dev23273 en Windows 10, Python 3.7.1 [MSC v.19124)] y Cython 0.29, veo la siguiente advertencia. Este es solo uno de ellos. Esto parece afectar a varios subpaquetes.

C:\...\Cython\Compiler\Main.py:367:FutureWarning:
    Cython directive 'language_level' not set, using 2 for now (Py2).
    This will change in a later release!
    File: C:\...\astropy\astropy\table\_np_utils.pyx

Quizás esto esté relacionado con cython / cython # 2565. ¿Necesitamos hacer algo de nuestro lado?

installation question

Comentario más útil

Esta es una nueva advertencia de Cython 0.29: https://cython.readthedocs.io/en/latest/src/changes.html#id7
Supongo que podríamos usar language_level=3 (https://cython.readthedocs.io/en/latest/src/userguide/source_files_and_compilation.html#compiler-options).

Todos 3 comentarios

Esta es una nueva advertencia de Cython 0.29: https://cython.readthedocs.io/en/latest/src/changes.html#id7
Supongo que podríamos usar language_level=3 (https://cython.readthedocs.io/en/latest/src/userguide/source_files_and_compilation.html#compiler-options).

PR para incluir esto en 3.1?

Estoy en ello. Ver # 8106 para mi intento.

¿Fue útil esta página
0 / 5 - 0 calificaciones

Temas relacionados

nstarman picture nstarman  ·  3Comentarios

pllim picture pllim  ·  3Comentarios

Amarchuk picture Amarchuk  ·  3Comentarios

pllim picture pllim  ·  3Comentarios

embray picture embray  ·  3Comentarios