diff --git a/.gitlab/ci/static-analysis.yml b/.gitlab/ci/static-analysis.yml index 719bb2279fd57587e91b5284cb5f75d979c27531..246f27f3a136af2bf3f436cb0059a26192f9ccf6 100644 --- a/.gitlab/ci/static-analysis.yml +++ b/.gitlab/ci/static-analysis.yml @@ -1,6 +1,7 @@ variables: PIP_CACHE_DIR: "$CI_PROJECT_DIR/.cache/pip" PYTHON_IMG: python:3.12-slim + PACKAGE_INSTALL_EXTRAS: "" # Used when included STATIC_ANALYSIS_IMG: registry.forgemia.inra.fr/cdos-pub/pycode-quality/python-static-analysis:3.12 @@ -19,7 +20,8 @@ variables: - $CI_PROJECT_DIR/.cache/pip before_script: - python --version; pip --version - - pip install -e . + # See https://packaging.python.org/en/latest/guides/writing-pyproject-toml/#dependencies-optional-dependencies + - pip install -e ".${PACKAGE_INSTALL_EXTRAS}" - pip list -v mypy: diff --git a/python_test_project/__init__.py b/python_test_project/__init__.py index 4c362666a948d2b68ea2a94b49148d16df117642..cac4d58d3a20b7d8e67cab9cc0b4e3f3109f58a8 100644 --- a/python_test_project/__init__.py +++ b/python_test_project/__init__.py @@ -1,3 +1,3 @@ """Python test project.""" -__version__ = "0.1.12" +__version__ = "0.1.13"