Commit bcb1083b by Mariatta Wijaya Committed by GitHub

Update documentation with supported Python version (3.6+) (#4636)

Co-authored-by: Bjorn Neergaard <bjorn@neersighted.com>
parent 253b60cc
...@@ -5,10 +5,8 @@ ensuring you have the right stack everywhere. ...@@ -5,10 +5,8 @@ ensuring you have the right stack everywhere.
![Poetry Install](https://raw.githubusercontent.com/python-poetry/poetry/master/assets/install.gif) ![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) [![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)
......
...@@ -17,13 +17,9 @@ It allows you to declare the libraries your project depends on and it will manag ...@@ -17,13 +17,9 @@ It allows you to declare the libraries your project depends on and it will manag
## System requirements ## 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. 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 ## Installation
......
...@@ -123,11 +123,6 @@ Defaults to one of the following directories: ...@@ -123,11 +123,6 @@ Defaults to one of the following directories:
Use parallel execution when using the new (`>=1.1.0`) installer. Use parallel execution when using the new (`>=1.1.0`) installer.
Defaults to `true`. Defaults to `true`.
{{% note %}}
This configuration will be ignored, and parallel execution disabled when running
Python 2.7 under Windows.
{{% /note %}}
### `virtualenvs.create` ### `virtualenvs.create`
**Type**: boolean **Type**: boolean
......
...@@ -30,12 +30,12 @@ to activate one explicitly, see [Switching environments](#switching-between-envi ...@@ -30,12 +30,12 @@ to activate one explicitly, see [Switching environments](#switching-between-envi
To easily switch between Python versions, it is recommended to To easily switch between Python versions, it is recommended to
use [pyenv](https://github.com/pyenv/pyenv) or similar tools. use [pyenv](https://github.com/pyenv/pyenv) or similar tools.
For instance, if your project is Python 3.6 only, a standard workflow For instance, if your project requires a newer Python than is available with
would be: your system, a standard workflow would be:
```bash ```bash
pyenv install 3.6.15 pyenv install 3.9.8
pyenv local 3.6.15 # Activate Python 3.6 for the current project pyenv local 3.9.8 # Activate Python 3.9 for the current project
poetry install poetry install
``` ```
{{% /note %}} {{% /note %}}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment