Skip to content
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
5 changes: 5 additions & 0 deletions lib/iris/tests/test_coding_standards.py
Original file line number Diff line number Diff line change
Expand Up @@ -225,6 +225,11 @@ def test_license_headers(self):
):
with open(full_fname) as fh:
content = fh.read()
if content.startswith("#!"):
# account for files with leading shebang directives
# i.e., first strip out the shebang line before
# then performing license header compliance checking
content = "\n".join(content.split("\n")[1:])
if not content.startswith(LICENSE_TEMPLATE):
print(
"The file {} does not start with the required "
Expand Down
25 changes: 23 additions & 2 deletions tools/release_do_nothing.py
100644 → 100755
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
#!/usr/bin/env python3
# Copyright Iris contributors
#
# This file is part of Iris and is released under the LGPL license.
Expand Down Expand Up @@ -280,6 +281,18 @@ def finalise_whats_new(
message = f"In {rsts.release.name}: set the page title to:\n{whatsnew_title}\n"
_wait_for_done(message)

message = (
f"In {rsts.release.name}: ensure the page title underline is "
"the exact same length as the page title text."
)
_wait_for_done(message)

dropdown_title = f"\n{release_strings.series} Release Highlights\n"
message = (
f"In {rsts.release.name}: set the sphinx-design dropdown title to:{dropdown_title}"
)
_wait_for_done(message)

message = (
f"Review {rsts.release.name} to ensure it is a good reflection of "
f"what is new in {release_strings.series}."
Expand Down Expand Up @@ -355,8 +368,9 @@ def cut_release(
if is_release_candidate:
message = (
"This is a release candidate - include the following instructions "
"for Conda-installing:\n"
"conda install -c conda-forge/label/rc_iris iris;"
"for installing with conda or pip:\n"
f"conda install -c conda-forge/label/rc_iris iris={release_strings.release}\n"
f"pip install scitools-iris=={release_strings.release}"
)
_wait_for_done(message)

Expand All @@ -379,6 +393,13 @@ def cut_release(
)
_break_print(message)

url = "https://github.com/SciTools/iris/actions/workflows/ci-wheels.yml"
message = (
f"Visit {url} to monitor the building, testing and publishing of "
"the Iris sdist and binary wheel to PyPI."
)
_wait_for_done(message)


def check_rtd(
release_strings: ReleaseStrings, is_release_candidate: bool
Expand Down