Skip to content

Rename package to strands-harness-optimizer#5

Merged
Teq2412 merged 1 commit into
strands-labs:mainfrom
cagataycali:rename-to-strands-harness-optimizer
Jun 8, 2026
Merged

Rename package to strands-harness-optimizer#5
Teq2412 merged 1 commit into
strands-labs:mainfrom
cagataycali:rename-to-strands-harness-optimizer

Conversation

@cagataycali

@cagataycali cagataycali commented Jun 8, 2026

Copy link
Copy Markdown
Member

Why

The PyPI name harness-optimizer was taken (see https://pypi.org/project/harness-optimizer/#history). This PR renames the project and import package to strands-harness-optimizer / strands_harness_optimizer so we can publish safely under the strands namespace.

Changes

  • Rename package dir harness_optimizer/strands_harness_optimizer/
  • Update all imports across source, docs, examples, and tests
  • Fix pyproject.toml packaging paths: name, packages, version-file, sdist includes, and lint/format scripts (corrected a strands_strands_harness_optimizer double-prefix typo)

Verification

Tested in a clean venv with pip install -e .:

  • 📦 Builds as strands_harness_optimizer-0.1.1.dev0, _version.py auto-generated via hatch-vcs
  • ✅ All 32 submodules import cleanly
  • ✅ README public API (SystemPromptFormula, apply_formulas_on_strands_agent) works
  • ✅ Legacy compat shim (strands_harness_optimizer.processors) works + emits deprecation warning
  • ✅ Wheel bundles all 5 .jinja templates + _version.py
  • 39 tests pass (4 integration deselected)

The PyPI name 'harness-optimizer' was taken, so rename the project and
import package to 'strands-harness-optimizer' / 'strands_harness_optimizer'.

- Rename package dir harness_optimizer/ -> strands_harness_optimizer/
- Update all imports, docs, examples, and tests
- Fix pyproject.toml packaging paths (name, packages, version-file, scripts)

Verified: clean-venv editable install builds, all 32 submodules import,
README public API + legacy compat shim work, wheel bundles jinja templates,
39 tests pass.
@cagataycali cagataycali force-pushed the rename-to-strands-harness-optimizer branch from a4a4e5d to e6bc539 Compare June 8, 2026 18:22
@Teq2412 Teq2412 requested review from Teq2412 and jnzs1836 June 8, 2026 18:27
@Teq2412 Teq2412 merged commit 694cc99 into strands-labs:main Jun 8, 2026
2 of 3 checks passed
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.

3 participants