Repository: Project-MONAI/MONAI

Issue:
releasing v1.3 -- checklist
tentative: ~6th Oct~ 12th Oct


## Review the deprecated APIs
- [x] remove any promised deprecated functionality (https://github.com/Project-MONAI/MONAI/issues/7018)

## Release a candidate version
- [x] Tag and release PYPI version [X.Y.Z]rc[K] following [the contributing guide](https://github.com/Project-MONAI/MONAI/blob/master/CONTRIBUTING.md#release-a-new-version).
- [x] Make sure all CI pipelines pass.

## Verify the new PyPI release
- [x] Check [the PyPI page](https://pypi.org/project/monai/0.2.0/) 
- [x] Test `pip install monai==[X.Y.Z]rc[K]` and run a few MONAI modules locally
- [x] Test all installation commands mentioned in [the installation guide](https://docs.monai.io/en/latest/installation.html) and [the primary README](https://github.com/Project-MONAI/MONAI/blob/master/README.md).

## Quality assurance for the relevant repos
The new PyPI release candidate should be checked against all the relevant repositories under [`Project-MONAI`](https://github.com/Project-MONAI), for example, [the tutorials repo](https://github.com/Project-MONAI/tutorials):
- [x] Run all Jupyter notebooks, replace `pip install monai` with `pip install monai==[X.Y.Z]rc[K]`.
- [x] File new tickets and create new pull requests to address any technical issues.
- [x] Release a new candidate after addressing all the issues.
- [x] Testing related repositories
  - [x] MONAI unit and integration tests
  - [x] MONAI tutorial tests
  - [x] MONAILabel unit and integration tests
  - [x] MONAI model zoo tests
  - [ ] QA regression tests

## Prepare documentation
- [x] Draft a release note [on GitHub](https://github.com/Project-MONAI/MONAI/releases).
- [x] Draft a release note with a pull request to modify [the CHANGELOG](https://github.com/Project-MONAI/MONAI/blob/master/CHANGELOG.md).
- [x] Create a pull request to highlight the features of the upcoming release, for example, in [`docs/source/highlights.md`](https://github.com/Project-MONAI/MONAI/blob/master/docs/source/highlights.md).
- [x] Create a pull request to update [the primary README.md](https://github.com/Project-MONAI/MONAI/blob/master/README.md).
- [x] Update the `monai.io` website (https://github.com/Project-MONAI/project-monai.github.io).
- [x] Check all the URLs in `https://monai.io` 
- [x] Check all the URLs in `https://docs.monai.io`.

## Release a milestone version
- [x] Tag and release PyPI version [X.Y.Z] following [the contributing guide](https://github.com/Project-MONAI/MONAI/blob/master/CONTRIBUTING.md#release-a-new-version).
- [x] Check the dockerhub auto-build by running `docker pull projectmonai/monai:X.Y.Z` and `docker run ...`
- [x] Check jupyter lab/notebook in the docker container
- [x] Check readme frontpage on dockerhub, pypi
- [x] Update https://github.com/Project-MONAI/MONAI/blob/dev/CITATION.cff
- [x] Publish the release note [on GitHub](https://github.com/Project-MONAI/MONAI/releases).
- [x] Update the weekly-preview tagging https://github.com/Project-MONAI/MONAI/blob/master/.github/workflows/weekly-preview.yml#L32
- [x] Release the corresponding conda-forge version https://github.com/conda-forge/monai-feedstock

## Revisit the GitHub project tab
- [ ] Update https://github.com/Project-MONAI/MONAI/projects.



Discussion:

Resolving patch:
diff --git a/monai/metrics/hausdorff_distance.py b/monai/metrics/hausdorff_distance.py
--- a/monai/metrics/hausdorff_distance.py
+++ b/monai/metrics/hausdorff_distance.py
@@ -230,9 +230,9 @@ def compute_percent_hausdorff_distance(
     This function is used to compute the directed Hausdorff distance.
     """
 
-    surface_distance: np.ndarray = get_surface_distance(
+    surface_distance: np.ndarray = get_surface_distance(  # type: ignore
         edges_pred, edges_gt, distance_metric=distance_metric, spacing=spacing
-    )  # type: ignore
+    )
 
     # for both pred and gt do not have foreground
     if surface_distance.shape == (0,):
diff --git a/monai/utils/jupyter_utils.py b/monai/utils/jupyter_utils.py
--- a/monai/utils/jupyter_utils.py
+++ b/monai/utils/jupyter_utils.py
@@ -163,7 +163,7 @@ def plot_engine_status(
     avg_keys: tuple[str] = (LOSS_NAME,),
     window_fraction: int = 20,
     image_fn: Callable[[str, torch.Tensor], Any] | None = tensor_to_images,
-    fig: plt.Figure = None,
+    fig: plt.Figure | None = None,
     selected_inst: int = 0,
 ) -> tuple[plt.Figure, list]:
     """
@@ -359,7 +359,7 @@ def status(self) -> str:
 
         return ", ".join(msgs)
 
-    def plot_status(self, logger: Any, plot_func: Callable = plot_engine_status) -> plt.Figure:
+    def plot_status(self, logger: Any, plot_func: Callable = plot_engine_status) -> plt.Figure | None:
         """
         Generate a plot of the current status of the contained engine whose loss and metrics were tracked by `logger`.
         The function `plot_func` must accept arguments `title`, `engine`, `logger`, and `fig` which are the plot title,


Test patch: