diff --git a/.python-version b/.python-version index bd28b9c5c2..e4fba21835 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 0000000000..4ef267bc40 --- /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 420234a383..b9dfab019a 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