Skip to content

Add Python adapter RFC#1643

Open
ThomasNieto wants to merge 1 commit into
PowerShell:mainfrom
ThomasNieto:add-python-rfc
Open

Add Python adapter RFC#1643
ThomasNieto wants to merge 1 commit into
PowerShell:mainfrom
ThomasNieto:add-python-rfc

Conversation

@ThomasNieto

Copy link
Copy Markdown
Collaborator

PR Summary

Add Python adapter RFC

PR Context

RFC for #586

Copilot AI review requested due to automatic review settings July 23, 2026 16:56

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Adds a new draft RFC proposing a Python adapter (Microsoft.Adapter/Python) and associated SDK/discovery components to enable authoring DSC v3 resources in idiomatic Python.

Changes:

  • Introduces RFC 0001 draft describing the Python adapter design, SDK API surface, and discovery/invocation model.
  • Specifies proposed manifest formats, stdin/stdout contracts, logging expectations, and multi-runtime/venv behavior.

@@ -0,0 +1,486 @@
---
RFC: 0001
@@ -0,0 +1,486 @@
---
RFC: 0001
Author: ThomasNieto
Author: ThomasNieto
Sponsor: null
Status: Draft
SupercededBy: null
SupercededBy: null
Version: 1.0
Area: Adapter
CommentsDue: null
- If no manifests found, run the adapter's `list` command in a subprocess with that VENV activated
- Collect all discovered resources and tag them with the source VENV path
4. If no VENVs specified, scan system site-packages using the same process
5. Deduplicate resources by type and version; last VENV wins (priority order respects list order)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

Status: Todo PRs

Development

Successfully merging this pull request may close these issues.

3 participants