Skip to content

Commit

Permalink
Merge pull request #2223 from conda-forge/beckermr-patch-1
Browse files Browse the repository at this point in the history
fix: CRM 0.4.1 passes some tests now
  • Loading branch information
xhochy authored Jan 19, 2025
2 parents fcbd049 + 99d384d commit 6d9c019
Show file tree
Hide file tree
Showing 3 changed files with 25 additions and 3 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ jobs:
python=3.11
coverage
coveralls
conda-recipe-manager
conda-recipe-manager>=0.4.1
conda-souschef
conda-forge-tick
Expand Down
23 changes: 23 additions & 0 deletions news/crm.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
**Added:**

* <news item>

**Changed:**

* <news item>

**Deprecated:**

* <news item>

**Removed:**

* <news item>

**Fixed:**

* Fixed error in testing where tests fail for ``conda-recipe-manager >=0.4.1``. (#2223)

**Security:**

* <news item>
3 changes: 1 addition & 2 deletions tests/test_lint_recipe.py
Original file line number Diff line number Diff line change
Expand Up @@ -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(
Expand Down Expand Up @@ -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"
)
Expand Down

0 comments on commit 6d9c019

Please sign in to comment.