From 6e3a9c534bb45294799fabb383e3e3f6f0efd5b4 Mon Sep 17 00:00:00 2001 From: Will Chen Date: Wed, 18 Sep 2024 10:53:02 -0700 Subject: [PATCH 1/2] Add security announcement to docs site --- docs/getting-started/installing.md | 11 +++++++++++ docs/theme/main.html | 7 +++++++ 2 files changed, 18 insertions(+) create mode 100644 docs/theme/main.html diff --git a/docs/getting-started/installing.md b/docs/getting-started/installing.md index c89cdfdcd..3098bd721 100644 --- a/docs/getting-started/installing.md +++ b/docs/getting-started/installing.md @@ -64,6 +64,17 @@ Once you've activated the virtual environment, you will see ".venv" at the start pip install mesop ``` +## Upgrading + +To upgrade Mesop, run the following command: + +```sh +pip install --upgrade mesop +``` + +If you are using `requirements.txt` or `pyproject.toml` to manage your dependency versions, then you should update those. + + ## Next steps Follow the quickstart guide to learn how to create and run a Mesop app: diff --git a/docs/theme/main.html b/docs/theme/main.html new file mode 100644 index 000000000..aebea49a3 --- /dev/null +++ b/docs/theme/main.html @@ -0,0 +1,7 @@ +{% extends "base.html" %} {% block announce %} Please +upgrade to the latest version +of Mesop which addresses an important +security issue.{% endblock %} From fb4d15733900ec8656f5d05bc4a520f8f483c7cc Mon Sep 17 00:00:00 2001 From: Will Chen Date: Wed, 18 Sep 2024 11:43:31 -0700 Subject: [PATCH 2/2] op --- docs/theme/main.html | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/theme/main.html b/docs/theme/main.html index aebea49a3..d8b66ddb1 100644 --- a/docs/theme/main.html +++ b/docs/theme/main.html @@ -1,6 +1,6 @@ {% extends "base.html" %} {% block announce %} Please -upgrade to the latest version -of Mesop which addresses an important +upgrade to the latest +version of Mesop which addresses an important security issue.