Skip to content

Commit 9b7be17

Browse files
authored
Merge pull request #1421 from EnMAP-Box/update_conda_env
update conda envs
2 parents e78975f + 3570a49 commit 9b7be17

File tree

9 files changed

+95
-26
lines changed

9 files changed

+95
-26
lines changed

.env/conda/enmapbox_full.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
# EnMAP-Box conda environment (generated 2025-12-23 10:15:48)
1+
# EnMAP-Box conda environment (generated 2026-01-26 17:42:24)
22
# run to install: conda env create -n enmapbox_full --file=enmapbox_full.yml
33
# run to update : conda env update -n enmapbox_full --file=enmapbox_full.yml --prune
44
# run to delete : conda env remove -n enmapbox_full
@@ -8,7 +8,7 @@
88
channels:
99
- conda-forge
1010
dependencies:
11-
- qgis<3.44.3
11+
- qgis
1212
- astropy
1313
- catboost
1414
- cdsapi

.env/conda/enmapbox_full_3.40.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
# EnMAP-Box conda environment (generated 2025-12-23 10:08:09)
1+
# EnMAP-Box conda environment (generated 2026-01-26 17:41:47)
22
# run to install: conda env create -n enmapbox_full_3.40 --file=enmapbox_full_3.40.yml
33
# run to update : conda env update -n enmapbox_full_3.40 --file=enmapbox_full_3.40.yml --prune
44
# run to delete : conda env remove -n enmapbox_full_3.40
@@ -8,7 +8,7 @@
88
channels:
99
- conda-forge
1010
dependencies:
11-
- qgis=3.40,!=3.44.4,!=3.44.5
11+
- qgis=3.40
1212
- astropy
1313
- catboost
1414
- cdsapi

.env/conda/enmapbox_full_3.44.yml

Lines changed: 52 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,52 @@
1+
# EnMAP-Box conda environment (generated 2025-12-23 10:15:48)
2+
# run to install: conda env create -n enmapbox_full_3.44 --file=enmapbox_full_3.44.yml
3+
# run to update : conda env update -n enmapbox_full_3.44 --file=enmapbox_full_3.44.yml --prune
4+
# run to delete : conda env remove -n enmapbox_full_3.44
5+
# see https://docs.conda.io/projects/conda/en/latest/user-guide/tasks/manage-environments.html#creating-an-environment-from-an-environment-yml-file
6+
# created with scripts/update_conda_environments.py (MANUAL CHANGES WILL BE OVERWRITTEN!)
7+
8+
channels:
9+
- conda-forge
10+
dependencies:
11+
- qgis<3.44.3
12+
- astropy
13+
- catboost
14+
- cdsapi
15+
- colorama
16+
- cython
17+
- docutils
18+
- enpt
19+
- flake8
20+
- git-lfs
21+
- gitpython
22+
- h5py
23+
- lightgbm
24+
- matplotlib
25+
- netcdf4
26+
- numba>=0.56.4
27+
- opencv[build=headless*]
28+
- pandas=2.2.3
29+
- pip
30+
- pygrib
31+
- pyhdf
32+
- pyopengl
33+
- pytest
34+
- pytest-cov
35+
- pytest-xdist
36+
- python>=3.10
37+
- scikit-learn>=1
38+
- sympy
39+
- xarray
40+
- xgboost
41+
- pip:
42+
- enpt-enmapboxapp
43+
- flake8-qgis
44+
- lightning==2.5.0.post0
45+
- segmentation-models-pytorch==0.5.0
46+
- tensorboard==2.19.0
47+
- torch==2.6.0
48+
- torchvision==0.21.0
49+
name: enmapbox_full_3.44
50+
variables:
51+
PYQTGRAPH_QT_LIB: PyQt5
52+
QT_MAC_WANTS_LAYER: 1

.env/conda/enmapbox_full_ltr.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
# EnMAP-Box conda environment (generated 2025-12-23 10:15:48)
1+
# EnMAP-Box conda environment (generated 2026-01-26 17:42:24)
22
# run to install: conda env create -n enmapbox_full_ltr --file=enmapbox_full_ltr.yml
33
# run to update : conda env update -n enmapbox_full_ltr --file=enmapbox_full_ltr.yml --prune
44
# run to delete : conda env remove -n enmapbox_full_ltr
@@ -8,7 +8,7 @@
88
channels:
99
- conda-forge
1010
dependencies:
11-
- qgis=3.40,<3.44.3
11+
- qgis=3.40
1212
- astropy
1313
- catboost
1414
- cdsapi

