From 29f86d288286c85655ee7472d1b50dfb0871db1d Mon Sep 17 00:00:00 2001 From: Martin Molinero Date: Wed, 24 Dec 2025 13:38:07 -0300 Subject: [PATCH 1/6] Feature update to net10 --- Algorithm.CSharp/QuantConnect.Algorithm.CSharp.csproj | 2 +- Algorithm.Framework/QuantConnect.Algorithm.Framework.csproj | 2 +- Algorithm.Python/QuantConnect.Algorithm.Python.csproj | 2 +- Algorithm/QuantConnect.Algorithm.csproj | 2 +- AlgorithmFactory/QuantConnect.AlgorithmFactory.csproj | 2 +- Api/QuantConnect.Api.csproj | 2 +- Brokerages/QuantConnect.Brokerages.csproj | 2 +- Common/QuantConnect.csproj | 2 +- Compression/QuantConnect.Compression.csproj | 2 +- Configuration/QuantConnect.Configuration.csproj | 2 +- .../QuantConnect.DownloaderDataProvider.Launcher.csproj | 2 +- Engine/QuantConnect.Lean.Engine.csproj | 2 +- Indicators/QuantConnect.Indicators.csproj | 2 +- Launcher/QuantConnect.Lean.Launcher.csproj | 2 +- Logging/QuantConnect.Logging.csproj | 2 +- Messaging/QuantConnect.Messaging.csproj | 2 +- Optimizer.Launcher/QuantConnect.Optimizer.Launcher.csproj | 2 +- Optimizer/QuantConnect.Optimizer.csproj | 2 +- Queues/QuantConnect.Queues.csproj | 2 +- Report/QuantConnect.Report.csproj | 2 +- Research/QuantConnect.Research.csproj | 2 +- Tests/QuantConnect.Tests.csproj | 2 +- ToolBox/QuantConnect.ToolBox.csproj | 2 +- 23 files changed, 23 insertions(+), 23 deletions(-) diff --git a/Algorithm.CSharp/QuantConnect.Algorithm.CSharp.csproj b/Algorithm.CSharp/QuantConnect.Algorithm.CSharp.csproj index 688414008d10..abf0b94beb51 100644 --- a/Algorithm.CSharp/QuantConnect.Algorithm.CSharp.csproj +++ b/Algorithm.CSharp/QuantConnect.Algorithm.CSharp.csproj @@ -4,7 +4,7 @@ AnyCPU QuantConnect.Algorithm.CSharp QuantConnect.Algorithm.CSharp - net9.0 + net10.0 false bin\$(Configuration)\ AllEnabledByDefault diff --git a/Algorithm.Framework/QuantConnect.Algorithm.Framework.csproj b/Algorithm.Framework/QuantConnect.Algorithm.Framework.csproj index 81697dda1300..2614a4e5ea8e 100644 --- a/Algorithm.Framework/QuantConnect.Algorithm.Framework.csproj +++ b/Algorithm.Framework/QuantConnect.Algorithm.Framework.csproj @@ -4,7 +4,7 @@ AnyCPU QuantConnect.Algorithm.Framework QuantConnect.Algorithm.Framework - net9.0 + net10.0 false bin\$(Configuration)\ AllEnabledByDefault diff --git a/Algorithm.Python/QuantConnect.Algorithm.Python.csproj b/Algorithm.Python/QuantConnect.Algorithm.Python.csproj index 246af65ed265..58b4f7b58cc3 100644 --- a/Algorithm.Python/QuantConnect.Algorithm.Python.csproj +++ b/Algorithm.Python/QuantConnect.Algorithm.Python.csproj @@ -4,7 +4,7 @@ AnyCPU QuantConnect.Algorithm.Python QuantConnect.Algorithm.Python - net9.0 + net10.0 AllEnabledByDefault bin\$(Configuration)\ false diff --git a/Algorithm/QuantConnect.Algorithm.csproj b/Algorithm/QuantConnect.Algorithm.csproj index 24ece5b173b6..0a8f0aa8d0bc 100644 --- a/Algorithm/QuantConnect.Algorithm.csproj +++ b/Algorithm/QuantConnect.Algorithm.csproj @@ -4,7 +4,7 @@ AnyCPU QuantConnect.Algorithm QuantConnect.Algorithm - net9.0 + net10.0 ..\ false AllEnabledByDefault diff --git a/AlgorithmFactory/QuantConnect.AlgorithmFactory.csproj b/AlgorithmFactory/QuantConnect.AlgorithmFactory.csproj index f67eb2becc41..1780c6c55dd1 100644 --- a/AlgorithmFactory/QuantConnect.AlgorithmFactory.csproj +++ b/AlgorithmFactory/QuantConnect.AlgorithmFactory.csproj @@ -4,7 +4,7 @@ AnyCPU QuantConnect.AlgorithmFactory QuantConnect.AlgorithmFactory - net9.0 + net10.0 false bin\$(Configuration)\ AllEnabledByDefault diff --git a/Api/QuantConnect.Api.csproj b/Api/QuantConnect.Api.csproj index 20fb363b8669..4c06a2e5213e 100644 --- a/Api/QuantConnect.Api.csproj +++ b/Api/QuantConnect.Api.csproj @@ -4,7 +4,7 @@ AnyCPU QuantConnect.Api QuantConnect.Api - net9.0 + net10.0 ..\ true AllEnabledByDefault diff --git a/Brokerages/QuantConnect.Brokerages.csproj b/Brokerages/QuantConnect.Brokerages.csproj index 96f6221d4106..e44042df0a51 100644 --- a/Brokerages/QuantConnect.Brokerages.csproj +++ b/Brokerages/QuantConnect.Brokerages.csproj @@ -4,7 +4,7 @@ AnyCPU QuantConnect.Brokerages QuantConnect.Brokerages - net9.0 + net10.0 AllEnabledByDefault false bin\$(Configuration)\ diff --git a/Common/QuantConnect.csproj b/Common/QuantConnect.csproj index 4bdfd41aa6ce..44ddd84076b3 100644 --- a/Common/QuantConnect.csproj +++ b/Common/QuantConnect.csproj @@ -2,7 +2,7 @@ Debug AnyCPU - net9.0 + net10.0 QuantConnect.Common ..\ true diff --git a/Compression/QuantConnect.Compression.csproj b/Compression/QuantConnect.Compression.csproj index 1f626d954416..66a19b888f51 100644 --- a/Compression/QuantConnect.Compression.csproj +++ b/Compression/QuantConnect.Compression.csproj @@ -4,7 +4,7 @@ AnyCPU QuantConnect.Compression QuantConnect.Compression - net9.0 + net10.0 AllEnabledByDefault false bin\$(Configuration)\ diff --git a/Configuration/QuantConnect.Configuration.csproj b/Configuration/QuantConnect.Configuration.csproj index f222de092f40..e2b797aee2b4 100644 --- a/Configuration/QuantConnect.Configuration.csproj +++ b/Configuration/QuantConnect.Configuration.csproj @@ -4,7 +4,7 @@ AnyCPU QuantConnect.Configuration QuantConnect.Configuration - net9.0 + net10.0 ..\ true AllEnabledByDefault diff --git a/DownloaderDataProvider/QuantConnect.DownloaderDataProvider.Launcher.csproj b/DownloaderDataProvider/QuantConnect.DownloaderDataProvider.Launcher.csproj index 3409754162db..7e8ae152ec8a 100644 --- a/DownloaderDataProvider/QuantConnect.DownloaderDataProvider.Launcher.csproj +++ b/DownloaderDataProvider/QuantConnect.DownloaderDataProvider.Launcher.csproj @@ -6,7 +6,7 @@ Exe QuantConnect.DownloaderDataProvider.Launcher QuantConnect.DownloaderDataProvider.Launcher - net9.0 + net10.0 AllEnabledByDefault false bin\$(Configuration)\ diff --git a/Engine/QuantConnect.Lean.Engine.csproj b/Engine/QuantConnect.Lean.Engine.csproj index b611e65edc61..3aa66c24a2b1 100644 --- a/Engine/QuantConnect.Lean.Engine.csproj +++ b/Engine/QuantConnect.Lean.Engine.csproj @@ -4,7 +4,7 @@ AnyCPU QuantConnect.Lean.Engine QuantConnect.Lean.Engine - net9.0 + net10.0 ..\ true publish\ diff --git a/Indicators/QuantConnect.Indicators.csproj b/Indicators/QuantConnect.Indicators.csproj index 92e3c6ee59f9..43ae38d942a3 100644 --- a/Indicators/QuantConnect.Indicators.csproj +++ b/Indicators/QuantConnect.Indicators.csproj @@ -4,7 +4,7 @@ AnyCPU QuantConnect.Indicators QuantConnect.Indicators - net9.0 + net10.0 AllEnabledByDefault false bin\$(Configuration)\ diff --git a/Launcher/QuantConnect.Lean.Launcher.csproj b/Launcher/QuantConnect.Lean.Launcher.csproj index 299780332618..dfea79a8e24c 100644 --- a/Launcher/QuantConnect.Lean.Launcher.csproj +++ b/Launcher/QuantConnect.Lean.Launcher.csproj @@ -5,7 +5,7 @@ Exe QuantConnect.Lean.Launcher QuantConnect.Lean.Launcher - net9.0 + net10.0 AllEnabledByDefault false bin\$(Configuration)\ diff --git a/Logging/QuantConnect.Logging.csproj b/Logging/QuantConnect.Logging.csproj index c603d354cdce..4040ff227d09 100644 --- a/Logging/QuantConnect.Logging.csproj +++ b/Logging/QuantConnect.Logging.csproj @@ -4,7 +4,7 @@ AnyCPU QuantConnect.Logging QuantConnect.Logging - net9.0 + net10.0 ..\ true AllEnabledByDefault diff --git a/Messaging/QuantConnect.Messaging.csproj b/Messaging/QuantConnect.Messaging.csproj index 40b05ca6666b..5a4cee268b08 100644 --- a/Messaging/QuantConnect.Messaging.csproj +++ b/Messaging/QuantConnect.Messaging.csproj @@ -4,7 +4,7 @@ AnyCPU QuantConnect.Messaging QuantConnect.Messaging - net9.0 + net10.0 AllEnabledByDefault false bin\$(Configuration)\ diff --git a/Optimizer.Launcher/QuantConnect.Optimizer.Launcher.csproj b/Optimizer.Launcher/QuantConnect.Optimizer.Launcher.csproj index 7c9555446fc7..e9661b733e81 100644 --- a/Optimizer.Launcher/QuantConnect.Optimizer.Launcher.csproj +++ b/Optimizer.Launcher/QuantConnect.Optimizer.Launcher.csproj @@ -5,7 +5,7 @@ Exe QuantConnect.Optimizer.Launcher QuantConnect.Optimizer.Launcher - net9.0 + net10.0 false bin\$(Configuration)\ AllEnabledByDefault diff --git a/Optimizer/QuantConnect.Optimizer.csproj b/Optimizer/QuantConnect.Optimizer.csproj index 2154ba7021e8..552252fde267 100644 --- a/Optimizer/QuantConnect.Optimizer.csproj +++ b/Optimizer/QuantConnect.Optimizer.csproj @@ -4,7 +4,7 @@ AnyCPU QuantConnect.Optimizer QuantConnect.Optimizer - net9.0 + net10.0 false bin\$(Configuration)\ AllEnabledByDefault diff --git a/Queues/QuantConnect.Queues.csproj b/Queues/QuantConnect.Queues.csproj index c59e858512fa..7a24256fe9d7 100644 --- a/Queues/QuantConnect.Queues.csproj +++ b/Queues/QuantConnect.Queues.csproj @@ -4,7 +4,7 @@ AnyCPU QuantConnect.Queues QuantConnect.Queues - net9.0 + net10.0 false bin\$(Configuration)\ bin\$(Configuration)\QuantConnect.Queues.xml diff --git a/Report/QuantConnect.Report.csproj b/Report/QuantConnect.Report.csproj index 0edb390d8356..e726bd8c8572 100644 --- a/Report/QuantConnect.Report.csproj +++ b/Report/QuantConnect.Report.csproj @@ -5,7 +5,7 @@ Exe QuantConnect.Report QuantConnect.Report - net9.0 + net10.0 false bin\$(Configuration)\ bin\$(Configuration)\QuantConnect.Report.xml diff --git a/Research/QuantConnect.Research.csproj b/Research/QuantConnect.Research.csproj index 381c3ef07a4b..a95a42d466d0 100644 --- a/Research/QuantConnect.Research.csproj +++ b/Research/QuantConnect.Research.csproj @@ -4,7 +4,7 @@ AnyCPU QuantConnect.Research QuantConnect.Research - net9.0 + net10.0 AllEnabledByDefault bin\$(Configuration)\ false diff --git a/Tests/QuantConnect.Tests.csproj b/Tests/QuantConnect.Tests.csproj index 25c10651b0c1..1d4e080ae1b4 100644 --- a/Tests/QuantConnect.Tests.csproj +++ b/Tests/QuantConnect.Tests.csproj @@ -4,7 +4,7 @@ AnyCPU QuantConnect.Tests QuantConnect.Tests - net9.0 + net10.0 ..\ AllEnabledByDefault false diff --git a/ToolBox/QuantConnect.ToolBox.csproj b/ToolBox/QuantConnect.ToolBox.csproj index 52fd576aee02..196fe98c86f9 100644 --- a/ToolBox/QuantConnect.ToolBox.csproj +++ b/ToolBox/QuantConnect.ToolBox.csproj @@ -5,7 +5,7 @@ Exe QuantConnect.ToolBox QuantConnect.ToolBox - net9.0 + net10.0 AllEnabledByDefault false bin\$(Configuration)\ From 841496e184ec1956f551429a80a4480943617154 Mon Sep 17 00:00:00 2001 From: Martin Molinero Date: Fri, 26 Dec 2025 16:20:12 -0300 Subject: [PATCH 2/6] Update to net10 --- .github/workflows/research-regression-tests.yml | 2 +- Common/Util/Composer.cs | 5 ++++- DockerfileJupyter | 2 +- DockerfileLeanFoundation | 2 +- DockerfileLeanFoundationARM | 2 +- 5 files changed, 8 insertions(+), 5 deletions(-) diff --git a/.github/workflows/research-regression-tests.yml b/.github/workflows/research-regression-tests.yml index e4cf0f7497db..5f855ceee9e6 100644 --- a/.github/workflows/research-regression-tests.yml +++ b/.github/workflows/research-regression-tests.yml @@ -30,7 +30,7 @@ jobs: # install dependencies pip3 install papermill==2.4.0 clr-loader==0.1.6 # install kernel - dotnet tool install --global Microsoft.dotnet-interactive --version 1.0.607001 + dotnet tool install --global Microsoft.dotnet-interactive --version 1.0.661703 # Add dotnet tools to Path export PATH="$HOME/.dotnet/tools:$PATH" # activate kernel for jupyter diff --git a/Common/Util/Composer.cs b/Common/Util/Composer.cs index c8a8597937d9..24051e4d4978 100644 --- a/Common/Util/Composer.cs +++ b/Common/Util/Composer.cs @@ -386,7 +386,10 @@ private void LoadPartsSafely(IEnumerable files) } catch (Exception ex) { - Log.Trace($"Composer.LoadPartsSafely({file}): Skipping {ex.GetType().Name}: {ex.Message}"); + if (!file.Contains("quickfix.fix", StringComparison.InvariantCultureIgnoreCase)) + { + Log.Trace($"Composer.LoadPartsSafely({file}): Skipping {ex.GetType().Name}: {ex.Message}"); + } } }); diff --git a/DockerfileJupyter b/DockerfileJupyter index ca4fb7ceeb61..b5beb720a728 100644 --- a/DockerfileJupyter +++ b/DockerfileJupyter @@ -26,7 +26,7 @@ RUN pip install --no-cache-dir clr-loader==0.1.6 # Install .NET Interactive to support C# in Jupyter notebooks ENV PATH="${PATH}:/root/.dotnet/tools" -RUN dotnet tool install -g --no-cache --version 1.0.607001 --add-source "https://pkgs.dev.azure.com/dnceng/public/_packaging/dotnet-tools/nuget/v3/index.json" Microsoft.dotnet-interactive && \ +RUN dotnet tool install -g --no-cache --version 1.0.661703 --add-source "https://pkgs.dev.azure.com/dnceng/public/_packaging/dotnet-tools/nuget/v3/index.json" Microsoft.dotnet-interactive && \ dotnet interactive jupyter install # Setting some environment variables diff --git a/DockerfileLeanFoundation b/DockerfileLeanFoundation index f5818a6359ba..239589abc6c8 100644 --- a/DockerfileLeanFoundation +++ b/DockerfileLeanFoundation @@ -416,4 +416,4 @@ RUN add-apt-repository ppa:dotnet/backports && apt-get update && apt-get install # label definitions LABEL strict_python_version=3.11.11 LABEL python_version=3.11 -LABEL target_framework=net9.0 \ No newline at end of file +LABEL target_framework=net10.0 \ No newline at end of file diff --git a/DockerfileLeanFoundationARM b/DockerfileLeanFoundationARM index c6dca13cd7b0..ef5dd0301f5c 100644 --- a/DockerfileLeanFoundationARM +++ b/DockerfileLeanFoundationARM @@ -274,4 +274,4 @@ ENV DOTNET_ROOT="/root/.dotnet" # label definitions LABEL strict_python_version=3.11.11 LABEL python_version=3.11 -LABEL target_framework=net9.0 \ No newline at end of file +LABEL target_framework=net10.0 \ No newline at end of file From ff77987e81cab255c29cd85facf71f6504959aa9 Mon Sep 17 00:00:00 2001 From: Martin Molinero Date: Fri, 26 Dec 2025 16:39:17 -0300 Subject: [PATCH 3/6] Update pythonnet to 2.0.51 --- Algorithm.CSharp/QuantConnect.Algorithm.CSharp.csproj | 2 +- Algorithm.Framework/QuantConnect.Algorithm.Framework.csproj | 2 +- Algorithm.Python/QuantConnect.Algorithm.Python.csproj | 2 +- Algorithm/QuantConnect.Algorithm.csproj | 2 +- AlgorithmFactory/QuantConnect.AlgorithmFactory.csproj | 2 +- Common/QuantConnect.csproj | 2 +- DockerfileLeanFoundation | 2 +- DockerfileLeanFoundationARM | 2 +- Engine/QuantConnect.Lean.Engine.csproj | 2 +- Indicators/QuantConnect.Indicators.csproj | 2 +- Report/QuantConnect.Report.csproj | 4 ++-- Research/QuantConnect.Research.csproj | 4 ++-- Tests/QuantConnect.Tests.csproj | 2 +- 13 files changed, 15 insertions(+), 15 deletions(-) diff --git a/Algorithm.CSharp/QuantConnect.Algorithm.CSharp.csproj b/Algorithm.CSharp/QuantConnect.Algorithm.CSharp.csproj index abf0b94beb51..36f9246b19b5 100644 --- a/Algorithm.CSharp/QuantConnect.Algorithm.CSharp.csproj +++ b/Algorithm.CSharp/QuantConnect.Algorithm.CSharp.csproj @@ -32,7 +32,7 @@ portable - + diff --git a/Algorithm.Framework/QuantConnect.Algorithm.Framework.csproj b/Algorithm.Framework/QuantConnect.Algorithm.Framework.csproj index 2614a4e5ea8e..ef5067a50d71 100644 --- a/Algorithm.Framework/QuantConnect.Algorithm.Framework.csproj +++ b/Algorithm.Framework/QuantConnect.Algorithm.Framework.csproj @@ -29,7 +29,7 @@ LICENSE - + diff --git a/Algorithm.Python/QuantConnect.Algorithm.Python.csproj b/Algorithm.Python/QuantConnect.Algorithm.Python.csproj index 58b4f7b58cc3..b0b10f566590 100644 --- a/Algorithm.Python/QuantConnect.Algorithm.Python.csproj +++ b/Algorithm.Python/QuantConnect.Algorithm.Python.csproj @@ -37,7 +37,7 @@ - + diff --git a/Algorithm/QuantConnect.Algorithm.csproj b/Algorithm/QuantConnect.Algorithm.csproj index 0a8f0aa8d0bc..ba5c1994ac66 100644 --- a/Algorithm/QuantConnect.Algorithm.csproj +++ b/Algorithm/QuantConnect.Algorithm.csproj @@ -29,7 +29,7 @@ LICENSE - + diff --git a/AlgorithmFactory/QuantConnect.AlgorithmFactory.csproj b/AlgorithmFactory/QuantConnect.AlgorithmFactory.csproj index 1780c6c55dd1..3e8cc352b228 100644 --- a/AlgorithmFactory/QuantConnect.AlgorithmFactory.csproj +++ b/AlgorithmFactory/QuantConnect.AlgorithmFactory.csproj @@ -28,7 +28,7 @@ LICENSE - + diff --git a/Common/QuantConnect.csproj b/Common/QuantConnect.csproj index 44ddd84076b3..16d2e44dd16d 100644 --- a/Common/QuantConnect.csproj +++ b/Common/QuantConnect.csproj @@ -35,7 +35,7 @@ - + diff --git a/DockerfileLeanFoundation b/DockerfileLeanFoundation index 239589abc6c8..1de0dba9f291 100644 --- a/DockerfileLeanFoundation +++ b/DockerfileLeanFoundation @@ -411,7 +411,7 @@ RUN apt-get update && apt-get -y install libasound2 libnss3 libnspr4 && apt-get # Install dotnet sdk & runtime RUN add-apt-repository ppa:dotnet/backports && apt-get update && apt-get install -y dotnet-sdk-10.0 dotnet-sdk-9.0 && \ - apt-get clean && apt-get autoclean && apt-get autoremove --purge -y && rm -rf /var/lib/apt/lists/* && dotnet new globaljson --sdk-version 9.0.112 + apt-get clean && apt-get autoclean && apt-get autoremove --purge -y && rm -rf /var/lib/apt/lists/* # label definitions LABEL strict_python_version=3.11.11 diff --git a/DockerfileLeanFoundationARM b/DockerfileLeanFoundationARM index ef5dd0301f5c..b41afe1b29c9 100644 --- a/DockerfileLeanFoundationARM +++ b/DockerfileLeanFoundationARM @@ -268,7 +268,7 @@ ENV PATH="/root/.dotnet:${PATH}" RUN wget https://dot.net/v1/dotnet-install.sh && \ chmod 777 dotnet-install.sh && \ ./dotnet-install.sh -c 10.0 && ./dotnet-install.sh -c 9.0 && \ - rm dotnet-install.sh && dotnet new globaljson --sdk-version 9.0.308 + rm dotnet-install.sh ENV DOTNET_ROOT="/root/.dotnet" # label definitions diff --git a/Engine/QuantConnect.Lean.Engine.csproj b/Engine/QuantConnect.Lean.Engine.csproj index 3aa66c24a2b1..ec5a2398f4a1 100644 --- a/Engine/QuantConnect.Lean.Engine.csproj +++ b/Engine/QuantConnect.Lean.Engine.csproj @@ -41,7 +41,7 @@ - + diff --git a/Indicators/QuantConnect.Indicators.csproj b/Indicators/QuantConnect.Indicators.csproj index 43ae38d942a3..601541805577 100644 --- a/Indicators/QuantConnect.Indicators.csproj +++ b/Indicators/QuantConnect.Indicators.csproj @@ -31,7 +31,7 @@ - + diff --git a/Report/QuantConnect.Report.csproj b/Report/QuantConnect.Report.csproj index e726bd8c8572..097c8000a8b0 100644 --- a/Report/QuantConnect.Report.csproj +++ b/Report/QuantConnect.Report.csproj @@ -1,4 +1,4 @@ - + Debug AnyCPU @@ -39,7 +39,7 @@ LICENSE - + diff --git a/Research/QuantConnect.Research.csproj b/Research/QuantConnect.Research.csproj index a95a42d466d0..70a4fa23cdc2 100644 --- a/Research/QuantConnect.Research.csproj +++ b/Research/QuantConnect.Research.csproj @@ -1,4 +1,4 @@ - + Debug AnyCPU @@ -34,7 +34,7 @@ - + diff --git a/Tests/QuantConnect.Tests.csproj b/Tests/QuantConnect.Tests.csproj index 1d4e080ae1b4..3e6c842e9c8e 100644 --- a/Tests/QuantConnect.Tests.csproj +++ b/Tests/QuantConnect.Tests.csproj @@ -31,7 +31,7 @@ - + From 180f236b0b2baeb7f725a373641755fa6ed92a39 Mon Sep 17 00:00:00 2001 From: Martin Molinero Date: Fri, 26 Dec 2025 17:51:22 -0300 Subject: [PATCH 4/6] Remove dotnet config --- .github/workflows/api-tests.yml | 1 + .github/workflows/benchmarks.yml | 2 +- .github/workflows/gh-actions.yml | 1 + .github/workflows/regression-tests.yml | 1 + .github/workflows/report-generator.yml | 1 + .github/workflows/research-regression-tests.yml | 3 ++- .github/workflows/virtual-environments.yml | 1 + 7 files changed, 8 insertions(+), 2 deletions(-) diff --git a/.github/workflows/api-tests.yml b/.github/workflows/api-tests.yml index 895069f8d209..cd55608a6c72 100644 --- a/.github/workflows/api-tests.yml +++ b/.github/workflows/api-tests.yml @@ -29,6 +29,7 @@ jobs: options: --workdir /__w/Lean/Lean -v /home/runner/work:/__w -e GITHUB_REF=${{ github.ref }} -e QC_JOB_USER_ID=${{ secrets.QC_JOB_USER_ID }} -e QC_API_ACCESS_TOKEN=${{ secrets.QC_API_ACCESS_TOKEN }} -e QC_JOB_ORGANIZATION_ID=${{ secrets.QC_JOB_ORGANIZATION_ID }} shell: bash run: | + rm -rf /global.json # Build dotnet build /p:Configuration=Release /v:quiet /p:WarningLevel=1 QuantConnect.Lean.sln # Run Projects tests diff --git a/.github/workflows/benchmarks.yml b/.github/workflows/benchmarks.yml index cee7822068f0..4981e51d266f 100644 --- a/.github/workflows/benchmarks.yml +++ b/.github/workflows/benchmarks.yml @@ -24,7 +24,7 @@ jobs: path: LeanMaster ref: 'master' - name: Build Lean Master - run: dotnet build --verbosity q /p:Configuration=Release /p:WarningLevel=1 LeanMaster/QuantConnect.Lean.sln + run: rm -rf /global.json && dotnet build --verbosity q /p:Configuration=Release /p:WarningLevel=1 LeanMaster/QuantConnect.Lean.sln - name: Run Benchmarks Master run: cp run_benchmarks.py LeanMaster/run_benchmarks.py && cd LeanMaster && python run_benchmarks.py /Data && cd ../ diff --git a/.github/workflows/gh-actions.yml b/.github/workflows/gh-actions.yml index 444c1eacd9c5..5e431485c845 100644 --- a/.github/workflows/gh-actions.yml +++ b/.github/workflows/gh-actions.yml @@ -30,6 +30,7 @@ jobs: options: --workdir /__w/Lean/Lean -v /home/runner/work:/__w -e GITHUB_REF=${{ github.ref }} -e PYPI_API_TOKEN=${{ secrets.PYPI_API_TOKEN }} -e ADDITIONAL_STUBS_REPOS=${{ secrets.ADDITIONAL_STUBS_REPOS }} -e QC_GIT_TOKEN=${{ secrets.QC_GIT_TOKEN }} shell: bash run: | + rm -rf /global.json # Add exception git config --global --add safe.directory /__w/Lean/Lean # Get Last Commit of the Current Tag diff --git a/.github/workflows/regression-tests.yml b/.github/workflows/regression-tests.yml index 130e72ccd2e9..009bb72c2534 100644 --- a/.github/workflows/regression-tests.yml +++ b/.github/workflows/regression-tests.yml @@ -27,6 +27,7 @@ jobs: options: --workdir /__w/Lean/Lean -v /home/runner/work:/__w shell: bash run: | + rm -rf /global.json # Build dotnet build /p:Configuration=Release /v:quiet /p:WarningLevel=1 QuantConnect.Lean.sln # Run Tests diff --git a/.github/workflows/report-generator.yml b/.github/workflows/report-generator.yml index 718693575cf1..13c65dbcd69f 100644 --- a/.github/workflows/report-generator.yml +++ b/.github/workflows/report-generator.yml @@ -27,6 +27,7 @@ jobs: options: --workdir /__w/Lean/Lean -v /home/runner/work:/__w shell: bash run: | + rm -rf /global.json # Build dotnet build /p:Configuration=Release /v:quiet /p:WarningLevel=1 QuantConnect.Lean.sln # Run Backtest diff --git a/.github/workflows/research-regression-tests.yml b/.github/workflows/research-regression-tests.yml index 5f855ceee9e6..3b070176e652 100644 --- a/.github/workflows/research-regression-tests.yml +++ b/.github/workflows/research-regression-tests.yml @@ -27,10 +27,11 @@ jobs: options: --workdir /__w/Lean/Lean -v /home/runner/work:/__w shell: bash run: | + rm -rf /global.json # install dependencies pip3 install papermill==2.4.0 clr-loader==0.1.6 # install kernel - dotnet tool install --global Microsoft.dotnet-interactive --version 1.0.661703 + dotnet tool install -g --no-cache --version 1.0.661703 --add-source "https://pkgs.dev.azure.com/dnceng/public/_packaging/dotnet-tools/nuget/v3/index.json" Microsoft.dotnet-interactive # Add dotnet tools to Path export PATH="$HOME/.dotnet/tools:$PATH" # activate kernel for jupyter diff --git a/.github/workflows/virtual-environments.yml b/.github/workflows/virtual-environments.yml index 9b1c94451dab..8bdcfb3d8356 100644 --- a/.github/workflows/virtual-environments.yml +++ b/.github/workflows/virtual-environments.yml @@ -27,6 +27,7 @@ jobs: options: --workdir /__w/Lean/Lean -v /home/runner/work:/__w shell: bash run: | + rm -rf /global.json # Build dotnet build /p:Configuration=Release /v:quiet /p:WarningLevel=1 QuantConnect.Lean.sln && \ # Python Virtual Environment System Packages From c90883db8d3325c577a9088076578d6295d1da6a Mon Sep 17 00:00:00 2001 From: Martin Molinero Date: Fri, 26 Dec 2025 19:03:24 -0300 Subject: [PATCH 5/6] Remove net9 --- DockerfileLeanFoundation | 2 +- DockerfileLeanFoundationARM | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/DockerfileLeanFoundation b/DockerfileLeanFoundation index 1de0dba9f291..64c6209db3cf 100644 --- a/DockerfileLeanFoundation +++ b/DockerfileLeanFoundation @@ -410,7 +410,7 @@ RUN apt-get update && apt-get -y install libasound2 libnss3 libnspr4 && apt-get rm ibgateway-latest-standalone-linux-x64.v10.39.1f.sh # Install dotnet sdk & runtime -RUN add-apt-repository ppa:dotnet/backports && apt-get update && apt-get install -y dotnet-sdk-10.0 dotnet-sdk-9.0 && \ +RUN add-apt-repository ppa:dotnet/backports && apt-get update && apt-get install -y dotnet-sdk-10.0 && \ apt-get clean && apt-get autoclean && apt-get autoremove --purge -y && rm -rf /var/lib/apt/lists/* # label definitions diff --git a/DockerfileLeanFoundationARM b/DockerfileLeanFoundationARM index b41afe1b29c9..2ed78793e2dc 100644 --- a/DockerfileLeanFoundationARM +++ b/DockerfileLeanFoundationARM @@ -267,7 +267,7 @@ RUN wget -q https://cdn.quantconnect.com/fonts/foundation.zip && unzip -q founda ENV PATH="/root/.dotnet:${PATH}" RUN wget https://dot.net/v1/dotnet-install.sh && \ chmod 777 dotnet-install.sh && \ - ./dotnet-install.sh -c 10.0 && ./dotnet-install.sh -c 9.0 && \ + ./dotnet-install.sh -c 10.0 && \ rm dotnet-install.sh ENV DOTNET_ROOT="/root/.dotnet" From 5f8b903847a71dee630139588e2c76f351f1c9fc Mon Sep 17 00:00:00 2001 From: Martin Molinero Date: Mon, 29 Dec 2025 09:53:10 -0300 Subject: [PATCH 6/6] Minor cleanup --- .github/workflows/api-tests.yml | 1 - .github/workflows/benchmarks.yml | 2 +- .github/workflows/gh-actions.yml | 1 - .github/workflows/regression-tests.yml | 1 - .github/workflows/report-generator.yml | 1 - .github/workflows/research-regression-tests.yml | 1 - .github/workflows/virtual-environments.yml | 1 - 7 files changed, 1 insertion(+), 7 deletions(-) diff --git a/.github/workflows/api-tests.yml b/.github/workflows/api-tests.yml index cd55608a6c72..895069f8d209 100644 --- a/.github/workflows/api-tests.yml +++ b/.github/workflows/api-tests.yml @@ -29,7 +29,6 @@ jobs: options: --workdir /__w/Lean/Lean -v /home/runner/work:/__w -e GITHUB_REF=${{ github.ref }} -e QC_JOB_USER_ID=${{ secrets.QC_JOB_USER_ID }} -e QC_API_ACCESS_TOKEN=${{ secrets.QC_API_ACCESS_TOKEN }} -e QC_JOB_ORGANIZATION_ID=${{ secrets.QC_JOB_ORGANIZATION_ID }} shell: bash run: | - rm -rf /global.json # Build dotnet build /p:Configuration=Release /v:quiet /p:WarningLevel=1 QuantConnect.Lean.sln # Run Projects tests diff --git a/.github/workflows/benchmarks.yml b/.github/workflows/benchmarks.yml index 4981e51d266f..cee7822068f0 100644 --- a/.github/workflows/benchmarks.yml +++ b/.github/workflows/benchmarks.yml @@ -24,7 +24,7 @@ jobs: path: LeanMaster ref: 'master' - name: Build Lean Master - run: rm -rf /global.json && dotnet build --verbosity q /p:Configuration=Release /p:WarningLevel=1 LeanMaster/QuantConnect.Lean.sln + run: dotnet build --verbosity q /p:Configuration=Release /p:WarningLevel=1 LeanMaster/QuantConnect.Lean.sln - name: Run Benchmarks Master run: cp run_benchmarks.py LeanMaster/run_benchmarks.py && cd LeanMaster && python run_benchmarks.py /Data && cd ../ diff --git a/.github/workflows/gh-actions.yml b/.github/workflows/gh-actions.yml index 5e431485c845..444c1eacd9c5 100644 --- a/.github/workflows/gh-actions.yml +++ b/.github/workflows/gh-actions.yml @@ -30,7 +30,6 @@ jobs: options: --workdir /__w/Lean/Lean -v /home/runner/work:/__w -e GITHUB_REF=${{ github.ref }} -e PYPI_API_TOKEN=${{ secrets.PYPI_API_TOKEN }} -e ADDITIONAL_STUBS_REPOS=${{ secrets.ADDITIONAL_STUBS_REPOS }} -e QC_GIT_TOKEN=${{ secrets.QC_GIT_TOKEN }} shell: bash run: | - rm -rf /global.json # Add exception git config --global --add safe.directory /__w/Lean/Lean # Get Last Commit of the Current Tag diff --git a/.github/workflows/regression-tests.yml b/.github/workflows/regression-tests.yml index 009bb72c2534..130e72ccd2e9 100644 --- a/.github/workflows/regression-tests.yml +++ b/.github/workflows/regression-tests.yml @@ -27,7 +27,6 @@ jobs: options: --workdir /__w/Lean/Lean -v /home/runner/work:/__w shell: bash run: | - rm -rf /global.json # Build dotnet build /p:Configuration=Release /v:quiet /p:WarningLevel=1 QuantConnect.Lean.sln # Run Tests diff --git a/.github/workflows/report-generator.yml b/.github/workflows/report-generator.yml index 13c65dbcd69f..718693575cf1 100644 --- a/.github/workflows/report-generator.yml +++ b/.github/workflows/report-generator.yml @@ -27,7 +27,6 @@ jobs: options: --workdir /__w/Lean/Lean -v /home/runner/work:/__w shell: bash run: | - rm -rf /global.json # Build dotnet build /p:Configuration=Release /v:quiet /p:WarningLevel=1 QuantConnect.Lean.sln # Run Backtest diff --git a/.github/workflows/research-regression-tests.yml b/.github/workflows/research-regression-tests.yml index 3b070176e652..e29da3dc1e1c 100644 --- a/.github/workflows/research-regression-tests.yml +++ b/.github/workflows/research-regression-tests.yml @@ -27,7 +27,6 @@ jobs: options: --workdir /__w/Lean/Lean -v /home/runner/work:/__w shell: bash run: | - rm -rf /global.json # install dependencies pip3 install papermill==2.4.0 clr-loader==0.1.6 # install kernel diff --git a/.github/workflows/virtual-environments.yml b/.github/workflows/virtual-environments.yml index 8bdcfb3d8356..9b1c94451dab 100644 --- a/.github/workflows/virtual-environments.yml +++ b/.github/workflows/virtual-environments.yml @@ -27,7 +27,6 @@ jobs: options: --workdir /__w/Lean/Lean -v /home/runner/work:/__w shell: bash run: | - rm -rf /global.json # Build dotnet build /p:Configuration=Release /v:quiet /p:WarningLevel=1 QuantConnect.Lean.sln && \ # Python Virtual Environment System Packages