Skip to content

Commit

Permalink
added workaround for #804 to conda environment *.yml
Browse files Browse the repository at this point in the history
addresses #804
  • Loading branch information
jakimowb committed Feb 22, 2024
1 parent 88f2b77 commit c734521
Show file tree
Hide file tree
Showing 4 changed files with 20 additions and 8 deletions.
9 changes: 6 additions & 3 deletions .env/conda/enmapbox_full_latest.yml
Original file line number Diff line number Diff line change
@@ -1,15 +1,18 @@
# run: conda env create --file conda_environment.yml
# create: conda env create -f enmapbox_full_latest.yml
# update: conda env update -f enmapbox_full_latest.yml --prune
# delete: conda remove -n enmapbox_full_latest --all
# see also https://docs.conda.io/projects/conda/en/latest/user-guide/tasks/manage-environments.html#creating-an-environment-from-an-environment-yml-file
name: enmapbox_full_latest
channels:
- conda-forge
dependencies:
- python=3.9
- qgis>=3.32
# - python=3.9
- qgis>=3.34
- pip
- scikit-learn>=1 # if necessary, this will install scipy and numpy too
- matplotlib # avoids that conda uses the wrong pip
- enpt
- scipy<1.12 # workaround https://github.com/conda-forge/qgis-feedstock/issues/405
- xgboost
- lightgbm

Expand Down
5 changes: 4 additions & 1 deletion .env/conda/enmapbox_full_longterm.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,6 @@
# run: conda env create --file conda_environment.yml
# create: conda env create -f enmapbox_full_latest.yml
# update: conda env update -f enmapbox_full_latest.yml --prune
# delete: conda remove -n enmapbox_full_latest --all
# see also https://docs.conda.io/projects/conda/en/latest/user-guide/tasks/manage-environments.html#creating-an-environment-from-an-environment-yml-file
name: enmapbox_full_longterm
channels:
Expand All @@ -7,6 +9,7 @@ dependencies:
- python=3.9
- qgis=3.28
- pip
- scipy<1.12 # workaround https://github.com/conda-forge/qgis-feedstock/issues/405
- scikit-learn>=1 # if necessary, this will install scipy and numpy too
- matplotlib # avoids that conda uses the wrong pip
- enpt
Expand Down
9 changes: 6 additions & 3 deletions .env/conda/enmapbox_light_latest.yml
Original file line number Diff line number Diff line change
@@ -1,14 +1,17 @@
# run: conda env create --file conda_environment.yml
# create: conda env create -f enmapbox_light_latest.yml
# update: conda env update -f enmapbox_light_latest.yml --prune
# delete: conda remove -n enmapbox_light_latest --all
# see also https://docs.conda.io/projects/conda/en/latest/user-guide/tasks/manage-environments.html#creating-an-environment-from-an-environment-yml-file
name: enmapbox_light_latest
channels:
- conda-forge
dependencies:
- python=3.9
- qgis>=3.32
# - python=3.9
- qgis>=3.34
- pip
- scikit-learn>=1 # if necessary, this will install scipy and numpy too
- matplotlib
- scipy<1.12 # workaround https://github.com/conda-forge/qgis-feedstock/issues/405

# Development
- gitpython
Expand Down
5 changes: 4 additions & 1 deletion .env/conda/enmapbox_light_longterm.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,6 @@
# run: conda env create --file conda_environment.yml
# create: conda env create -f enmapbox_light_longterm.yml
# update: conda env update -f enmapbox_light_longterm.yml --prune
# delete: conda remove -n enmapbox_light_longterm --all
# see also https://docs.conda.io/projects/conda/en/latest/user-guide/tasks/manage-environments.html#creating-an-environment-from-an-environment-yml-file
name: enmapbox_light_longterm
channels:
Expand All @@ -7,6 +9,7 @@ dependencies:
- qgis=3.28
- python=3.9
- pip
- scipy<1.12 # workaround https://github.com/conda-forge/qgis-feedstock/issues/405
- scikit-learn>=1 # if necessary, this will install scipy and numpy too
- matplotlib
# Development
Expand Down

0 comments on commit c734521

Please sign in to comment.