Skip to content

Commit

Permalink
Merge branch '6.0' into meta
Browse files Browse the repository at this point in the history
  • Loading branch information
stevepiercy authored Feb 8, 2025
2 parents 0b392fd + d633bbb commit ed0c2de
Show file tree
Hide file tree
Showing 9 changed files with 32 additions and 28 deletions.
6 changes: 2 additions & 4 deletions docs/admin-guide/install-buildout.md
Original file line number Diff line number Diff line change
Expand Up @@ -31,14 +31,12 @@ For other installation options, see {ref}`get-started-install-label`.

## Prerequisites for installation

- For Plone 6.0, Python {{SUPPORTED_PYTHON_VERSIONS_PLONE60}}
% TODO: These instructions install Plone 6.0.x. Uncomment next line and change the subsequent include when Plone 6.1 is released and "latest".
% - For Plone 6.1, Python {{SUPPORTED_PYTHON_VERSIONS_PLONE61}}
- For Plone 6.1, Python {{SUPPORTED_PYTHON_VERSIONS_PLONE61}}


### Python

```{include} /_inc/_install-python-plone60.md
```{include} /_inc/_install-python-plone61.md
```


Expand Down
8 changes: 3 additions & 5 deletions docs/admin-guide/install-pip.md
Original file line number Diff line number Diff line change
Expand Up @@ -31,14 +31,12 @@ For other installation options, see {ref}`get-started-install-label`.

## Prerequisites for installation

- For Plone 6.0, Python {{SUPPORTED_PYTHON_VERSIONS_PLONE60}}
% TODO: These instructions install Plone 6.0.x. Uncomment next line and change the subsequent include when Plone 6.1 is released and "latest".
% - For Plone 6.1, Python {{SUPPORTED_PYTHON_VERSIONS_PLONE61}}
- For Plone 6.1, Python {{SUPPORTED_PYTHON_VERSIONS_PLONE61}}


### Python

```{include} /_inc/_install-python-plone60.md
```{include} /_inc/_install-python-plone61.md
```


Expand All @@ -60,7 +58,7 @@ python3 -m venv venv
Install Plone and a helper package, {term}`pipx`.

```shell
venv/bin/pip install -c https://dist.plone.org/release/6.0-latest/constraints.txt Plone pipx
venv/bin/pip install -c https://dist.plone.org/release/6.1-latest/constraints.txt Plone pipx
```


Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ Some may require changes in your setup.

## Drop Python 3.8 and 3.9

We only support Python 3.10, 3.11, and 3.12.
We only support Python {{SUPPORTED_PYTHON_VERSIONS_PLONE61}}.


## TinyMCE upgraded in Classic UI
Expand Down
2 changes: 1 addition & 1 deletion docs/conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -441,7 +441,7 @@ def source_replace(app, docname, source):

# Dict of replacements.
source_replacements = {
"{PLONE_BACKEND_MINOR_VERSION}": "6.0",
"{PLONE_BACKEND_MINOR_VERSION}": "6.1",
}

# Finally, configure app attributes.
Expand Down
29 changes: 18 additions & 11 deletions docs/install/create-project-cookieplone.md
Original file line number Diff line number Diff line change
Expand Up @@ -67,8 +67,7 @@ Plone 6 has both hardware requirements and software prerequisites.
```{include} /_inc/_install-python-plone61.md
```

Plone 6.0 requires Python version {{SUPPORTED_PYTHON_VERSIONS_PLONE60}}.
However, Cookieplone does not support Python 3.9.
Plone 6.1 requires Python version {{SUPPORTED_PYTHON_VERSIONS_PLONE61}}.

