From a5ca2730233f6509afcd891ae4d4465a54b49532 Mon Sep 17 00:00:00 2001
From: k204230 <bergemann@dkrz.de>
Date: Mon, 15 Aug 2022 17:16:16 +0200
Subject: [PATCH] Install freva from conda-forge

---
 assets/playbooks/core-server-playbook.yml | 4 +++-
 src/freva_deployment/__init__.py          | 2 +-
 2 files changed, 4 insertions(+), 2 deletions(-)

diff --git a/assets/playbooks/core-server-playbook.yml b/assets/playbooks/core-server-playbook.yml
index 8e39a3f..92747aa 100644
--- a/assets/playbooks/core-server-playbook.yml
+++ b/assets/playbooks/core-server-playbook.yml
@@ -84,11 +84,12 @@
       when: core_admin_group is not defined
     - name: Deploying evaluation_system
       shell:
-        cmd: $PYTHON3 deploy.py {{ core_install_dir }} -s --arch {{core_arch}}
+        cmd: $PYTHON3 deploy.py {{ core_install_dir }} -s --arch {{core_arch}} --packages freva
         chdir: /tmp/evaluation_system
       environment:
         CONDA_EXEC_PATH: "{{ conda_exec_path }}"
         PYTHON3: "{{ ansible_python_interpreter }}"
+        PYTHON_VERSION: ""
         EVALUATION_SYSTEM_CONFIG_FILE: "/tmp/evaluation_system/evaluation_system.conf"
       when: (core_install is true)
       become: "{{'yes' if core_ansible_become_user is defined else 'no' }}"
@@ -122,6 +123,7 @@
       environment:
         PYTHON3: "{{ ansible_python_interpreter }}"
         EVALUATION_SYSTEM_CONFIG_FILE: "/tmp/evaluation_system/evaluation_system.conf"
+        PYTHON_VERSION: ""
       become: "{{'yes' if core_ansible_become_user is defined else 'no' }}"
     - name: Copying Public key file
       copy:
diff --git a/src/freva_deployment/__init__.py b/src/freva_deployment/__init__.py
index 4c0b5a1..356c674 100644
--- a/src/freva_deployment/__init__.py
+++ b/src/freva_deployment/__init__.py
@@ -1,4 +1,4 @@
-__version__ = "2207.0.3"
+__version__ = "2208.0.1"
 AVAILABLE_PYTHON_VERSIONS = ["3.7", "3.8", "3.9", "3.10"]
 AVAILABLE_CONDA_ARCHS = [
     "Linux-x86_64",
-- 
GitLab