From 045d52d6599c60d8d1f19c08cfe31a1e22ae6495 Mon Sep 17 00:00:00 2001 From: Rolf Madsen Date: Wed, 19 Nov 2025 13:48:50 +0100 Subject: [PATCH 1/2] py 3.13 (#204) --- .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() From 540487ee0c17a7e35a7b04644d157c3fb9eaf186 Mon Sep 17 00:00:00 2001 From: Rolf Madsen Date: Wed, 19 Nov 2025 13:49:47 +0100 Subject: [PATCH 2/2] Clarify Python version requirements in documentation Updated Python version requirement to specify range from 3.7 to 3.13. --- Documentation/TAP_Python_Help/Prerequisites.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Documentation/TAP_Python_Help/Prerequisites.md b/Documentation/TAP_Python_Help/Prerequisites.md index 6e6e622..d31b577 100644 --- a/Documentation/TAP_Python_Help/Prerequisites.md +++ b/Documentation/TAP_Python_Help/Prerequisites.md @@ -6,7 +6,7 @@ The Python Plugin is available at [the OpenTAP website](https://packages.opentap - Commercial development tools can be downloaded from [Keysight](http://www.keysight.com/find/tap). - **Python** - Python 3.7 or later. Download from [python.org](http://www.python.org). + Python 3.7 to 3.13. Download from [python.org](http://www.python.org). - **Supported Operating Systems**: Windows 7 or newer, Ubuntu 20.04 or equivalent or newer, MacOS 10