Skip to content
Snippets Groups Projects

Add libexpat before pip build

Merged Pablo Boizeau requested to merge fix_libexpatwq into main
Files
4
@@ -3,6 +3,8 @@ variables:
PYTHON_IMG: python:3.12-slim
PACKAGE_INSTALL_EXTRAS: ""
PIP_RASTERIO_USED: false
# Used when included
STATIC_ANALYSIS_IMG: registry.forgemia.inra.fr/cdos-pub/pycode-quality/python-static-analysis:3.12
@@ -20,6 +22,8 @@ variables:
- $CI_PROJECT_DIR/.cache/pip
before_script:
- python --version; pip --version
# Install libexpat, required for rasterio
- if [ "$PIP_RASTERIO_USED" == "true" ]; then apt-get update; apt-get install libexpat1; apt-get clean; fi
# See https://packaging.python.org/en/latest/guides/writing-pyproject-toml/#dependencies-optional-dependencies
- pip install -e ".${PACKAGE_INSTALL_EXTRAS}"
- pip list -v
Loading