[PATCH v2] Python 3.8 support

Daniel Axtens dja at axtens.net
Thu Oct 24 14:38:10 AEDT 2019


Applied to master, thanks.

Andrew Donnellan <ajd at linux.ibm.com> writes:

> Enable Python 3.8 in our tests and list it as a supported version.
>
> Signed-off-by: Andrew Donnellan <ajd at linux.ibm.com>
>
> ---
>
> v1->v2:
> - Add release note that I forgot to git add
> ---
>  README.rst                                                  | 2 +-
>  releasenotes/notes/python-3-8-support-59150fb6391f9b73.yaml | 5 +++++
>  tools/docker/Dockerfile                                     | 3 ++-
>  tox.ini                                                     | 2 +-
>  4 files changed, 9 insertions(+), 3 deletions(-)
>  create mode 100644 releasenotes/notes/python-3-8-support-59150fb6391f9b73.yaml
>
> diff --git a/README.rst b/README.rst
> index 01da41969168..074ded9a7db2 100644
> --- a/README.rst
> +++ b/README.rst
> @@ -41,7 +41,7 @@ of community projects.
>  Requirements
>  ------------
>  
> -- Python (2.7, 3.5 - 3.7)
> +- Python (2.7, 3.5 - 3.8)
>  
>  - Django (1.11 - 2.2)
>  
> diff --git a/releasenotes/notes/python-3-8-support-59150fb6391f9b73.yaml b/releasenotes/notes/python-3-8-support-59150fb6391f9b73.yaml
> new file mode 100644
> index 000000000000..935cfb91a260
> --- /dev/null
> +++ b/releasenotes/notes/python-3-8-support-59150fb6391f9b73.yaml
> @@ -0,0 +1,5 @@
> +---
> +features:
> +  - |
> +    `Python 3.8 <https://www.python.org/downloads/release/python-380/>`_ is now
> +    supported.
> diff --git a/tools/docker/Dockerfile b/tools/docker/Dockerfile
> index 61678134d418..5ef11203e850 100644
> --- a/tools/docker/Dockerfile
> +++ b/tools/docker/Dockerfile
> @@ -49,7 +49,8 @@ RUN curl -L https://github.com/pyenv/pyenv-installer/raw/master/bin/pyenv-instal
>  RUN pyenv latest install 2.7 && \
>      pyenv latest install 3.5 && \
>      pyenv latest install 3.6 && \
> -    pyenv latest install 3.7
> +    pyenv latest install 3.7 && \
> +    pyenv latest install 3.8
>  RUN pyenv global $(pyenv versions --bare | tac)
>  
>  RUN pip install tox tox-pyenv
> diff --git a/tox.ini b/tox.ini
> index 617e73cdbee6..4267f47241b6 100644
> --- a/tox.ini
> +++ b/tox.ini
> @@ -1,6 +1,6 @@
>  [tox]
>  minversion = 2.0
> -envlist = pep8,docs,py27-django111,py{35,36,37}-django{111,20,21,22}
> +envlist = pep8,docs,py27-django111,py{35,36,37,38}-django{111,20,21,22}
>  skipsdist = True
>  
>  [testenv]
> -- 
> 2.20.1
>
> _______________________________________________
> Patchwork mailing list
> Patchwork at lists.ozlabs.org
> https://lists.ozlabs.org/listinfo/patchwork


More information about the Patchwork mailing list