From 5fdf7d1403bcb3bbdce2919ea2e9c15f88eca1fc Mon Sep 17 00:00:00 2001 From: Nathan Glenn Date: Thu, 31 Aug 2023 17:34:37 -0500 Subject: [PATCH] build with Python 3.11 Since our Python bindings will only work with one major.minor version of Python, it only makes sense to use the latest available. --- .github/workflows/build.yml | 14 +++++++++++--- 1 file changed, 11 insertions(+), 3 deletions(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index b1de912e97..21736bc25b 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -2,7 +2,7 @@ # depends on pre-installed software; see image definitions: # - https://github.com/actions/runner-images/blob/main/images/linux/Ubuntu2004-Readme.md # - https://github.com/actions/runner-images/blob/main/images/macos/macos-12-Readme.md -# We use these tools from the runner images: git, gcc/XCode/MSVC, python, swig, Tcl/Tk on MacOS +# We use these tools from the runner images: git, gcc/XCode/MSVC, swig, Tcl/Tk on MacOS # TODO: not building svs_viewer ('Cannot find GL, GLU, not building svs_viewer' and 'Cannot find opengl32, glu32, not building svs_viewer') # TODO: not building with TCL support; need to install TCL from somewhere (maybe http://tclkits.rkeene.org/fossil/wiki/Downloads?) @@ -28,7 +28,11 @@ jobs: steps: - name: Checkout uses: actions/checkout@v1 - - name: setup Java + - name: Setup Python + uses: actions/setup-python@v4 + with: + python-version: '3.11' + - name: Setup Java uses: actions/setup-java@v3 with: distribution: 'temurin' @@ -105,7 +109,11 @@ jobs: steps: - name: Checkout uses: actions/checkout@v1 - - name: setup Java + - name: Setup Python + uses: actions/setup-python@v4 + with: + python-version: '3.11' + - name: Setup Java uses: actions/setup-java@v3 with: distribution: 'temurin'