diff --git a/.python-version b/.python-version index f7e5aa8..36f601f 100644 --- a/.python-version +++ b/.python-version @@ -1 +1 @@ -3.7.12 +3.7.16 diff --git a/CHANGELOG.md b/CHANGELOG.md index 642fa27..3cf9b46 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -13,6 +13,7 @@ to [Semantic Versioning](https://semver.org/spec/v2.0.0.html). ## Changed +- Update to Python==3.7.16 - Update poetry==1.3.1 ## [1.4.0] - 2022-10-05 diff --git a/doc/DEVELOPMENT.md b/doc/DEVELOPMENT.md index 84d2291..a6bd4fe 100644 --- a/doc/DEVELOPMENT.md +++ b/doc/DEVELOPMENT.md @@ -211,8 +211,8 @@ Read GIT_REPO.md to understand how changer version. ## Python version -Your actual version is in file .python-version. Use script `./script/version/change_python_version.sh 3.7.12` to change -to version 3.7.12 . +Your actual version is in file .python-version. Use script `./script/version/change_python_version.sh 3.7.16` to change +to version 3.7.16 . Run the installation, `make install_dev`. diff --git a/docker/Dockerfile.base b/docker/Dockerfile.base index 10fd213..c431d76 100644 --- a/docker/Dockerfile.base +++ b/docker/Dockerfile.base @@ -1,4 +1,4 @@ -FROM python:3.7.12-slim-buster +FROM python:3.7.16-slim-buster MAINTAINER TechnoLibre SHELL ["/bin/bash", "-xo", "pipefail", "-c"] diff --git a/docker/python-versions.txt b/docker/python-versions.txt index b44c537..07dc2df 100644 --- a/docker/python-versions.txt +++ b/docker/python-versions.txt @@ -1 +1 @@ -3.7.12 \ No newline at end of file +3.7.16 \ No newline at end of file diff --git a/pyproject.toml b/pyproject.toml index 046d8db..2a7f132 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -18,7 +18,7 @@ license = "AGPL-3.0-or-later" authors = [ "Mathieu Benoit ",] [tool.poetry.dependencies] -python = "^3.7.12" +python = "^3.7.16" Babel = "2.9.1" Cerberus = "^1.3.4" Cython = "^0.29.32" diff --git a/script/install_OSX_dependency.sh b/script/install_OSX_dependency.sh index 5868f0c..0e194d8 100755 --- a/script/install_OSX_dependency.sh +++ b/script/install_OSX_dependency.sh @@ -37,8 +37,8 @@ sudo npm install -g rtlcss sudo npm install -g less sudo npm install -g prettier sudo npm install -g prettier @prettier/plugin-xml -yes n|pyenv install 3.7.12 -pyenv local 3.7.12 +yes n|pyenv install 3.7.16 +pyenv local 3.7.16 echo 'export PATH="/usr/local/opt/openssl@1.1/bin:$PATH"' >> ~/.zshrc diff --git a/script/install_locally.sh b/script/install_locally.sh index d63b8da..71087fa 100755 --- a/script/install_locally.sh +++ b/script/install_locally.sh @@ -25,7 +25,7 @@ if [[ ! -d "./addons/addons" ]]; then fi PYENV_PATH=~/.pyenv -PYTHON_VERSION=3.7.12 +PYTHON_VERSION=3.7.16 PYENV_VERSION_PATH=${PYENV_PATH}/versions/${PYTHON_VERSION} PYTHON_EXEC=${PYENV_VERSION_PATH}/bin/python VENV_PATH=./.venv diff --git a/script/version/change_python_version.sh b/script/version/change_python_version.sh index eadaf5c..5459ceb 100755 --- a/script/version/change_python_version.sh +++ b/script/version/change_python_version.sh @@ -1,6 +1,6 @@ #!/usr/bin/env bash -# $1 new version version, like 3.7.12 +# $1 new version version, like 3.7.16 input=".python-version" while IFS= read -r line