From a0ab673627389a8e133a056cc7bae66fef746532 Mon Sep 17 00:00:00 2001 From: Moul <moul@moul.re> Date: Sun, 13 Feb 2022 12:27:20 +0100 Subject: [PATCH] [mod] #179: Drop Python v3.6 support Remove Pytest v3.6 job Bump minimum Python in pyproject.toml Bump pyupgrade to --py37-plus Update documentation --- .gitlab-ci.yml | 6 ------ .pre-commit-config.yaml | 2 +- README.md | 2 +- docs/index.rst | 6 +++--- pyproject.toml | 2 +- 5 files changed, 6 insertions(+), 12 deletions(-) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index b56ad9f3..54c9b8ff 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -89,12 +89,6 @@ type: - poetry install - poetry run pytest -tests:3.6: - extends: .tests - tags: [mille] - variables: - PYTHON_VERSION: "3.6" - tests:3.7: extends: .tests tags: [mille] diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index 92b3cbd5..e05817b3 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -24,7 +24,7 @@ repos: rev: v2.29.1 hooks: - id: pyupgrade - args: [--py36-plus] + args: [--py37-plus] - repo: https://github.com/Lucas-C/pre-commit-hooks rev: v1.1.10 hooks: diff --git a/README.md b/README.md index fd9f546f..09e162ba 100644 --- a/README.md +++ b/README.md @@ -27,7 +27,7 @@ It is currently used by following programs: - Sign/verify and encrypt/decrypt messages with Duniter credentials ## Requirements -- Python >= 3.6.8 +- Python >= 3.7.0 - [websocket-client](https://pypi.org/project/websocket-client) - [jsonschema](https://pypi.org/project/jsonschema) - [pyPEG2](https://pypi.org/project/pyPEG2) diff --git a/docs/index.rst b/docs/index.rst index 1635985a..b335451d 100644 --- a/docs/index.rst +++ b/docs/index.rst @@ -6,8 +6,8 @@ duniterpy : A python implementation of duniter API ================================================== -Duniterpy is a library to develop an client Python application for Duniter. -Duniterpy helps to handle the following problem : +DuniterPy is a library to develop an client Python application for Duniter. +DuniterPy helps to handle the following problem: * Request Basic Merkle API provided by duniter nodes * Request nodes in a non-blocking way @@ -16,7 +16,7 @@ Duniterpy helps to handle the following problem : Requirements ------------ -Duniterpy requires Python 3.6.x minimum. +DuniterPy requires Python 3.7.0 minimum. Installation ------------ diff --git a/pyproject.toml b/pyproject.toml index fd619bcd..b76ff766 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -26,7 +26,7 @@ requires = ["poetry-core>=1.0.0"] build-backend = "poetry.core.masonry.api" [tool.poetry.dependencies] -python = "^3.6.8" +python = "^3.7.0" graphql-core = "^3.1.2" websocket-client = "^1.1.0" jsonschema = "^3.2.0" -- GitLab