From bfb7389bf397197076d33e0294c1790f5aa2c7d8 Mon Sep 17 00:00:00 2001 From: Rolf Madsen Date: Wed, 19 Nov 2025 13:45:47 +0100 Subject: [PATCH] py 3.13 --- .github/workflows/build.yml | 4 ++-- OpenTap.Python/PythonInstallationDiscoverer.cs | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index b95b04a..9cbb5cf 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -86,7 +86,7 @@ jobs: - name: Set up Python uses: actions/setup-python@v4 with: - python-version: '3.10' + python-version: '3.13' - name: Restore dependencies run: dotnet restore - name: Build @@ -94,7 +94,7 @@ jobs: - name: Test run: | ./bin/Debug/tap python set-path $Python3_ROOT_DIR - ./bin/Debug/tap python set-lib-path $Python3_ROOT_DIR/lib/libpython3.10.dylib + ./bin/Debug/tap python set-lib-path $Python3_ROOT_DIR/lib/libpython3.13.dylib ./bin/Debug/tap python test - name: Test Plan run: | diff --git a/OpenTap.Python/PythonInstallationDiscoverer.cs b/OpenTap.Python/PythonInstallationDiscoverer.cs index e4cbb62..d3bed78 100644 --- a/OpenTap.Python/PythonInstallationDiscoverer.cs +++ b/OpenTap.Python/PythonInstallationDiscoverer.cs @@ -23,7 +23,7 @@ IEnumerable GetAvailablePythonVersionsCandidates() } const int minSupportedMinorVersion = 7; - const int maxSupportedMinorVersion = 12; + const int maxSupportedMinorVersion = 13; const int supportedMajorVersion = 3; public IEnumerable<(string library, string pyPath)> GetAvailablePythonInstallations()