Skip to content

Commit

Permalink
Add warning not to create or activate a Python virtual environment (#…
Browse files Browse the repository at this point in the history
  • Loading branch information
stevepiercy authored Nov 23, 2024
1 parent aae4c78 commit 41c49ba
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 1 deletion.
7 changes: 7 additions & 0 deletions docs/_inc/_install-python-plone60.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,3 +2,10 @@ Installing Python is beyond the scope of this documentation.
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.

Plone 6.0 requires Python version {{SUPPORTED_PYTHON_VERSIONS_PLONE60}}.

```{warning}
Do not create or activate a Python virtual environment.
Doing so may cause installation errors.
Let the tools handle this for you.
Additionally the commands in this guide use explicit paths to packages.
```
8 changes: 7 additions & 1 deletion docs/_inc/_install-python-plone61.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,11 @@
Installing Python is beyond the scope of this documentation.
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.
% TODO: uncomment this line after upgrading to plone-sphinx-theme and latest Sphinx which supports replacements inside includes.

Plone 6.1 requires Python version {{SUPPORTED_PYTHON_VERSIONS_PLONE61}}.

```{warning}
Do not create or activate a Python virtual environment.
Doing so may cause installation errors.
Let the tools handle this for you.
Additionally the commands in this guide use explicit paths to packages.
```

0 comments on commit 41c49ba

Please sign in to comment.