Commit 40707453 authored by Daniel Scheffler's avatar Daniel Scheffler
Browse files

Revised test_py_tools_ds_install CI job (now uses mamba).

Signed-off-by: Daniel Scheffler's avatarDaniel Scheffler <>
parent 28948c0f
Pipeline #26429 passed with stages
in 2 minutes and 20 seconds
......@@ -57,26 +57,20 @@ test_py_tools_ds_install:
stage: test
- source /root/miniconda3/bin/activate
- conda create -y -q -c conda-forge --name py_tools_ds_testinstall python=3
- conda activate py_tools_ds_testinstall
- conda install -c conda-forge mamba
- mamba update -n base -c conda-forge --all
# update conda and python
- conda update -n base -c conda-forge conda
# - conda update -c conda-forge python
# create py_tools_ds environment from environment_py_tools_ds.yml
- mamba env create --name py_tools_ds_test -f tests/CI_docker/context/environment_py_tools_ds.yml
- conda activate py_tools_ds_test
# avoid package incompatibilities due to usage of wrong channels
# - conda config --set channel_priority strict # otherwise gdal or libgdal may be installed from defaults channel
# resolve some requirements with conda
- conda install --yes -q -c conda-forge numpy gdal 'pyproj>=2.5.0' shapely geopandas
# run installer
- python install
# test if its importable
# install py_tools_ds
- pip install -e .
- cd ..
- pwd
- ls
# test if its importable
- python -c "import py_tools_ds; print(py_tools_ds)"
- python -c "from py_tools_ds.geo.vector.geometry import boxObj"
......@@ -6,6 +6,7 @@ History
* Fixed an issue where the output polygon of raster2polygon could contain vertices outside of the input array.
* Revised test_py_tools_ds_install CI job (now uses mamba).
0.17.7 (2021-08-09)
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment