|
@@ -5,6 +5,9 @@ Format inspired by [Keep a Changelog](https://keepachangelog.com/en/1.1.0/).
|
|
|
|
|
|
|
|
## [Unreleased]
|
|
## [Unreleased]
|
|
|
|
|
|
|
|
|
|
+### Changed (structural)
|
|
|
|
|
+- **Migrated from flat layout to src-layout** (PyPA recommended). All package code now lives under `src/lambdagent/` instead of at the repo root. Public API and import paths are 100% unchanged — every `from lambdagent.X import Y` keeps working identically. This removes three previous workarounds (`conftest.py collect_ignore`, `tool.setuptools.package-dir`, explicit `packages = [...]` list) and eliminates the fragility where the repo's parent-directory name could break pytest. The `--import-mode=importlib` pytest workaround is also no longer needed.
|
|
|
|
|
+
|
|
|
### Fixed
|
|
### Fixed
|
|
|
- **`pip install -e .` is now unblocked.** `pyproject.toml::project.license` migrated from the deprecated `{text = "BUSL-1.1"}` dict form to the SPDX string form (`"BUSL-1.1"`) required by setuptools ≥ 77.
|
|
- **`pip install -e .` is now unblocked.** `pyproject.toml::project.license` migrated from the deprecated `{text = "BUSL-1.1"}` dict form to the SPDX string form (`"BUSL-1.1"`) required by setuptools ≥ 77.
|
|
|
- **Stop shadowing stdlib `types` and `trace`.** Renamed top-level `types.py → lam_types.py` and `trace.py → tracing.py`. All public symbols (`LamType`, `T_STR`, `TraceStore`, …) are re-exported unchanged from `lambdagent`; only direct sub-module imports need updating.
|
|
- **Stop shadowing stdlib `types` and `trace`.** Renamed top-level `types.py → lam_types.py` and `trace.py → tracing.py`. All public symbols (`LamType`, `T_STR`, `TraceStore`, …) are re-exported unchanged from `lambdagent`; only direct sub-module imports need updating.
|
|
@@ -18,8 +21,7 @@ Format inspired by [Keep a Changelog](https://keepachangelog.com/en/1.1.0/).
|
|
|
- `CONTRIBUTING.md` with setup, workflow, and PR expectations.
|
|
- `CONTRIBUTING.md` with setup, workflow, and PR expectations.
|
|
|
- `CODE_OF_CONDUCT.md` (Contributor Covenant 2.1).
|
|
- `CODE_OF_CONDUCT.md` (Contributor Covenant 2.1).
|
|
|
- GitHub Actions CI: pytest matrix on Python 3.10 / 3.11 / 3.12.
|
|
- GitHub Actions CI: pytest matrix on Python 3.10 / 3.11 / 3.12.
|
|
|
-- `conftest.py` at repo root for flat-layout test discovery.
|
|
|
|
|
-- `[tool.pytest.ini_options]` block: `importlib` import mode, deprecation-warning filters.
|
|
|
|
|
|
|
+- `[tool.pytest.ini_options]` block with deprecation-warning filters.
|
|
|
|
|
|
|
|
### Changed
|
|
### Changed
|
|
|
- `providers.ClaudeLam` is **deprecated** (DeprecationWarning, removed in 0.3.0). Use `lambdagent.Lam(provider=ClaudeCodeProvider(...))` instead.
|
|
- `providers.ClaudeLam` is **deprecated** (DeprecationWarning, removed in 0.3.0). Use `lambdagent.Lam(provider=ClaudeCodeProvider(...))` instead.
|