From 0a6cf609f72c5dcd70c4eee487f9e8fa15242e80 Mon Sep 17 00:00:00 2001 From: "Igor T. Ghisi" Date: Tue, 18 Feb 2020 13:16:43 -0300 Subject: [PATCH 1/2] Fix "No module named 'gitdb.utils.compat'" error This commit pins gitdb2 to 3.0.0 since it appears that version 3.0.2 has some braking changes. --- recipe/meta.yaml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/recipe/meta.yaml b/recipe/meta.yaml index 785bf28..cb75e62 100644 --- a/recipe/meta.yaml +++ b/recipe/meta.yaml @@ -9,7 +9,7 @@ source: sha256: 9c2398ffc3dcb3c40b27324b316f08a4f93ad646d5a6328cafbb871aa79f5e42 build: - number: 0 + number: 1 noarch: python script: {{ PYTHON }} -m pip install . --no-deps -vv @@ -19,7 +19,7 @@ requirements: - pip run: - python >=3 - - gitdb2 + - gitdb2 <=3.0.0 test: requires: From f9174ff4ec2a1b111fd2afdc55a601bbf25ce43a Mon Sep 17 00:00:00 2001 From: "Uwe L. Korn" Date: Tue, 18 Feb 2020 17:35:33 +0100 Subject: [PATCH 2/2] Add pip check command --- recipe/meta.yaml | 3 +++ 1 file changed, 3 insertions(+) diff --git a/recipe/meta.yaml b/recipe/meta.yaml index cb75e62..6cf4168 100644 --- a/recipe/meta.yaml +++ b/recipe/meta.yaml @@ -24,6 +24,7 @@ requirements: test: requires: - git + - pip imports: - git - git.index @@ -31,6 +32,8 @@ test: - git.objects.submodule - git.refs - git.repo + commands: + - pip check about: home: https://github.com/gitpython-developers/GitPython