عندما قمت بتثبيت 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).
العلاقات العامة لتضمين هذا في 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).