diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index b56ad9f30316f37654c29120e05329aa1a8dc8b5..54c9b8ff1bbfc265994c7ad49e03b7ffb19753c2 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 92b3cbd597164b50c0b81831528cd45759663db2..e05817b38f99371ee3ca19404bc9437cd032292e 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 fd9f546f4b7058ab9608473f5f96389e2457469a..09e162bada6d9706894e68be2f516681c98513fc 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 1635985ac50d5fc5756c62d76e3aa33f96cd04ae..b335451db51fc0794e2612fd4a9798d0c2fb8e7d 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 fd619bcde0520be89cd955c42fb830664d7a7026..b76ff766fc97b6e5d7f2f5fc914151d215b8d8d0 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"