Skip to content

feat: PyPI packaging + publish workflow + platform design doc#56

Merged
hummbl-dev merged 1 commit intomainfrom
feat/claude/pypi-package
Apr 19, 2026
Merged

feat: PyPI packaging + publish workflow + platform design doc#56
hummbl-dev merged 1 commit intomainfrom
feat/claude/pypi-package

Conversation

@hummbl-dev
Copy link
Copy Markdown
Owner

Summary

  • PyPI-ready packaging: arbiter-score v0.6.0 with full metadata
  • Publish workflow: builds on release, publishes via trusted publishing
  • MANIFEST.in for sdist completeness
  • Platform design doc: Cloud API, GitHub App, Dashboard specs

After merge

To publish: create a GitHub release → publish workflow runs automatically.
Requires PyPI trusted publisher setup: https://docs.pypi.org/trusted-publishers/

Test plan

  • Package imports correctly
  • CLI entry point works
  • YAML validates

🤖 Generated with Claude Code

@hummbl-dev hummbl-dev force-pushed the feat/claude/pypi-package branch from 9b0b7c4 to b04ed8b Compare April 19, 2026 03:00
- Update pyproject.toml: name=arbiter-score, version=0.6.0, full
  metadata (URLs, keywords, classifiers, Python 3.14)
- Add MANIFEST.in for sdist
- Add publish.yml GitHub Action (trusted publishing to PyPI)
- Add docs/PLATFORM_DESIGN.md with specs for Cloud API, GitHub App,
  and Dashboard (requires human infra setup)

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
@hummbl-dev hummbl-dev force-pushed the feat/claude/pypi-package branch from b04ed8b to ee6f454 Compare April 19, 2026 03:01
@hummbl-dev hummbl-dev merged commit ffe086d into main Apr 19, 2026
3 checks passed
@hummbl-dev hummbl-dev deleted the feat/claude/pypi-package branch April 19, 2026 03:02
Copy link
Copy Markdown

@chatgpt-codex-connector chatgpt-codex-connector Bot left a comment

Choose a reason for hiding this comment

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

💡 Codex Review

Here are some automated review suggestions for this pull request.

Reviewed commit: 9b0b7c4bd8

ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".

Comment thread pyproject.toml Outdated
"Development Status :: 3 - Alpha",
"Development Status :: 4 - Beta",
"Intended Audience :: Developers",
"License :: OSI Approved :: MIT License",
Copy link
Copy Markdown

Choose a reason for hiding this comment

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

P1 Badge Drop license classifier when license expression is set

pyproject.toml already sets license = "MIT", which setuptools interprets as an SPDX license expression; adding a License :: ... classifier alongside that now triggers InvalidConfigError during metadata generation in current setuptools releases, so python -m build fails before producing artifacts. This blocks the new publish workflow from building the package.

Useful? React with 👍 / 👎.

Comment on lines +8 to +9
permissions:
id-token: write # Required for trusted publishing
Copy link
Copy Markdown

Choose a reason for hiding this comment

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

P2 Badge Add contents:read to workflow permissions for checkout

The workflow-level permissions block only grants id-token: write; when permissions are explicitly set, unspecified scopes are removed, so actions/checkout@v4 in the build job may not be able to read repository contents via GITHUB_TOKEN. In that configuration, release publishing can fail before the package is built.

Useful? React with 👍 / 👎.

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