Astropy: Cython FutureWarning language_level이 μ„€μ •λ˜μ§€ μ•Šμ•˜μŠ΅λ‹ˆλ‹€.

에 λ§Œλ“  2018λ…„ 11μ›” 09일  Β·  3μ½”λ©˜νŠΈ  Β·  좜처: astropy/astropy

Windows 10, Python 3.7.1 [MSC v.19124)], Cython 0.29에 Astropy 3.2.dev23273을 μ„€μΉ˜ν•˜λ©΄ λ‹€μŒκ³Ό 같은 κ²½κ³ κ°€ ν‘œμ‹œλ©λ‹ˆλ‹€. 이것은 κ·Έλ“€ 쀑 ν•˜λ‚˜μž…λ‹ˆλ‹€. 이것은 μ—¬λŸ¬ ν•˜μœ„ νŒ¨ν‚€μ§€μ— 영ν–₯을 λ―ΈμΉ˜λŠ” 것 κ°™μŠ΅λ‹ˆλ‹€.

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와 관련이 μžˆμŠ΅λ‹ˆλ‹€. 우리 νŽΈμ—μ„œν•΄μ•Ό ν•  일이 μžˆμŠ΅λ‹ˆκΉŒ?

installation question

κ°€μž₯ μœ μš©ν•œ λŒ“κΈ€

이것은 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 λŒ“κΈ€

이것은 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에 이것을 ν¬ν•¨ν•˜λŠ” PR?

μ•Œκ² μŠ΅λ‹ˆλ‹€. λ‚΄ μ‹œλ„λŠ” # 8106을 μ°Έμ‘°ν•˜μ‹­μ‹œμ˜€.

이 νŽ˜μ΄μ§€κ°€ 도움이 λ˜μ—ˆλ‚˜μš”?
0 / 5 - 0 λ“±κΈ‰