.env/conda/enmapbox_light.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
# EnMAP-Box conda environment (generated 2025-12-23 10:15:48)
1+
# EnMAP-Box conda environment (generated 2026-01-26 17:42:24)
22
# run to install: conda env create -n enmapbox_light --file=enmapbox_light.yml
33
# run to update : conda env update -n enmapbox_light --file=enmapbox_light.yml --prune
44
# run to delete : conda env remove -n enmapbox_light
@@ -8,7 +8,7 @@
88
channels:
99
- conda-forge
1010
dependencies:
11-
- qgis<3.44.3
11+
- qgis
1212
- colorama
1313
- docutils
1414
- enpt

.env/conda/enmapbox_light_3.40.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
# EnMAP-Box conda environment (generated 2025-12-23 10:08:09)
1+
# EnMAP-Box conda environment (generated 2026-01-26 17:41:47)
22
# run to install: conda env create -n enmapbox_light_3.40 --file=enmapbox_light_3.40.yml
33
# run to update : conda env update -n enmapbox_light_3.40 --file=enmapbox_light_3.40.yml --prune
44
# run to delete : conda env remove -n enmapbox_light_3.40
@@ -8,7 +8,7 @@
88
channels:
99
- conda-forge
1010
dependencies:
11-
- qgis=3.40,!=3.44.4,!=3.44.5
11+
- qgis=3.40
1212
- colorama
1313
- docutils
1414
- enpt

.env/conda/enmapbox_light_3.44.yml

Lines changed: 30 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,30 @@
1+
# EnMAP-Box conda environment (generated 2025-12-23 10:15:48)
2+
# run to install: conda env create -n enmapbox_light_3.44 --file=enmapbox_light_3.44.yml
3+
# run to update : conda env update -n enmapbox_light_3.44 --file=enmapbox_light_3.44.yml --prune
4+
# run to delete : conda env remove -n enmapbox_light_3.44
5+
# see https://docs.conda.io/projects/conda/en/latest/user-guide/tasks/manage-environments.html#creating-an-environment-from-an-environment-yml-file
6+
# created with scripts/update_conda_environments.py (MANUAL CHANGES WILL BE OVERWRITTEN!)
7+
8+
channels:
9+
- conda-forge
10+
dependencies:
11+
- qgis<3.44.3
12+
- colorama
13+
- docutils
14+
- enpt
15+
- flake8
16+
- git-lfs
17+
- gitpython
18+
- matplotlib
19+
- pip
20+
- pytest
21+
- pytest-cov
22+
- pytest-xdist
23+
- python>=3.10
24+
- scikit-learn>=1
25+
- pip:
26+
- flake8-qgis
27+
name: enmapbox_light_3.44
28+
variables:
29+
PYQTGRAPH_QT_LIB: PyQt5
30+
QT_MAC_WANTS_LAYER: 1

.env/conda/enmapbox_light_ltr.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
# EnMAP-Box conda environment (generated 2025-12-23 10:15:48)
1+
# EnMAP-Box conda environment (generated 2026-01-26 17:42:24)
22
# run to install: conda env create -n enmapbox_light_ltr --file=enmapbox_light_ltr.yml
33
# run to update : conda env update -n enmapbox_light_ltr --file=enmapbox_light_ltr.yml --prune
44
# run to delete : conda env remove -n enmapbox_light_ltr
@@ -8,7 +8,7 @@
88
channels:
99
- conda-forge
1010
dependencies:
11-
- qgis=3.40,<3.44.3
11+
- qgis=3.40
1212
- colorama
1313
- docutils
1414
- enpt

scripts/update_conda_environments.py

Lines changed: 1 addition & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@
2121

2222
# QGIS conda versions that are known to have problems
2323
# e.g., https://github.com/conda-forge/qgis-feedstock/issues/570
24-
EXCLUDED_QGIS_VERSIONS = ['<3.44.3']
24+
EXCLUDED_QGIS_VERSIONS = []
2525

2626
# define packages to be installed in the different *.yml files
2727
# compare with .env/requirements.csv
@@ -49,19 +49,6 @@
4949
]
5050
}
5151

52-
"""
53-
opencv[build=headless*]
54-
- pip:
55-
- flake8-qgis
56-
- torch==2.6.0
57-
- lightning==2.5.0.post0
58-
- tensorboard==2.19.0
59-
- torchvision==0.21.0
60-
- segmentation-models-pytorch==0.5.0
61-
- pandas==2.2.3
62-
63-
"""
64-
6552

6653
def restructure_dependencies(d: dict) -> Dict[str, List[Dict[str, List[str]]]]:
6754
restructured = dict()

0 commit comments

Comments
 (0)