Skip to content

Fix pyproject.toml metadata and remove .NET build artifacts (global.json, .editorconfig) #8

Description

@daviburg

Problem

Several build/packaging configuration files are .NET artifacts that don't belong in a Python project, and pyproject.toml has placeholder values blocking PyPI publication.

Files that need fixing

File Problem
src/pyproject.toml Project name is <TBD>, Documentation and Repository URLs empty
global.json Pins .NET SDK 8.0.100 — irrelevant for Python project
.editorconfig Configured for C# ([*.cs] sections, Allman braces, this. qualification rules)
.github/instructions/connector-table.instructions.md References Generated/*Extensions.cs (C# file patterns)

What needs to change

src/pyproject.toml — Complete metadata

` oml
[project]
name = "azure-connectors-sdk" # Was:

...

[project.urls]
Documentation = "https://github.com/Azure/connectors-python-sdk"
Repository = "https://github.com/Azure/connectors-python-sdk"
`

Also verify:

  • [tool.setuptools] packages value captures all subpackages (azure, azure.connectors, azure.connectors.sdk)
  • py.typed marker is included for PEP 561 typed package support
  • Build backend (setuptools) is appropriate vs. alternatives (hatchling, flit)

global.json — Delete

This file locks .NET SDK version 8.0.100 and has no effect on Python tooling.

.editorconfig — Replace with Python rules

Replace C#-specific sections with Python equivalents:

`ini
[*.py]
indent_style = space
indent_size = 4
max_line_length = 120
charset = utf-8
trim_trailing_whitespace = true
insert_final_newline = true

[*.{json,yaml,yml,toml}]
indent_style = space
indent_size = 2
`

Remove all [*.cs], [*.csproj], [*.sln] sections.

.github/instructions/connector-table.instructions.md — Update for Python

Replace Generated/*Extensions.cs references with Python generated client file patterns.

Acceptance criteria

  • pyproject.toml has real package name (e.g., azure-connectors-sdk), filled URLs
  • global.json deleted
  • .editorconfig has Python rules, no C# sections
  • connector-table.instructions.md references Python files
  • python -m build succeeds from src/ directory

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions