파이썬(Python)

test.support 모듈은 재배치 되었습니다

이 출시에서, test.support 모듈은 python3-libs`에서 `python3-test 하위 꾸러미로 이동되었습니다.

This change aims to discover what packages are dependent on test.support and what parts of this module are useful, and could be moved to the standard library.

파이썬 2 지원은 Sphinx에서 중단되었습니다

The packages and sub-packages providing Python 2 support for Sphinx have been removed. See the System Utilities section for details.

파이썬은 파이썬 3(Python 3)를 의미합니다

In package and command names, Python will mean Python 3, that is, users installing and running Python or Python packages without specifying a version will get Python 3. As a result, the name Python will not refer to a software that will be unmaintained upstream for most of Fedora 31’s lifetime and retired from Fedora 32.

주목 할만한 신규 변경은 다음을 포함합니다:

  • 동작하고 있는 파이썬은 `python3`로 동작합니다.

  • Running pytest will run the Python 3 version of pytest, and similarly for pydoc, pylint, and so on.

  • The dnf install python will install Package-x-generic-16.pngpython3, and similarly for other python-* provides, that is, dnf install python-requests will install Package-x-generic-16.pngpython3-requests.

  • Packages with Python 3 modules will provide the unversioned python- name.

  • The /usr/bin/python command will be a symbolic link to /usr/bin/python3 living in the Package-x-generic-16.pngpython-unversioned-command subpackage of Package-x-generic-16.pngpython3.

  • Python package maintainers need no change, but there are several exceptions, such as:

    • 모호한 이름을 가진 꾸러미.

    • 모호한 꾸러미를 제공합니다.

    • 누락된 `%python_provide`를 갖는 꾸러미.

    • 파이썬 버전의 명령과 도구를 갖는 꾸러미.

    • 버전 없는 `파이썬`이 `파이썬 2`가 되어야 하는 꾸러미.

  • Custom scripts with python shebangs will invoke Python 3 by default, whereas previosuly they invoked Python 2 by default.

The final upstream release of Python 2 is planned for January 2020. No further fixes will be made upstream. Most of Fedora 31’s lifetime is after that date. Python 2 will be maintained only by its Fedora maintainers.

파이썬 3.8은 이제 사용 할 수 있습니다

Version 3.8 of the Python programming language and interpreter is now available in Fedora. You can install it from the python38 package.

Note that the Python stack still uses Python 3.7 by default.

Python 3.8 has also been released as an asynchronous update for Fedora 30 and 29.

더 많은 정보를 위해 참고하세요: