Skip to content

fix(packaging): update setup.cfg headers and dependency formatting#10491

Open
imohitpatel wants to merge 2 commits into
aws:developfrom
imohitpatel:fix/setup-cfg-syntax
Open

fix(packaging): update setup.cfg headers and dependency formatting#10491
imohitpatel wants to merge 2 commits into
aws:developfrom
imohitpatel:fix/setup-cfg-syntax

Conversation

@imohitpatel

Copy link
Copy Markdown

This PR addresses minor syntax errors, formatting inconsistencies, and deprecated headers within setup.cfg to ensure standard packaging tools can parse the metadata without issues.

Changes Made

  1. Removed Hidden Characters: Cleaned up invisible Unicode non-breaking spaces (\xa0) under requires_dist and ignore keys which could potentially crash strict configuration parsers (such as python's standard configparser).
  2. Standardized Dependency Key: Moved the dependency requirements to the standard install_requires under the [options] section, replacing the non-standard requires_dist key under [metadata].
  3. Updated Deprecated Header: Replaced the deprecated [wheel] section header with the modern standard [bdist_wheel].

Verification

Checked with standard build tools to verify the config syntax is now clean and valid:

  • The file now contains clean spaces for indentation.
  • Deprecations have been corrected to align with modern Python packaging guidelines.

@imohitpatel
imohitpatel requested a review from a team as a code owner July 16, 2026 12:31
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant