Skip to content

Separate files in pythonFiles by task #4609

@brettcannon

Description

@brettcannon

When debugging, the whole of pythonFiles is put on to sys.path via PYTHONPATH. This led to an issue requiring a hotfix due to the tests package accidentally being shipped in the .vsix. Unfortunately this will continue to be a problem for any code placed in that directory.

To help minimize future clashes with user code during debugging, it would be best to separate all code in that directory into thematic directories to minimize the chance of shadowing user's code. This is somewhat already done when dependencies are installed into pythonFiles/lib/python instead of into pythonFiles directly.

Metadata

Metadata

Assignees

No one assigned

    Labels

    area-internalLabel for non-user facing issuesdebtCovers everything internal: CI, testing, refactoring of the codebase, etc.needs spikeLabel for issues that need investigation before they can be worked on.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions