From 4f76ee135a4de9e321b4ac699a3ce77e127155c9 Mon Sep 17 00:00:00 2001 From: "Matthew R. Becker" Date: Fri, 17 Jan 2025 13:59:23 -0600 Subject: [PATCH 1/4] fix: CRM 0.4.1 passes some tests now --- .github/workflows/tests.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/tests.yml b/.github/workflows/tests.yml index 4dedac0d9..fa047a2c8 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 From 543ca6f5a13683c3fc42a99db87d5f15d4b8d912 Mon Sep 17 00:00:00 2001 From: "Matthew R. Becker" Date: Fri, 17 Jan 2025 14:00:12 -0600 Subject: [PATCH 2/4] fix: this test passes now --- tests/test_lint_recipe.py | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) 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" ) From bfefe7bc8a01c1f035582cc3513485a5492ded59 Mon Sep 17 00:00:00 2001 From: "Matthew R. Becker" Date: Fri, 17 Jan 2025 14:01:20 -0600 Subject: [PATCH 3/4] doc: add news --- news/crm.rst | 23 +++++++++++++++++++++++ 1 file changed, 23 insertions(+) create mode 100644 news/crm.rst 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:** + +* From 99d384dc9f768931f183deedfdd2fb073ef1616d Mon Sep 17 00:00:00 2001 From: "Matthew R. Becker" Date: Fri, 17 Jan 2025 14:05:45 -0600 Subject: [PATCH 4/4] fix: syntax in test req --- .github/workflows/tests.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/tests.yml b/.github/workflows/tests.yml index fa047a2c8..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 >=0.4.1 + conda-recipe-manager>=0.4.1 conda-souschef conda-forge-tick