Skip to content

Commit

Permalink
Fix generating .ci_support/README
Browse files Browse the repository at this point in the history
  • Loading branch information
isuruf committed Jan 4, 2024
1 parent 9b727a8 commit 5c82b60
Show file tree
Hide file tree
Showing 3 changed files with 29 additions and 16 deletions.
16 changes: 0 additions & 16 deletions conda_smithy/configure_feedstock.py
Original file line number Diff line number Diff line change
Expand Up @@ -2574,22 +2574,6 @@ def main(
render_README(env, config, forge_dir, render_info)
logger.debug("README rendered")

if os.path.isdir(os.path.join(forge_dir, ".ci_support")):
with write_file(os.path.join(forge_dir, ".ci_support", "README")) as f:
f.writelines(
map(
lambda e: e + os.linesep,
textwrap.wrap(
"This file is automatically generated by conda-smithy. "
"If any particular build configuration is expected, "
"but it is not found, please make sure all dependencies are satisfiable. "
"To add/modify any matrix elements, you should create/change conda-smithy's input "
"recipe/conda_build_config.yaml and re-render the recipe, rather than editing "
"these files directly.",
),
)
)

commit_changes(
forge_file_directory,
commit,
Expand Down
6 changes: 6 additions & 0 deletions conda_smithy/feedstock_content/.ci_support/README

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

23 changes: 23 additions & 0 deletions news/ci_support_README.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 line endings of .ci_support/README on windows (#1824).

**Security:**

* <news item>

0 comments on commit 5c82b60

Please sign in to comment.