From b861e230cbb04e01e4e1afba3369050ca7d8fbdb Mon Sep 17 00:00:00 2001 From: Amir MOHAMMADI <amir.mohammadi@idiap.ch> Date: Tue, 16 Jan 2018 16:31:48 +0100 Subject: [PATCH] no need to pin all tests anymore --- conda/migrate.py | 3 ++- templates/meta.yaml | 8 ++++---- 2 files changed, 6 insertions(+), 5 deletions(-) diff --git a/conda/migrate.py b/conda/migrate.py index 184b7ab..1d58534 100755 --- a/conda/migrate.py +++ b/conda/migrate.py @@ -143,7 +143,8 @@ def migrate(template_recipe_path, old_recipe_path, build_variant_path, test_requires = test_requires.strip() if test_requires: test_requires = ' ' + test_requires + '\n' - test_requires = add_variant(test_requires) + if recipe.name() == 'bob.buildout': + test_requires = add_variant(test_requires) if recipe.name() == 'bob.buildout': final_recipe = final_recipe.replace( ' - bob-devel {{ bob_devel }}.*\n', '') diff --git a/templates/meta.yaml b/templates/meta.yaml index c0ae477..6bbd779 100644 --- a/templates/meta.yaml +++ b/templates/meta.yaml @@ -40,10 +40,10 @@ test: - conda inspect objects -p $PREFIX {{ name }} # [osx] requires: - bob-devel {{ bob_devel }}.* - - nose {{ nose }}.* - - coverage {{ coverage }}.* - - sphinx {{ sphinx }}.* - - sphinx_rtd_theme {{ sphinx_rtd_theme }}.* + - nose + - coverage + - sphinx + - sphinx_rtd_theme <TEST_DEPS> about: -- GitLab