Skip to content

Commit

Permalink
docs(framework) Use Python 3.9 as default (#4196)
Browse files Browse the repository at this point in the history
  • Loading branch information
charlesbvll authored Sep 13, 2024
1 parent f5cc9ab commit 76ee0a2
Show file tree
Hide file tree
Showing 8 changed files with 39 additions and 39 deletions.
18 changes: 9 additions & 9 deletions doc/locales/fr/LC_MESSAGES/framework-docs.po
Original file line number Diff line number Diff line change
Expand Up @@ -1040,12 +1040,12 @@ msgstr "Version Python"
#: ../../source/how-to-install-flower.rst:8
#, fuzzy
msgid ""
"Flower requires at least `Python 3.8 <https://docs.python.org/3.8/>`_, "
"Flower requires at least `Python 3.9 <https://docs.python.org/3.9/>`_, "
"but `Python 3.10 <https://docs.python.org/3.10/>`_ or above is "
"recommended."
msgstr ""
"Flower nécessite `Python 3.7 <https://docs.python.org/3.7/>`_ ou plus, "
"nous recommandons `Python 3.8 <https://docs.python.org/3.8/>`_."
"Flower nécessite `Python 3.9 <https://docs.python.org/3.9/>`_ ou plus, "
"nous recommandons `Python 3.10 <https://docs.python.org/3.10/>`_."

#: ../../source/contributor-how-to-set-up-a-virtual-env.rst:14
msgid ""
Expand Down Expand Up @@ -2226,8 +2226,8 @@ msgstr "Prérequis"

#: ../../source/contributor-tutorial-get-started-as-a-contributor.rst:7
#, fuzzy
msgid "`Python 3.8 <https://docs.python.org/3.8/>`_ or above"
msgstr "`Python 3.7 <https://docs.python.org/3.7/>`_ ou plus"
msgid "`Python 3.9 <https://docs.python.org/3.9/>`_ or above"
msgstr "`Python 3.10 <https://docs.python.org/3.10/>`_ ou plus"

#: ../../source/contributor-tutorial-get-started-as-a-contributor.rst:8
msgid "`Poetry 1.3 <https://python-poetry.org/>`_ or above"
Expand Down Expand Up @@ -2321,22 +2321,22 @@ msgstr ""
msgid ""
"If you don't have :code:`pyenv` installed, the following script that will"
" install it, set it up, and create the virtual environment (with "
":code:`Python 3.8.17` by default)::"
":code:`Python 3.9.20` by default)::"
msgstr ""
"Si vous n'avez pas :code:`pyenv` installé, vous pouvez utiliser le script"
" suivant qui l'installera, le configurera et créera l'environnement "
"virtuel (avec :code:`Python 3.8.17` par défaut)::"
"virtuel (avec :code:`Python 3.9.20` par défaut)::"

#: ../../source/contributor-tutorial-get-started-as-a-contributor.rst:58
#, fuzzy
msgid ""
"If you already have :code:`pyenv` installed (along with the :code:`pyenv-"
"virtualenv` plugin), you can use the following convenience script (with "
":code:`Python 3.8.17` by default)::"
":code:`Python 3.9.20` by default)::"
msgstr ""
"Si vous n'avez pas :code:`pyenv` installé, vous pouvez utiliser le script"
" suivant qui l'installera, le configurera et créera l'environnement "
"virtuel (avec :code:`Python 3.8.17` par défaut)::"
"virtuel (avec :code:`Python 3.9.20` par défaut)::"

#: ../../source/contributor-tutorial-get-started-as-a-contributor.rst:62
#, fuzzy
Expand Down
16 changes: 8 additions & 8 deletions doc/locales/ko/LC_MESSAGES/framework-docs.po
Original file line number Diff line number Diff line change
Expand Up @@ -1058,10 +1058,10 @@ msgstr "Python 버전"
#: ../../source/contributor-how-to-set-up-a-virtual-env.rst:11
#: ../../source/how-to-install-flower.rst:8
msgid ""
"Flower requires at least `Python 3.8 <https://docs.python.org/3.8/>`_, but "
"Flower requires at least `Python 3.9 <https://docs.python.org/3.9/>`_, but "
"`Python 3.10 <https://docs.python.org/3.10/>`_ or above is recommended."
msgstr ""
"Flower는 `Python 3.8 <https://docs.python.org/3.8/>`_이상이 필요하지만, "
"Flower는 `Python 3.9 <https://docs.python.org/3.9/>`_이상이 필요하지만, "
"`Python 3.10 <https://docs.python.org/3.10/>`_이상을 권장합니다."

#: ../../source/contributor-how-to-set-up-a-virtual-env.rst:14
Expand Down Expand Up @@ -2143,8 +2143,8 @@ msgid "Prerequisites"
msgstr "전제 조건"

#: ../../source/contributor-tutorial-get-started-as-a-contributor.rst:7
msgid "`Python 3.8 <https://docs.python.org/3.8/>`_ or above"
msgstr "Python 3.8 <https://docs.python.org/3.8/>`_ 이상"
msgid "`Python 3.9 <https://docs.python.org/3.9/>`_ or above"
msgstr "Python 3.9 <https://docs.python.org/3.9/>`_ 이상"

#: ../../source/contributor-tutorial-get-started-as-a-contributor.rst:8
msgid "`Poetry 1.3 <https://python-poetry.org/>`_ or above"
Expand Down Expand Up @@ -2242,20 +2242,20 @@ msgstr ""
msgid ""
"If you don't have :code:`pyenv` installed, the following script that will "
"install it, set it up, and create the virtual environment (with :code:"
"`Python 3.8.17` by default)::"
"`Python 3.9.20` by default)::"
msgstr ""
":code:`pyenv`가 설치되어 있지 않은 경우 다음 스크립트를 사용하여 설치, 설정 "
"및 가상 환경을 생성합니다(기본적으로 :code:`Python 3.8.17` 사용):"
"및 가상 환경을 생성합니다(기본적으로 :code:`Python 3.9.20` 사용):"

#: ../../source/contributor-tutorial-get-started-as-a-contributor.rst:58
msgid ""
"If you already have :code:`pyenv` installed (along with the :code:`pyenv-"
"virtualenv` plugin), you can use the following convenience script (with :"
"code:`Python 3.8.17` by default)::"
"code:`Python 3.9.20` by default)::"
msgstr ""
":code:`pyenv`가 이미 설치되어 있는 경우( :code:`pyenv-virtualenv` 플러그인과 "
"함께) 다음과 같은 편의 스크립트를 사용할 수 있습니다(기본적으로 코드:`Python "
"3.8.17` 사용):"
"3.9.20` 사용):"

#: ../../source/contributor-tutorial-get-started-as-a-contributor.rst:62
msgid ""
Expand Down
8 changes: 4 additions & 4 deletions doc/locales/pt_BR/LC_MESSAGES/framework-docs.po
Original file line number Diff line number Diff line change
Expand Up @@ -1003,7 +1003,7 @@ msgstr ""
#: ../../source/contributor-how-to-set-up-a-virtual-env.rst:11
#: ../../source/how-to-install-flower.rst:8
msgid ""
"Flower requires at least `Python 3.8 <https://docs.python.org/3.8/>`_, "
"Flower requires at least `Python 3.9 <https://docs.python.org/3.9/>`_, "
"but `Python 3.10 <https://docs.python.org/3.10/>`_ or above is "
"recommended."
msgstr ""
Expand Down Expand Up @@ -1923,7 +1923,7 @@ msgid "Prerequisites"
msgstr ""

#: ../../source/contributor-tutorial-get-started-as-a-contributor.rst:7
msgid "`Python 3.8 <https://docs.python.org/3.8/>`_ or above"
msgid "`Python 3.9 <https://docs.python.org/3.9/>`_ or above"
msgstr ""

#: ../../source/contributor-tutorial-get-started-as-a-contributor.rst:8
Expand Down Expand Up @@ -2006,14 +2006,14 @@ msgstr ""
msgid ""
"If you don't have :code:`pyenv` installed, the following script that will"
" install it, set it up, and create the virtual environment (with "
":code:`Python 3.8.17` by default)::"
":code:`Python 3.9.20` by default)::"
msgstr ""

#: ../../source/contributor-tutorial-get-started-as-a-contributor.rst:58
msgid ""
"If you already have :code:`pyenv` installed (along with the :code:`pyenv-"
"virtualenv` plugin), you can use the following convenience script (with "
":code:`Python 3.8.17` by default)::"
":code:`Python 3.9.20` by default)::"
msgstr ""

#: ../../source/contributor-tutorial-get-started-as-a-contributor.rst:62
Expand Down
20 changes: 10 additions & 10 deletions doc/locales/zh_Hans/LC_MESSAGES/framework-docs.po
Original file line number Diff line number Diff line change
Expand Up @@ -1032,11 +1032,11 @@ msgstr "Python 版本"
#: ../../source/contributor-how-to-set-up-a-virtual-env.rst:11
#: ../../source/how-to-install-flower.rst:8
msgid ""
"Flower requires at least `Python 3.8 <https://docs.python.org/3.8/>`_, "
"Flower requires at least `Python 3.9 <https://docs.python.org/3.9/>`_, "
"but `Python 3.10 <https://docs.python.org/3.10/>`_ or above is "
"recommended."
msgstr ""
"Flower 至少需要 `Python 3.8 <https://docs.python.org/3.8/>`_,但建议使用 `Python "
"Flower 至少需要 `Python 3.9 <https://docs.python.org/3.9/>`_,但建议使用 `Python "
"3.10 <https://docs.python.org/3.10/>`_或更高版本。"

#: ../../source/contributor-how-to-set-up-a-virtual-env.rst:14
Expand Down Expand Up @@ -2062,8 +2062,8 @@ msgstr "先决条件"

#: ../../source/contributor-tutorial-get-started-as-a-contributor.rst:7
#, fuzzy
msgid "`Python 3.8 <https://docs.python.org/3.8/>`_ or above"
msgstr "Python 3.7 <https://docs.python.org/3.7/>`_ 或更高版本"
msgid "`Python 3.9 <https://docs.python.org/3.9/>`_ or above"
msgstr "Python 3.9 <https://docs.python.org/3.9/>`_ 或更高版本"

#: ../../source/contributor-tutorial-get-started-as-a-contributor.rst:8
msgid "`Poetry 1.3 <https://python-poetry.org/>`_ or above"
Expand Down Expand Up @@ -2161,20 +2161,20 @@ msgstr ""
msgid ""
"If you don't have :code:`pyenv` installed, the following script that will"
" install it, set it up, and create the virtual environment (with "
":code:`Python 3.8.17` by default)::"
":code:`Python 3.9.20` by default)::"
msgstr ""
"如果没有安装 :code:`pyenv`,可以使用以下脚本安装 pyenv、设置并创建虚拟环境(默认使用 "
":code:`Python3.8.17)::"
":code:`Python 3.9.20)::"

#: ../../source/contributor-tutorial-get-started-as-a-contributor.rst:58
#, fuzzy
msgid ""
"If you already have :code:`pyenv` installed (along with the :code:`pyenv-"
"virtualenv` plugin), you can use the following convenience script (with "
":code:`Python 3.8.17` by default)::"
":code:`Python 3.9.20` by default)::"
msgstr ""
"如果没有安装 :code:`pyenv`,可以使用以下脚本安装 pyenv、设置并创建虚拟环境(默认使用 "
":code:`Python3.8.17)::"
":code:`Python 3.9.20)::"

#: ../../source/contributor-tutorial-get-started-as-a-contributor.rst:62
#, fuzzy
Expand Down Expand Up @@ -17131,15 +17131,15 @@ msgstr "停用"
#: ../../source/ref-changelog.md:77
#, fuzzy
msgid "**Deprecate Python 3.8 support**"
msgstr "** 过时的 Python 3.7**"
msgstr "** 过时的 Python 3.8**"

#: ../../source/ref-changelog.md:79
#, fuzzy
msgid ""
"Python 3.8 will stop receiving security fixes in [October "
"2024](https://devguide.python.org/versions/). Support for Python 3.8 is "
"now deprecated and will be removed in an upcoming release."
msgstr "由于 Python 3.7 已于 2023-06-27 弃用 (EOL),对 Python 3.7 的支持现已废弃,并将在即将发布的版本中移除。"
msgstr "由于 Python 3.8 已于 2024-10-01 弃用 (EOL),对 Python 3.7 的支持现已废弃,并将在即将发布的版本中移除。"

#: ../../source/ref-changelog.md:81
#, fuzzy
Expand Down
2 changes: 1 addition & 1 deletion doc/source/contributor-how-to-set-up-a-virtual-env.rst
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ You can follow the instructions or choose your preferred setup.
Python Version
--------------

Flower requires at least `Python 3.8 <https://docs.python.org/3.8/>`_, but `Python 3.10 <https://docs.python.org/3.10/>`_ or above is recommended.
Flower requires at least `Python 3.9 <https://docs.python.org/3.9/>`_, but `Python 3.10 <https://docs.python.org/3.10/>`_ or above is recommended.

.. note::
Due to a known incompatibility with `ray <https://docs.ray.io/en/latest/>`_,
Expand Down
10 changes: 5 additions & 5 deletions doc/source/contributor-tutorial-get-started-as-a-contributor.rst
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ Get started as a contributor
Prerequisites
-------------

- `Python 3.8 <https://docs.python.org/3.8/>`_ or above
- `Python 3.9 <https://docs.python.org/3.9/>`_ or above
- `Poetry 1.3 <https://python-poetry.org/>`_ or above
- (Optional) `pyenv <https://github.com/pyenv/pyenv>`_
- (Optional) `pyenv-virtualenv <https://github.com/pyenv/pyenv-virtualenv>`_
Expand Down Expand Up @@ -51,11 +51,11 @@ GitHub::

2. Let's create the Python environment for all-things Flower. If you wish to use :code:`pyenv`, we provide two convenience scripts that you can use. If you prefer using something else than :code:`pyenv`, create a new environment, activate and skip to the last point where all packages are installed.

* If you don't have :code:`pyenv` installed, the following script that will install it, set it up, and create the virtual environment (with :code:`Python 3.8.17` by default)::
* If you don't have :code:`pyenv` installed, the following script that will install it, set it up, and create the virtual environment (with :code:`Python 3.9.20` by default)::

$ ./dev/setup-defaults.sh <version> # once completed, run the bootstrap script

* If you already have :code:`pyenv` installed (along with the :code:`pyenv-virtualenv` plugin), you can use the following convenience script (with :code:`Python 3.8.17` by default)::
* If you already have :code:`pyenv` installed (along with the :code:`pyenv-virtualenv` plugin), you can use the following convenience script (with :code:`Python 3.9.20` by default)::

$ ./dev/venv-create.sh <version> # once completed, run the `bootstrap.sh` script

Expand All @@ -78,8 +78,8 @@ Create/Delete Virtual Environment

::

$ ./dev/venv-create.sh <version> # Default is 3.8.17
$ ./dev/venv-delete.sh <version> # Default is 3.8.17
$ ./dev/venv-create.sh <version> # Default is 3.9.20
$ ./dev/venv-delete.sh <version> # Default is 3.9.20

Compile ProtoBuf Definitions
~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Expand Down
2 changes: 1 addition & 1 deletion doc/source/how-to-install-flower.rst
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ Install Flower
Python version
--------------

Flower requires at least `Python 3.8 <https://docs.python.org/3.8/>`_, but `Python 3.10 <https://docs.python.org/3.10/>`_ or above is recommended.
Flower requires at least `Python 3.9 <https://docs.python.org/3.9/>`_, but `Python 3.10 <https://docs.python.org/3.10/>`_ or above is recommended.


Install stable release
Expand Down
2 changes: 1 addition & 1 deletion doc/source/how-to-upgrade-to-flower-next.rst
Original file line number Diff line number Diff line change
Expand Up @@ -88,7 +88,7 @@ Ensure you set the following version constraint in your ``pyproject.toml``:
.. code-block:: toml
[tool.poetry.dependencies]
python = "^3.8"
python = "^3.9"
# Without simulation support
flwr = ">=1.8,<2.0"
Expand Down

0 comments on commit 76ee0a2

Please sign in to comment.