Skip to content

fix: retain setup.py metadata for modern builds - #129

Open
Shubham-Padkonde wants to merge 1 commit into
reddit:developfrom
Shubham-Padkonde:fix/incomplete-project-metadata
Open

Shubham-Padkonde wants to merge 1 commit into
reddit:developfrom
Shubham-Padkonde:fix/incomplete-project-metadata

Conversation

@Shubham-Padkonde

Copy link
Copy Markdown

Modern build tools reject the partial [project] table because it declares only a dynamic version and omits the required name. Both python -m build --no-isolation and an editable installation fail before package creation.

Remove the incomplete table so package metadata continues to come from setup.py, including use_scm_version=True. Retain the setuptools-scm configuration.

Validation: reproduced the missing-name error using setuptools 84.0.0 and uv. With the change, the source archive and wheel build successfully, and editable installation succeeds. Inspected wheel metadata to verify the package name, SCM-derived version, Python requirement, all five dependency entries, and inclusion of the reddit_decider package. git diff --check passes. Runtime tests were not run for this packaging-only change.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Development

Successfully merging this pull request may close these issues.

1 participant