diff --git a/.github/workflows/tests.yml b/.github/workflows/tests.yml index 4dedac0d9..1d6267e76 100644 --- a/.github/workflows/tests.yml +++ b/.github/workflows/tests.yml @@ -31,7 +31,7 @@ jobs: python=3.11 coverage coveralls - conda-recipe-manager + conda-recipe-manager>=0.4.1 conda-souschef conda-forge-tick diff --git a/news/crm.rst b/news/crm.rst new file mode 100644 index 000000000..092e62c0e --- /dev/null +++ b/news/crm.rst @@ -0,0 +1,23 @@ +**Added:** + +* + +**Changed:** + +* + +**Deprecated:** + +* + +**Removed:** + +* + +**Fixed:** + +* Fixed error in testing where tests fail for ``conda-recipe-manager >=0.4.1``. (#2223) + +**Security:** + +* diff --git a/tests/test_lint_recipe.py b/tests/test_lint_recipe.py index 82caeffed..f1c4c7209 100644 --- a/tests/test_lint_recipe.py +++ b/tests/test_lint_recipe.py @@ -3956,7 +3956,6 @@ def test_lint_recipe_parses_forblock(): def test_lint_recipe_parses_spacing(): with tempfile.TemporaryDirectory() as tmpdir: - # CRM fails if the yaml has differing spacing with open(os.path.join(tmpdir, "meta.yaml"), "w") as f: f.write( textwrap.dedent( @@ -3993,7 +3992,7 @@ def test_lint_recipe_parses_spacing(): ) for hint in hints ), hints - assert any( + assert not any( hint.startswith( "The recipe is not parsable by parser `conda-recipe-manager" )