From 5ccf643385f38da74148ac08535bee19356288c8 Mon Sep 17 00:00:00 2001
From: Andre Mayoraz <andre.mayoraz@idiap.ch>
Date: Tue, 20 Sep 2022 18:06:33 +0200
Subject: [PATCH] [ci] fixed bob devtools version to last available stable
 package for testability

---
 .gitlab-ci.yml  | 5 +++--
 conda/meta.yaml | 2 +-
 2 files changed, 4 insertions(+), 3 deletions(-)

diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index b7a5fe5..4302de6 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -26,7 +26,7 @@ stages:
   image: quay.io/condaforge/linux-anvil-cos7-x86_64
   before_script:
     - curl --silent "${BOOTSTRAP}" --output "bootstrap.py"
-    - python3 bootstrap.py -vv channel base
+    - python3 bootstrap.py -vv channel base -t 5.3.0
     - source ${CONDA_ROOT}/etc/profile.d/conda.sh
     - conda activate base
     - conda install memory_profiler -c conda-forge
@@ -43,7 +43,7 @@ build:
   stage: build
   variables:
     GITLAB_CHECKOUT_STRATEGY: "https://gitlab-ci-token:${CI_BUILD_TOKEN}@gitlab.idiap.ch/"
-    PYTHON_VERSION: "3.9"
+    PYTHON_VERSION: "3.8"
     BUILD_EGG: "true"
   script:
     - mprof -o mem_profile.dat run bdt ci docs -vv packages.txt
@@ -53,6 +53,7 @@ build:
     expire_in: 1 week
     paths:
       - sphinx
+      - mem_profile.dat
       - ${CONDA_ROOT}/conda-bld/linux-64/*.conda
       - ${CONDA_ROOT}/conda-bld/linux-64/*.tar.bz2
   cache:
diff --git a/conda/meta.yaml b/conda/meta.yaml
index e57686e..f4829cd 100644
--- a/conda/meta.yaml
+++ b/conda/meta.yaml
@@ -15,7 +15,7 @@ requirements:
     # This list should be the same as packages.txt.
     # This list should also be the same as in bob/bob conda recipe + bob and bob.devtools
     - bob
-    - bob.devtools
+    - bob.devtools=5.3.0
     # LIST OF BOB PACKAGES - START
     - bob.extension
     - bob.io.base
-- 
GitLab