```{warning}
Python 3.9 will reach [end of life in October 2025](https://devguide.python.org/versions/).
Expand Down Expand Up @@ -132,12 +131,11 @@ See the cookiecutter's README for how to [Use options to avoid prompts](https://
```
```{important}
For {guilabel}`Project Slug`, you must not use any of the Plone core package names listed in [`constraints.txt`](https://dist.plone.org/release/6.0-latest/constraints.txt).
For {guilabel}`Project Slug`, you must not use any of the Plone core package names listed in [`constraints.txt`](https://dist.plone.org/release/6.1-latest/constraints.txt).
Note that pip normalizes these names, so `plone.volto` and `plone-volto` are the same package.
```
```console
% pipx run cookieplone project
╭──────────────────────────────── cookieplone ────────────────────────────────╮
│ │
│ .xxxxxxxxxxxxxx. │
Expand Down Expand Up @@ -172,7 +170,17 @@ Note that pip normalizes these names, so `plone.volto` and `plone-volto` are the
You've downloaded /Users/stevepiercy/.cookiecutters/cookieplone-templates
before. Is it okay to delete and re-download it? [y/n] (y):
╭─────────────────────────────── Plone Project ───────────────────────────────╮
│ │
│ Creating a new Plone Project │
│ │
│ Sanity check results: │
│ │
│ - Cookieplone: ✓ │
│ - Python: ✓ │
│ - Node: ✓ │
│ - git: ✓ │
│ - Docker (optional): ✓ │
│ │
╰─────────────────────────────────────────────────────────────────────────────╯
[1/17] Project Title (Project Title):
[2/17] Project Description (A new project using Plone 6.):
Expand All @@ -181,9 +189,9 @@ before. Is it okay to delete and re-download it? [y/n] (y):
[5/17] Author (Plone Foundation):
[6/17] Author E-mail ([email protected]):
[7/17] Should we use prerelease versions? (No):
[8/17] Plone Version (6.0.13):
[9/17] Volto Version (18.0.0-alpha.43):
[10/17] Python Package Name (project.title):
[8/17] Plone Version (6.1.0):
[9/17] Volto Version (18.8.1):
[10/17] Python Package Name (project.title):
[11/17] Volto Addon Name (volto-project-title):
[12/17] Language
1 - English
Expand Down Expand Up @@ -215,10 +223,9 @@ before. Is it okay to delete and re-download it? [y/n] (y):
│ │
│ Summary: │
│ │
│ - Plone version: 6.0.13 │
│ - Volto version: 18.0.0-alpha.43 │
│ - Output folder: │
<PATH_TO>/project-title │
│ - Plone version: 6.1.0 │
│ - Volto version: 18.8.1 │
│ - Output folder: <PATH_TO>/project-title │
│ │
│ │
╰─────────────────────────────────────────────────────────────────────────────╯
Expand Down
2 changes: 1 addition & 1 deletion docs/install/create-project.md
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@ Plone 6.0 has both hardware requirements and software prerequisites.
```{include} ../volto/_inc/_install-operating-system.md
```

- Python {{SUPPORTED_PYTHON_VERSIONS_PLONE60}}
- Python {{SUPPORTED_PYTHON_VERSIONS_PLONE61}}
- {term}`pipx`
- {term}`nvm`
- {term}`Node.js` LTS 20.x
Expand Down
2 changes: 1 addition & 1 deletion docs/install/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ Then choose one of the following installation methods.
If you are following a [Plone training](https://training.plone.org/), it should specify which option to choose.

{doc}`create-project-cookieplone`
: This is the recommended way to install Plone 6 for a new project with the Volto frontend.
: This is the recommended way to install Plone for a new project with the Volto frontend.
Cookieplone requires Python version {{SUPPORTED_PYTHON_VERSIONS_PLONE61}}.

{doc}`/admin-guide/install-buildout`
Expand Down
1 change: 1 addition & 0 deletions docs/upgrade/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -19,5 +19,6 @@ Plone has several components, each of which have their own upgrade guides:

For Plone 6 the most relevant guides are:

- {doc}`../backend/upgrading/version-specific-migration/upgrade-to-61`
- {doc}`../backend/upgrading/version-specific-migration/upgrade-to-60`
- {doc}`../backend/upgrading/version-specific-migration/migrate-to-volto`
8 changes: 4 additions & 4 deletions requirements-initial.txt
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# requirements-initial.txt
# From https://dist.plone.org/release/6-latest/constraints.txt
pip==24.0
setuptools==71.0.0
wheel==0.43.0
# From https://dist.plone.org/release/6.1.0/constraints.txt
pip==24.3.1
setuptools==75.6.0
wheel==0.45.1

0 comments on commit ed0c2de

Please sign in to comment.