diff --git a/.github/workflows/reusable-docs.yml b/.github/workflows/reusable-docs.yml index 4b021b3dc32f15..e553217fc992ef 100644 --- a/.github/workflows/reusable-docs.yml +++ b/.github/workflows/reusable-docs.yml @@ -99,20 +99,25 @@ jobs: timeout-minutes: 60 steps: - uses: actions/checkout@v4 - - uses: actions/cache@v4 + - name: 'Set up Python' + uses: actions/setup-python@v5 with: - path: ~/.cache/pip - key: ubuntu-doc-${{ hashFiles('Doc/requirements.txt') }} - restore-keys: | - ubuntu-doc- - - name: 'Install Dependencies' - run: sudo ./.github/workflows/posix-deps-apt.sh && sudo apt-get install wamerican - - name: 'Configure CPython' - run: ./configure --with-pydebug - - name: 'Build CPython' - run: make -j4 + python-version: '3.13' + allow-prereleases: true +# - uses: actions/cache@v4 +# with: +# path: ~/.cache/pip +# key: ubuntu-doc-${{ hashFiles('Doc/requirements.txt') }} +# restore-keys: | +# ubuntu-doc- +# - name: 'Install Dependencies' +# run: sudo ./.github/workflows/posix-deps-apt.sh && sudo apt-get install wamerican +# - name: 'Configure CPython' +# run: ./configure --with-pydebug +# - name: 'Build CPython' +# run: make -j4 - name: 'Install build dependencies' - run: make -C Doc/ PYTHON=../python venv + run: make -C Doc/ PYTHON=python3 venv # Use "xvfb-run" since some doctest tests open GUI windows - name: 'Run documentation doctest' run: xvfb-run make -C Doc/ PYTHON=../python SPHINXERRORHANDLING="-W --keep-going" doctest