From 0d71120e8a43a1f7e378a55cd476105aee4fe2e9 Mon Sep 17 00:00:00 2001 From: Moul <moul@moul.re> Date: Sun, 26 Jul 2020 20:15:31 +0200 Subject: [PATCH] [mod] #60: Drop Python 3.5 support - CI: Raise container Python version to v3.6 - pyproject.toml: Set v3.6 as minimal supported version - Update documentation --- .gitlab-ci.yml | 4 ++-- README.md | 2 +- docs/index.rst | 2 +- pyproject.toml | 4 ++-- 4 files changed, 6 insertions(+), 6 deletions(-) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 0aa7dd76..d9e1bff5 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -7,7 +7,7 @@ stages: variables: DOCKER_IMAGE: "registry.duniter.org/docker/python3/poetry" - PYTHON_VERSION: "3.5" + PYTHON_VERSION: "3.6" image: $DOCKER_IMAGE/$PYTHON_VERSION:latest @@ -114,4 +114,4 @@ pages: when: manual - if: $CI_COMMIT_BRANCH == "master" when: manual - - when: never \ No newline at end of file + - when: never diff --git a/README.md b/README.md index 687cfd38..73d18383 100644 --- a/README.md +++ b/README.md @@ -17,7 +17,7 @@ This library is used by two clients: - Sign/verify and encrypt/decrypt messages with the Duniter credentials ## Requirements -- Python >= 3.5.3 +- Python >= 3.6.8 - [aiohttp >= 3.6.1](https://pypi.org/pypi/aiohttp) - [pylibscrypt](https://pypi.org/pypi/pylibscrypt) - [libnacl](https://pypi.org/pypi/libnacl) diff --git a/docs/index.rst b/docs/index.rst index f31799ac..1635985a 100644 --- a/docs/index.rst +++ b/docs/index.rst @@ -16,7 +16,7 @@ Duniterpy helps to handle the following problem : Requirements ------------ -Duniterpy requires Python 3.5.x minimum. +Duniterpy requires Python 3.6.x minimum. Installation ------------ diff --git a/pyproject.toml b/pyproject.toml index df2897ec..818cb323 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -24,7 +24,7 @@ requires = ["poetry>=0.12"] build-backend = "poetry.masonry.api" [tool.poetry.dependencies] -python = "^3.5.3" +python = "^3.6.8" aiohttp = "^3.6.1" jsonschema = "^3.0.2" pypeg2 = "^2.15.2" @@ -35,7 +35,7 @@ libnacl = "^1.6.1" pyaes = "^1.6.1" [tool.poetry.dev-dependencies] -black = { version = "^20.8b1", python = "^3.6" } +black = "^20.8b1" mypy = "^0.730" pylint = "^2.4.2" sphinx = "^3.0.2" -- GitLab