Когда я установил Astropy 3.2.dev23273 в Windows 10, Python 3.7.1 [MSC v.19124)] и Cython 0.29, я увидел следующее предупреждение. Это только один из них. Похоже, это влияет на несколько подпакетов.
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
Возможно, это связано с cython / cython # 2565. Нам нужно что-то делать на нашей стороне?
Это новое предупреждение из Cython 0.29: https://cython.readthedocs.io/en/latest/src/changes.html#id7
Думаю, мы могли бы безопасно использовать language_level=3
(https://cython.readthedocs.io/en/latest/src/userguide/source_files_and_compilation.html#compiler-options).
PR включить это в 3.1?
Я на нем. См. № 8106 для моей попытки.
Самый полезный комментарий
Это новое предупреждение из Cython 0.29: https://cython.readthedocs.io/en/latest/src/changes.html#id7
Думаю, мы могли бы безопасно использовать
language_level=3
(https://cython.readthedocs.io/en/latest/src/userguide/source_files_and_compilation.html#compiler-options).