Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
Daniel Scheffler
py_tools_ds
Commits
40707453
Commit
40707453
authored
Aug 11, 2021
by
Daniel Scheffler
Browse files
Revised test_py_tools_ds_install CI job (now uses mamba).
Signed-off-by:
Daniel Scheffler
<
danschef@gfz-potsdam.de
>
parent
28948c0f
Pipeline
#26429
passed with stages
in 2 minutes and 20 seconds
Changes
2
Pipelines
2
Hide whitespace changes
Inline
Side-by-side
.gitlab-ci.yml
View file @
40707453
...
...
@@ -57,26 +57,20 @@ test_py_tools_ds_install:
stage
:
test
script
:
-
source /root/miniconda3/bin/activate
-
conda
create -y -q
-c conda-forge
--name py_tools_ds_testinstall python=3
-
conda activate py_tools_ds_testinst
all
-
conda
install
-c conda-forge
mamba
-
mamba update -n base -c conda-forge --
all
#
upd
ate
conda and python
-
conda update -n base -c conda-forge conda
#
- conda
update -c conda-forge python
#
cre
ate
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 setup.py 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"
only
:
...
...
HISTORY.rst
View file @
40707453
...
...
@@ -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)
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment