Skip to content
Snippets Groups Projects
Commit a0ab6736 authored by Moul's avatar Moul
Browse files

[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
parent 078871a7
No related branches found
No related tags found
No related merge requests found
Pipeline #14927 passed
...@@ -89,12 +89,6 @@ type: ...@@ -89,12 +89,6 @@ type:
- poetry install - poetry install
- poetry run pytest - poetry run pytest
tests:3.6:
extends: .tests
tags: [mille]
variables:
PYTHON_VERSION: "3.6"
tests:3.7: tests:3.7:
extends: .tests extends: .tests
tags: [mille] tags: [mille]
......
...@@ -24,7 +24,7 @@ repos: ...@@ -24,7 +24,7 @@ repos:
rev: v2.29.1 rev: v2.29.1
hooks: hooks:
- id: pyupgrade - id: pyupgrade
args: [--py36-plus] args: [--py37-plus]
- repo: https://github.com/Lucas-C/pre-commit-hooks - repo: https://github.com/Lucas-C/pre-commit-hooks
rev: v1.1.10 rev: v1.1.10
hooks: hooks:
......
...@@ -27,7 +27,7 @@ It is currently used by following programs: ...@@ -27,7 +27,7 @@ It is currently used by following programs:
- Sign/verify and encrypt/decrypt messages with Duniter credentials - Sign/verify and encrypt/decrypt messages with Duniter credentials
## Requirements ## Requirements
- Python >= 3.6.8 - Python >= 3.7.0
- [websocket-client](https://pypi.org/project/websocket-client) - [websocket-client](https://pypi.org/project/websocket-client)
- [jsonschema](https://pypi.org/project/jsonschema) - [jsonschema](https://pypi.org/project/jsonschema)
- [pyPEG2](https://pypi.org/project/pyPEG2) - [pyPEG2](https://pypi.org/project/pyPEG2)
......
...@@ -6,8 +6,8 @@ ...@@ -6,8 +6,8 @@
duniterpy : A python implementation of duniter API duniterpy : A python implementation of duniter API
================================================== ==================================================
Duniterpy is a library to develop an client Python application for Duniter. DuniterPy is a library to develop an client Python application for Duniter.
Duniterpy helps to handle the following problem : DuniterPy helps to handle the following problem:
* Request Basic Merkle API provided by duniter nodes * Request Basic Merkle API provided by duniter nodes
* Request nodes in a non-blocking way * Request nodes in a non-blocking way
...@@ -16,7 +16,7 @@ Duniterpy helps to handle the following problem : ...@@ -16,7 +16,7 @@ Duniterpy helps to handle the following problem :
Requirements Requirements
------------ ------------
Duniterpy requires Python 3.6.x minimum. DuniterPy requires Python 3.7.0 minimum.
Installation Installation
------------ ------------
......
...@@ -26,7 +26,7 @@ requires = ["poetry-core>=1.0.0"] ...@@ -26,7 +26,7 @@ requires = ["poetry-core>=1.0.0"]
build-backend = "poetry.core.masonry.api" build-backend = "poetry.core.masonry.api"
[tool.poetry.dependencies] [tool.poetry.dependencies]
python = "^3.6.8" python = "^3.7.0"
graphql-core = "^3.1.2" graphql-core = "^3.1.2"
websocket-client = "^1.1.0" websocket-client = "^1.1.0"
jsonschema = "^3.2.0" jsonschema = "^3.2.0"
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment