OTB conda recipe
Description
Create an OTB recipe compatible with Conda. We choose to develop a conda recipe instead of wheel package (see #2428 (closed) ) as there is still some limitation about packaging OTB.
Existing in IOTA2
There is an existing OTB conda recipe used by IOTA2. This recipe can be installed using
# first ensure that your channels are correctly set like this (file .condarc in your home dir)
$ cat ~/.condarc
channel_priority: true
channels:
- nvidia
- pytorch
- conda-forge
- defaults
default_threads: 4
solver: libmamba
$ conda install iota2::otb
Existing with Rattler
Another recipe is done using Rattler build, written by Eugène Planteur. The package of this recipe is still compatible with conda. This package is installable with the following instructions https://anaconda.org/EugenePlanteur/my_otb .
Definition of Ready
Generic:
-
If this issue is consequent, it is splitted in subtasks with priority and complexity evaluated. Theses subtasks should be linked to this issue. - Conda recipe with Core + Superbuild #2505
- Conda recipe with Core Only (no superbuild) #2506
- Conda recipe on RHEL8/rocky linux #2508
- Document the conda recipe on Cookbook or on gitlab pages #2480
- CI job to regularly build the conda recipe with latest packages #2479
- CI job to build a conda recipe when there is a new OTB release #2479
- Conda recipe with all modules #2507
-
Issue complexity evaluated -
Priority of issue evaluated -
If there is specific test data needed, it should be detailled and available -
If there is specific documentation/specification need, it should be available to the development team -
Time during the sprint to realise this issue -
Blocking elements resolved (check if non applicable, detail otherwise the resolved elements)
Specific:
Definition of Done
Generic:
-
No test regression on CI -
Code reviewed by pairs -
Code cleaned, no "debug" traces or "TODO" comment kept. -
New code documented
Specific
-
Job compiling the recipe -
When there is a new release tagged, upload the recipe on anaconda channel -
Recipe can be installable on any Linux computer -
Cookbook page about conda installation
To Review
-
On a developer computer, compile the latest OTB on a recipe -
Install the recipe inside a clean conda env -
Install the recipe in TRex
Edited by Tristan Laurent