Skip to content

.venv created even if there's no py file #12856

@davidfowl

Description

@davidfowl

The venv creation happens even if there's no python file (e.g it will fail)

#:package Aspire.Hosting.Python@13.1.0-*
#:package Aspire.Hosting.JavaScript@13.1.0-*
#:sdk Aspire.AppHost.Sdk@13.1.0-*

var builder = DistributedApplication.CreateBuilder(args);

builder.AddPythonApp("job1", ".", "app.py");

builder.Build().Run();

You don't need an app.py, but a venv will be created.

Metadata

Metadata

Assignees

No one assigned

    Labels

    area-integrationsIssues pertaining to Aspire Integrations packagespython

    Type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions