Skip to content

Conversation

@robtaylor
Copy link
Contributor

Summary

  • Move PACKAGE_DEFINITIONS from chipflow/platforms/_packages.py to chipflow/packages.py
  • Move _json_compare.py from chipflow/steps/ to chipflow/common/
  • Remove chipflow/platforms/ directory (shims that re-exported from chipflow.platform)
  • Remove chipflow/steps/ directory (shims that re-exported from chipflow.platform)
  • Remove chipflow/config.py and chipflow/config_models.py shims
  • Update chipflow_lib/ backward compat shims to import from chipflow.platform directly
  • Update all internal imports to use chipflow.config instead of chipflow.config_models
  • Update all internal imports to use chipflow.platform instead of chipflow.platforms
  • Update tests and docs to use new import paths

The backward compatibility shims for the old chipflow_lib package name are now only in the chipflow_lib/ directory, making the chipflow package cleaner with no internal shim redirects.

Test plan

  • All existing tests pass (pdm test)
  • Linting passes (pdm lint)
  • Type checking passes (pdm run pyright chipflow)

🤖 Generated with Claude Code

- Move PACKAGE_DEFINITIONS from chipflow/platforms/_packages.py to chipflow/packages.py
- Move _json_compare.py from chipflow/steps/ to chipflow/common/
- Remove chipflow/platforms/ directory (shims that re-exported from chipflow.platform)
- Remove chipflow/steps/ directory (shims that re-exported from chipflow.platform)
- Remove chipflow/config.py and chipflow/config_models.py shims
- Update chipflow_lib/ backward compat shims to import from chipflow.platform directly
- Update all internal imports to use chipflow.config instead of chipflow.config_models
- Update all internal imports to use chipflow.platform instead of chipflow.platforms
- Update tests and docs to use new import paths

The backward compatibility shims for the old chipflow_lib package name are now
only in the chipflow_lib/ directory, making the chipflow package cleaner with
no internal shim redirects.

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
@github-actions
Copy link

github-actions bot commented Dec 17, 2025

Tests Skipped Failures Errors Time
68 4 💤 0 ❌ 0 🔥 24.512s ⏱️

@github-actions
Copy link

github-actions bot commented Dec 17, 2025

PR Preview Action v1.6.3
Preview removed because the pull request was closed.
2025-12-17 01:37 UTC

robtaylor and others added 4 commits December 17, 2025 01:08
- Add chipflow/common/__init__.py to make it a proper Python package
- Update platform-api.rst to use autoapi toctree with quick links

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
Update the default step references in cli.py to use the new
chipflow.platform module paths instead of the removed chipflow.steps paths.

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
- Enable autoapi.extension in Sphinx config
- Configure autoapi settings matching chipflow-docs
- Update platform-api.rst to link to autoapi-generated index
- Add suppress_warnings for expected warnings from re-exports
- Add docs/chipflow-lib to .gitignore for generated autoapi files

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
- Update Python requirement from >=3.11 to >=3.12
- Update sphinx-autoapi to >=3.6.1 to fix "Unable to read file" bug

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
@robtaylor robtaylor merged commit 5b60fa8 into main Dec 17, 2025
6 checks passed
@robtaylor robtaylor deleted the consolidate-backward-compat-shims branch December 17, 2025 01:35
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.

2 participants