From d8f0d6b6ba6b332fb1527ca39817a3770f36ef77 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 --- .gitlab-ci.yml | 4 ++-- pyproject.toml | 4 ++-- 2 files changed, 4 insertions(+), 4 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/pyproject.toml b/pyproject.toml index 9075982a..257b8ad1 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 = "^19.3b0", python = "^3.6" } +black = "^19.3b0" mypy = "^0.730" pylint = "^2.4.2" sphinx = "^3.0.2" -- GitLab