From 7a21c980547af811c7b0e340d11705359ffa8523 Mon Sep 17 00:00:00 2001 From: Ivo Petrov Date: Wed, 22 Oct 2025 17:10:14 +0100 Subject: [PATCH 1/6] downgrade to sdk preview.5 --- Directory.Build.props | 10 +--------- global.json | 6 ++++++ 2 files changed, 7 insertions(+), 9 deletions(-) create mode 100644 global.json diff --git a/Directory.Build.props b/Directory.Build.props index e45c16f6a..6a0d6f901 100644 --- a/Directory.Build.props +++ b/Directory.Build.props @@ -4,7 +4,7 @@ Copyright (c) 2006-2022 The Contributors of the Python.NET Project pythonnet Python.NET - 10.0 + 12.0 false $([System.IO.File]::ReadAllText("$(MSBuildThisFileDirectory)version.txt").Trim()) $(FullVersion.Split('-', 2)[0]) @@ -12,13 +12,5 @@ - - all - runtime; build; native; contentfiles; analyzers - - - all - runtime; build; native; contentfiles; analyzers; buildtransitive - diff --git a/global.json b/global.json new file mode 100644 index 000000000..6d6eae917 --- /dev/null +++ b/global.json @@ -0,0 +1,6 @@ +{ + "sdk": { + "version": "10.0.100-preview.5.25277.114", + "rollForward": "disable" + } +} From 6d57616b47e3ffabeacc49025c5441c3b7403386 Mon Sep 17 00:00:00 2001 From: Ivo Petrov Date: Wed, 22 Oct 2025 17:47:54 +0100 Subject: [PATCH 2/6] Update main.yml --- .github/workflows/main.yml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index 2a4a74f11..3e910bd0f 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -42,12 +42,12 @@ jobs: mono-version: latest - name: Checkout code - uses: actions/checkout@v2 + uses: actions/checkout@v5 - name: Setup .NET - uses: actions/setup-dotnet@v1 + uses: actions/setup-dotnet@v5 with: - dotnet-version: '6.0.x' + dotnet-version: '10.0.x' - name: Set up Python ${{ matrix.python }} uses: actions/setup-python@v2 From 3e97998fe2c86e07bc5213bb9438350ce47877f6 Mon Sep 17 00:00:00 2001 From: Ivo Petrov Date: Wed, 22 Oct 2025 17:54:25 +0100 Subject: [PATCH 3/6] Update ARM.yml --- .github/workflows/ARM.yml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/workflows/ARM.yml b/.github/workflows/ARM.yml index e436c009e..baca6fc9e 100644 --- a/.github/workflows/ARM.yml +++ b/.github/workflows/ARM.yml @@ -14,12 +14,12 @@ jobs: steps: - name: Checkout code - uses: actions/checkout@v2 + uses: actions/checkout@v5 - name: Setup .NET - uses: actions/setup-dotnet@v1 + uses: actions/setup-dotnet@v5 with: - dotnet-version: '6.0.x' + dotnet-version: '10.0.x' - name: Clean previous install run: | From d23a20432ca5047de95ede9ca7dfe61e791fc7ae Mon Sep 17 00:00:00 2001 From: Ivo Petrov Date: Wed, 22 Oct 2025 18:00:41 +0100 Subject: [PATCH 4/6] tests updated to NET10.0 --- src/embed_tests/Python.EmbeddingTest.csproj | 2 +- src/module_tests/Python.ModuleTest.csproj | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/embed_tests/Python.EmbeddingTest.csproj b/src/embed_tests/Python.EmbeddingTest.csproj index 4993994d3..ab5e4596e 100644 --- a/src/embed_tests/Python.EmbeddingTest.csproj +++ b/src/embed_tests/Python.EmbeddingTest.csproj @@ -1,7 +1,7 @@ - net472;net6.0 + net472;net10.0 ..\pythonnet.snk true diff --git a/src/module_tests/Python.ModuleTest.csproj b/src/module_tests/Python.ModuleTest.csproj index 7a8aa9ac3..50b05233c 100644 --- a/src/module_tests/Python.ModuleTest.csproj +++ b/src/module_tests/Python.ModuleTest.csproj @@ -1,7 +1,7 @@ - net472;net6.0 + net472;net10.0 ..\pythonnet.snk true From fa3aee056b29772d7b40e822a668d753778e994d Mon Sep 17 00:00:00 2001 From: Ashish Aggarwal Date: Wed, 22 Oct 2025 14:21:53 -0400 Subject: [PATCH 5/6] Update main.yml --- .github/workflows/main.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index 3e910bd0f..b528f5b1d 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -47,7 +47,7 @@ jobs: - name: Setup .NET uses: actions/setup-dotnet@v5 with: - dotnet-version: '10.0.x' + dotnet-version: '10.0.100-preview.5.25277.114' - name: Set up Python ${{ matrix.python }} uses: actions/setup-python@v2 From bc669721ca15d82f88901a87276366bf6e99c5ed Mon Sep 17 00:00:00 2001 From: Ashish Aggarwal Date: Thu, 23 Oct 2025 01:37:24 -0400 Subject: [PATCH 6/6] Update pipeline.yml --- pipeline.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pipeline.yml b/pipeline.yml index 41dc819c5..551c837c2 100644 --- a/pipeline.yml +++ b/pipeline.yml @@ -39,8 +39,8 @@ deployment: - ./pythonnet/runtime/Python.Runtime.dll - type: customized - allow_branches: dynamo_py3 + allow_branches: testnet scripts: - - dotnet pack --no-build --configuration Release --version-suffix preview-%BUILD_DATE% --output "Release-Preview" + - dotnet pack --no-build --configuration Release --version-suffix test-%BUILD_DATE% --output "Release-Preview" - dotnet nuget push --source https://api.nuget.org/v3/index.json --api-key %API_KEY% "Release-Preview/**/*.nupkg" - dotnet nuget push --skip-duplicate --source https://api.nuget.org/v3/index.json --api-key %API_KEY% "Release-Preview/**/*.snupkg"