Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix generating .ci_support/README #1824

Merged
merged 1 commit into from
Jan 4, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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>