Add WithPip following Node.js patterns and rename AddPythonScript to AddPythonApp - #12667
Build Linux failed
Annotations
Check failure on line 6 in playground/python/Python.AppHost/Program.cs
azure-pipelines / dotnet.aspire (Build Linux)
playground/python/Python.AppHost/Program.cs#L6
playground/python/Python.AppHost/Program.cs(6,1): error CS0618: (NETCORE_ENGINEERING_TELEMETRY=Build) 'PythonAppResourceBuilderExtensions.AddPythonScript(IDistributedApplicationBuilder, string, string, string)' is obsolete: 'Use AddPythonApp, AddPythonModule, or AddPythonExecutable instead for more explicit control over how the Python application is executed.'
Check failure on line 7 in playground/python/Python.AppHost/Program.cs
azure-pipelines / dotnet.aspire (Build Linux)
playground/python/Python.AppHost/Program.cs#L7
playground/python/Python.AppHost/Program.cs(7,1): error CS0618: (NETCORE_ENGINEERING_TELEMETRY=Build) 'PythonAppResourceBuilderExtensions.AddPythonScript(IDistributedApplicationBuilder, string, string, string)' is obsolete: 'Use AddPythonApp, AddPythonModule, or AddPythonExecutable instead for more explicit control over how the Python application is executed.'
Check failure on line 233 in tests/Aspire.Hosting.Python.Tests/AddPythonAppTests.cs
azure-pipelines / dotnet.aspire (Build Linux)
tests/Aspire.Hosting.Python.Tests/AddPythonAppTests.cs#L233
tests/Aspire.Hosting.Python.Tests/AddPythonAppTests.cs(233,9): error CS0618: (NETCORE_ENGINEERING_TELEMETRY=Build) 'PythonAppResourceBuilderExtensions.AddPythonScript(IDistributedApplicationBuilder, string, string, string)' is obsolete: 'Use AddPythonApp, AddPythonModule, or AddPythonExecutable instead for more explicit control over how the Python application is executed.'
Check failure on line 397 in tests/Aspire.Hosting.Python.Tests/AddPythonAppTests.cs
azure-pipelines / dotnet.aspire (Build Linux)
tests/Aspire.Hosting.Python.Tests/AddPythonAppTests.cs#L397
tests/Aspire.Hosting.Python.Tests/AddPythonAppTests.cs(397,13): error CS0618: (NETCORE_ENGINEERING_TELEMETRY=Build) 'PythonAppResourceBuilderExtensions.AddPythonScript(IDistributedApplicationBuilder, string, string, string)' is obsolete: 'Use AddPythonApp, AddPythonModule, or AddPythonExecutable instead for more explicit control over how the Python application is executed.'
Check failure on line 410 in tests/Aspire.Hosting.Python.Tests/AddPythonAppTests.cs
azure-pipelines / dotnet.aspire (Build Linux)
tests/Aspire.Hosting.Python.Tests/AddPythonAppTests.cs#L410
tests/Aspire.Hosting.Python.Tests/AddPythonAppTests.cs(410,9): error CS0618: (NETCORE_ENGINEERING_TELEMETRY=Build) 'PythonAppResourceBuilderExtensions.AddPythonScript(IDistributedApplicationBuilder, string, string, string)' is obsolete: 'Use AddPythonApp, AddPythonModule, or AddPythonExecutable instead for more explicit control over how the Python application is executed.'