Skip to content

Commit dda4f2f

Browse files
committed
Split SUPPORTED_PYTHON_VERSIONS into two replacement variables for Plone 6.0 and 6.1.
1 parent 8ee9339 commit dda4f2f

File tree

7 files changed

+11
-10
lines changed

7 files changed

+11
-10
lines changed

docs/_inc/_install-python.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
Installing Python is beyond the scope of this documentation.
22
However, it is recommended to use a Python version manager, {term}`pyenv`, that allows you to install multiple versions of Python on your development environment without destroying your system's Python.
33
% TODO: uncomment this line after upgrading to plone-sphinx-theme and latest Sphinx which supports replacements inside includes.
4-
% Plone requires Python version {SUPPORTED_PYTHON_VERSIONS}.
4+
% Plone requires Python version {SUPPORTED_PYTHON_VERSIONS_PLONE60}.
55

66
Plone requires Python version 3.8, 3.9, 3.10, 3.11, or 3.12.

docs/admin-guide/install-buildout.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ myst:
44
"description": "Install Plone with Buildout"
55
"property=og:description": "Install Plone with Buildout"
66
"property=og:title": "Install Plone with Buildout"
7-
"keywords": "Plone 6, install, Classic UI, buildout"
7+
"keywords": "Plone 6, install, Classic UI, Buildout"
88
---
99

1010
(install-buildout-label)=
@@ -24,7 +24,7 @@ For other installation options, see {ref}`get-started-install-label`.
2424

2525
## Prerequisites
2626

27-
- Python 3.10 or greater
27+
- Python (SUPPORTED_PYTHON_VERSIONS_PLONE61)
2828

2929
On Debian-based Linux systems you can install Python with the following command:
3030

docs/conf.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -359,7 +359,8 @@ def source_replace(app, docname, source):
359359
"{PLONE_BACKEND_MINOR_VERSION}": "6.0",
360360
"{PLONE_BACKEND_PATCH_VERSION}": "6.0.13",
361361
"{NVM_VERSION}": "0.39.5",
362-
"{SUPPORTED_PYTHON_VERSIONS}": "3.8, 3.9, 3.10, 3.11, or 3.12",
362+
"{SUPPORTED_PYTHON_VERSIONS_PLONE60}": "3.8, 3.9, 3.10, 3.11, or 3.12",
363+
"{SUPPORTED_PYTHON_VERSIONS_PLONE61}": "3.10, 3.11, or 3.12",
363364
}
364365

365366

docs/contributing/core/index.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@ However, the following links and sections below may be helpful.
4040
```{include} ../../volto/contributing/install-operating-system.md
4141
```
4242

43-
- Python {SUPPORTED_PYTHON_VERSIONS}
43+
- Python {SUPPORTED_PYTHON_VERSIONS_PLONE60}
4444
- {term}`GNU make`
4545
- {term}`Git`
4646
- A C compiler
@@ -50,7 +50,7 @@ However, the following links and sections below may be helpful.
5050

5151
Installing Python is beyond the scope of this documentation.
5252
However, it is recommended to use a Python version manager, {term}`pyenv` that allows you to install multiple versions of Python on your development environment without destroying your system's Python.
53-
Plone requires Python version {SUPPORTED_PYTHON_VERSIONS}.
53+
Plone requires Python version {SUPPORTED_PYTHON_VERSIONS_PLONE60}.
5454

5555

5656
### Make

docs/contributing/documentation/setup-build.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ Installation of Plone 6 Documentation includes prerequisites and the repository
2222

2323
```{include} ../../volto/contributing/install-operating-system.md
2424
```
25-
- {ref}`setup-build-installation-python-label` {SUPPORTED_PYTHON_VERSIONS}
25+
- {ref}`setup-build-installation-python-label` {SUPPORTED_PYTHON_VERSIONS_PLONE60}
2626
- {ref}`setup-build-installation-gnu-make-label`
2727
- {ref}`setup-build-installation-graphviz-label`
2828

@@ -33,7 +33,7 @@ Installation of Plone 6 Documentation includes prerequisites and the repository
3333

3434
Installing Python is beyond the scope of this documentation.
3535
However, it is recommended to use a Python version manager, {term}`pyenv` that allows you to install multiple versions of Python on your development environment without destroying your system's Python.
36-
Plone requires Python version {SUPPORTED_PYTHON_VERSIONS}.
36+
Plone requires Python version {SUPPORTED_PYTHON_VERSIONS_PLONE60}.
3737

3838

3939
(setup-build-installation-gnu-make-label)=

docs/install/create-project-cookieplone.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@ Plone 6 has both hardware requirements and software prerequisites.
4343
```{include} ../volto/contributing/install-operating-system.md
4444
```
4545

46-
- Python {SUPPORTED_PYTHON_VERSIONS}
46+
- Python {SUPPORTED_PYTHON_VERSIONS_PLONE61}
4747
- {term}`pipx`
4848
- {term}`nvm`
4949
- {term}`Node.js` LTS 20.x

docs/install/create-project.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@ Plone 6 has both hardware requirements and software prerequisites.
4545
```{include} ../volto/contributing/install-operating-system.md
4646
```
4747

48-
- Python {SUPPORTED_PYTHON_VERSIONS}
48+
- Python {SUPPORTED_PYTHON_VERSIONS_PLONE60}
4949
- {term}`pipx`
5050
- {term}`nvm`
5151
- {term}`Node.js` LTS 20.x

0 commit comments

Comments
 (0)