Astropy: Cython FutureWarning language_level não definido

Criado em 9 nov. 2018  ·  3Comentários  ·  Fonte: astropy/astropy

Quando instalei Astropy 3.2.dev23273 no Windows 10, Python 3.7.1 [MSC v.19124)] e Cython 0.29, vejo o seguinte aviso. Este é apenas um deles. Isso parece afetar vários subpacotes.

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

Talvez isso esteja relacionado ao cython / cython # 2565. Precisamos fazer alguma coisa do nosso lado?

installation question

Comentários muito úteis

Este é um novo aviso do Cython 0.29: https://cython.readthedocs.io/en/latest/src/changes.html#id7
Acho que poderíamos usar language_level=3 (https://cython.readthedocs.io/en/latest/src/userguide/source_files_and_compilation.html#compiler-options) com segurança.

Todos 3 comentários

Este é um novo aviso do Cython 0.29: https://cython.readthedocs.io/en/latest/src/changes.html#id7
Acho que poderíamos usar language_level=3 (https://cython.readthedocs.io/en/latest/src/userguide/source_files_and_compilation.html#compiler-options) com segurança.

PR deve incluir isso em 3.1?

Eu estou trabalhando nisso. Veja # 8106 para minha tentativa.

Esta página foi útil?
0 / 5 - 0 avaliações

Questões relacionadas

emilydeibert picture emilydeibert  ·  3Comentários

Iko-7 picture Iko-7  ·  3Comentários

funbaker picture funbaker  ·  3Comentários

simontorres picture simontorres  ·  3Comentários

DanRyanIrish picture DanRyanIrish  ·  3Comentários