diff --git a/playground/AspireWithPython/AspireWithPython.AppHost/AppHost.cs b/playground/AspireWithPython/AspireWithPython.AppHost/AppHost.cs index a9dbb524a2c..15d755d9b2e 100644 --- a/playground/AspireWithPython/AspireWithPython.AppHost/AppHost.cs +++ b/playground/AspireWithPython/AspireWithPython.AppHost/AppHost.cs @@ -1,6 +1,4 @@ -#pragma warning disable ASPIREHOSTINGPYTHON001 // Type is for evaluation purposes only and is subject to change or removal in future updates. Suppress this diagnostic to proceed. - -using Microsoft.Extensions.Hosting; +using Microsoft.Extensions.Hosting; var builder = DistributedApplication.CreateBuilder(args); diff --git a/playground/python/Python.AppHost/Program.cs b/playground/python/Python.AppHost/Program.cs index 8154d2c4fff..7169292eeb8 100644 --- a/playground/python/Python.AppHost/Program.cs +++ b/playground/python/Python.AppHost/Program.cs @@ -1,8 +1,6 @@ // Licensed to the .NET Foundation under one or more agreements. // The .NET Foundation licenses this file to you under the MIT license. -#pragma warning disable ASPIREHOSTINGPYTHON001 // Test for experimental feature - var builder = DistributedApplication.CreateBuilder(args); builder.AddPythonScript("script-only", "../script_only", "main.py"); diff --git a/src/Aspire.Hosting.Python/AssemblyInfo.cs b/src/Aspire.Hosting.Python/AssemblyInfo.cs deleted file mode 100644 index 1b48c1df603..00000000000 --- a/src/Aspire.Hosting.Python/AssemblyInfo.cs +++ /dev/null @@ -1,14 +0,0 @@ -// Licensed to the .NET Foundation under one or more agreements. -// The .NET Foundation licenses this file to you under the MIT license. - -using System.Diagnostics.CodeAnalysis; - -// This assembly provides Python hosting capabilities for .NET Aspire applications and is currently -// marked as experimental (ASPIREHOSTINGPYTHON001). APIs in this assembly may change in future releases -// as the Python integration matures. -// -// To suppress warnings about using experimental APIs from this assembly, add the following to your project file: -// $(NoWarn);ASPIREHOSTINGPYTHON001 -// -// For more information about this experimental feature, visit: https://aka.ms/aspire/diagnostics/ASPIREHOSTINGPYTHON001 -[assembly: Experimental("ASPIREHOSTINGPYTHON001", UrlFormat = "https://aka.ms/aspire/diagnostics/{0}")] diff --git a/src/Aspire.Hosting.Python/PythonAppResourceBuilderExtensions.cs b/src/Aspire.Hosting.Python/PythonAppResourceBuilderExtensions.cs index 614b3ce7787..5e20df775b0 100644 --- a/src/Aspire.Hosting.Python/PythonAppResourceBuilderExtensions.cs +++ b/src/Aspire.Hosting.Python/PythonAppResourceBuilderExtensions.cs @@ -11,7 +11,10 @@ using Microsoft.Extensions.DependencyInjection; using Microsoft.Extensions.Logging; +#pragma warning disable ASPIREDOCKERFILEBUILDER001 // Type is for evaluation purposes only and is subject to change or removal in future updates. Suppress this diagnostic to proceed. #pragma warning disable ASPIREEXTENSION001 +#pragma warning disable ASPIREPIPELINES001 // Type is for evaluation purposes only and is subject to change or removal in future updates. Suppress this diagnostic to proceed. +#pragma warning disable ASPIREPUBLISHERS001 // Type is for evaluation purposes only and is subject to change or removal in future updates. Suppress this diagnostic to proceed. namespace Aspire.Hosting; diff --git a/src/Aspire.ProjectTemplates/templates/aspire-py-starter/13.0/apphost.cs b/src/Aspire.ProjectTemplates/templates/aspire-py-starter/13.0/apphost.cs index 8e3ebc4de1c..6406b4e17c6 100644 --- a/src/Aspire.ProjectTemplates/templates/aspire-py-starter/13.0/apphost.cs +++ b/src/Aspire.ProjectTemplates/templates/aspire-py-starter/13.0/apphost.cs @@ -5,8 +5,6 @@ #:package Aspire.Hosting.Redis@!!REPLACE_WITH_LATEST_VERSION!! #endif -#pragma warning disable ASPIREHOSTINGPYTHON001 - var builder = DistributedApplication.CreateBuilder(args); #if UseRedisCache diff --git a/tests/Aspire.Hosting.Docker.Tests/Aspire.Hosting.Docker.Tests.csproj b/tests/Aspire.Hosting.Docker.Tests/Aspire.Hosting.Docker.Tests.csproj index 9463539c23f..87769cd3018 100644 --- a/tests/Aspire.Hosting.Docker.Tests/Aspire.Hosting.Docker.Tests.csproj +++ b/tests/Aspire.Hosting.Docker.Tests/Aspire.Hosting.Docker.Tests.csproj @@ -2,7 +2,6 @@ $(DefaultTargetFramework) - $(NoWarn);ASPIREHOSTINGPYTHON001;