From fd222a10efdd0614838a658457fb9432707e4e35 Mon Sep 17 00:00:00 2001 From: Timo Stollenwerk Date: Sun, 16 Jun 2024 20:07:16 +0200 Subject: [PATCH] Run docs check against Python 3.12 (#1794) * Run docs check against Python 3.12 * Add changelog and update more references to 3.9 * Make py 3.12 the default and print python/plone version * Update 1794.internal --------- Co-authored-by: David Glick --- .python-version | 2 +- news/1794.internal | 1 + test-no-uncommitted-doc-changes | 8 +++++--- 3 files changed, 7 insertions(+), 4 deletions(-) create mode 100644 news/1794.internal diff --git a/.python-version b/.python-version index bd28b9c5c..e4fba2183 100644 --- a/.python-version +++ b/.python-version @@ -1 +1 @@ -3.9 +3.12 diff --git a/news/1794.internal b/news/1794.internal new file mode 100644 index 000000000..4ef267bc4 --- /dev/null +++ b/news/1794.internal @@ -0,0 +1 @@ +Update test-no-uncommitted-doc-changes to run on Python 3.12 instead of 3.9. @tisto, @davisagli diff --git a/test-no-uncommitted-doc-changes b/test-no-uncommitted-doc-changes index 420234a38..b9dfab019 100755 --- a/test-no-uncommitted-doc-changes +++ b/test-no-uncommitted-doc-changes @@ -13,12 +13,14 @@ function red { echo "$RED $1 $RESET" } -if [ "$PLONE_VERSION" == "6.0" ] && [ "$PYTHON_VERSION" == '3.9' ]; then - echo "Running check for undocumented changes for Plone 6.0.x on Python 3.9" +if [ "$PLONE_VERSION" == "6.0" ] && [ "$PYTHON_VERSION" == '3.12' ]; then + echo "Running check for undocumented changes for Plone 6.0.x on Python 3.12" else # request/response dumps have known differences for different Python/Plone combinations # => skip, we can't have the Plone 5 build fail because of those - echo "Skipping checks for undocumented changes for everything except Plone 6.0.x on Python 3.9" + echo "Skipping checks for undocumented changes for everything except Plone 6.0.x on Python 3.12" + echo "PLONE_VERSION=$PLONE_VERSION" + echo "PYTHON_VERSION=$PYTHON_VERSION" exit 0 fi