Skip to content

Commit

Permalink
Update documentation with supported Python version (3.6+) (#4636)
Browse files Browse the repository at this point in the history
Co-authored-by: Bjorn Neergaard <bjorn@neersighted.com>
  • Loading branch information
Mariatta and neersighted authored Nov 11, 2021
1 parent 253b60c commit bcb1083
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 17 deletions.
4 changes: 1 addition & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,10 +5,8 @@ ensuring you have the right stack everywhere.

![Poetry Install](https://raw.githubusercontent.com/python-poetry/poetry/master/assets/install.gif)

It supports Python 2.7 and 3.5+.
It supports Python 3.6+.

**Note**: Python 2.7 and 3.5 will no longer be supported in the next feature release (1.2).
You should consider updating your Python version to a supported one.

[![Tests Status](https://github.com/python-poetry/poetry/workflows/Tests/badge.svg?branch=master&event=push)](https://github.com/python-poetry/poetry/actions?query=workflow%3ATests+branch%3Amaster+event%3Apush)

Expand Down
6 changes: 1 addition & 5 deletions docs/_index.md
Original file line number Diff line number Diff line change
Expand Up @@ -17,13 +17,9 @@ It allows you to declare the libraries your project depends on and it will manag

## System requirements

Poetry requires Python 2.7 or 3.5+. It is multi-platform and the goal is to make it work equally well
Poetry requires Python 3.6+. It is multi-platform and the goal is to make it work equally well
on Windows, Linux and OSX.

{{% note %}}
Python 2.7 and 3.5 will no longer be supported in the next feature release (1.2).
You should consider updating your Python version to a supported one.
{{% /note %}}

## Installation

Expand Down
5 changes: 0 additions & 5 deletions docs/configuration.md
Original file line number Diff line number Diff line change
Expand Up @@ -123,11 +123,6 @@ Defaults to one of the following directories:
Use parallel execution when using the new (`>=1.1.0`) installer.
Defaults to `true`.

{{% note %}}
This configuration will be ignored, and parallel execution disabled when running
Python 2.7 under Windows.
{{% /note %}}

### `virtualenvs.create`

**Type**: boolean
Expand Down
8 changes: 4 additions & 4 deletions docs/managing-environments.md
Original file line number Diff line number Diff line change
Expand Up @@ -30,12 +30,12 @@ to activate one explicitly, see [Switching environments](#switching-between-envi
To easily switch between Python versions, it is recommended to
use [pyenv](https://github.com/pyenv/pyenv) or similar tools.

For instance, if your project is Python 3.6 only, a standard workflow
would be:
For instance, if your project requires a newer Python than is available with
your system, a standard workflow would be:

```bash
pyenv install 3.6.15
pyenv local 3.6.15 # Activate Python 3.6 for the current project
pyenv install 3.9.8
pyenv local 3.9.8 # Activate Python 3.9 for the current project
poetry install
```
{{% /note %}}
Expand Down

0 comments on commit bcb1083

Please sign in to comment.