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

[mod] #60: Drop Python 3.5 support

- CI: Raise container Python version to v3.6
- pyproject.toml: Set v3.6 as minimal supported version
- Update documentation
parent e20618a4
No related branches found
No related tags found
2 merge requests!113Merge dev into master branch,!106Drop Python 3.5 support − Migrate to hashlib.scrypt
...@@ -7,7 +7,7 @@ stages: ...@@ -7,7 +7,7 @@ stages:
variables: variables:
DOCKER_IMAGE: "registry.duniter.org/docker/python3/poetry" DOCKER_IMAGE: "registry.duniter.org/docker/python3/poetry"
PYTHON_VERSION: "3.5" PYTHON_VERSION: "3.6"
image: $DOCKER_IMAGE/$PYTHON_VERSION:latest image: $DOCKER_IMAGE/$PYTHON_VERSION:latest
...@@ -114,4 +114,4 @@ pages: ...@@ -114,4 +114,4 @@ pages:
when: manual when: manual
- if: $CI_COMMIT_BRANCH == "master" - if: $CI_COMMIT_BRANCH == "master"
when: manual when: manual
- when: never - when: never
\ No newline at end of file
...@@ -17,7 +17,7 @@ This library is used by two clients: ...@@ -17,7 +17,7 @@ This library is used by two clients:
- Sign/verify and encrypt/decrypt messages with the Duniter credentials - Sign/verify and encrypt/decrypt messages with the Duniter credentials
## Requirements ## Requirements
- Python >= 3.5.3 - Python >= 3.6.8
- [aiohttp >= 3.6.1](https://pypi.org/pypi/aiohttp) - [aiohttp >= 3.6.1](https://pypi.org/pypi/aiohttp)
- [pylibscrypt](https://pypi.org/pypi/pylibscrypt) - [pylibscrypt](https://pypi.org/pypi/pylibscrypt)
- [libnacl](https://pypi.org/pypi/libnacl) - [libnacl](https://pypi.org/pypi/libnacl)
......
...@@ -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.5.x minimum. Duniterpy requires Python 3.6.x minimum.
Installation Installation
------------ ------------
......
...@@ -24,7 +24,7 @@ requires = ["poetry>=0.12"] ...@@ -24,7 +24,7 @@ requires = ["poetry>=0.12"]
build-backend = "poetry.masonry.api" build-backend = "poetry.masonry.api"
[tool.poetry.dependencies] [tool.poetry.dependencies]
python = "^3.5.3" python = "^3.6.8"
aiohttp = "^3.6.1" aiohttp = "^3.6.1"
jsonschema = "^3.0.2" jsonschema = "^3.0.2"
pypeg2 = "^2.15.2" pypeg2 = "^2.15.2"
...@@ -35,7 +35,7 @@ libnacl = "^1.6.1" ...@@ -35,7 +35,7 @@ libnacl = "^1.6.1"
pyaes = "^1.6.1" pyaes = "^1.6.1"
[tool.poetry.dev-dependencies] [tool.poetry.dev-dependencies]
black = { version = "^20.8b1", python = "^3.6" } black = "^20.8b1"
mypy = "^0.730" mypy = "^0.730"
pylint = "^2.4.2" pylint = "^2.4.2"
sphinx = "^3.0.2" sphinx = "^3.0.2"
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment