From c80df65a3041261013d5dc999cbd7aa13ef0795a Mon Sep 17 00:00:00 2001
From: Moul <moul@moul.re>
Date: Sun, 25 Oct 2020 15:31:06 +0100
Subject: [PATCH] [mod] #240 Drop support for Python 3.5

Requires Python 3.6.8
Remove test job
---
 .gitlab-ci.yml  | 6 ------
 CONTRIBUTING.md | 2 +-
 pyproject.toml  | 4 ++--
 3 files changed, 3 insertions(+), 9 deletions(-)

diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index 07b93811..b7571d89 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -46,12 +46,6 @@ format:
     - poetry install
     - poetry run pytest
 
-tests-3.5:
-  extends: .tests
-  tags: [poetry-56]
-  variables:
-    PYTHON_VERSION: "3.5"
-
 tests-3.6:
   extends: .tests
   tags: [poetry-56]
diff --git a/CONTRIBUTING.md b/CONTRIBUTING.md
index be34289a..ef459d9c 100644
--- a/CONTRIBUTING.md
+++ b/CONTRIBUTING.md
@@ -112,7 +112,7 @@ The `--extra-index-url` is used to retrieve dependencies packages from the offic
   - Build
 - Tests on supported Python versions:
   - Installation
-  - Pytest for v3.5, 3.6, 3.7, and 3.8
+  - Pytest for v3.6, 3.7, and 3.8
 - PyPI distribution
   - test
   - stable
diff --git a/pyproject.toml b/pyproject.toml
index cdf0cdc6..47df74eb 100644
--- a/pyproject.toml
+++ b/pyproject.toml
@@ -12,7 +12,7 @@ documentation = "https://git.duniter.org/clients/python/silkaj/tree/dev/doc"
 keywords = ["g1", "duniter", "cryptocurrency", "librecurrency", "RTM"]
 
 [tool.poetry.dependencies]
-python = "^3.5.3"
+python = "^3.6.8"
 duniterpy = "0.58.0"
 click = "^7.1.2"
 ipaddress = "^1.0.23"
@@ -21,7 +21,7 @@ texttable = "^1.6.3"
 pendulum = "^2.1.2"
 
 [tool.poetry.dev-dependencies]
-black = {version = "^20.8b1", python = "^3.6"}
+black = "^20.8b1"
 pre-commit = "^1.18"
 pytest = "^6.0"
 pytest-cov = "^2.7"
-- 
GitLab