Merge 2c13ac1859a82c9730ff070aa3a4863228b1e626 into b0b54f19889eb1403e98242ba0f77089eaaef5f8
0f8a947b
pull/111/merge
169/5,090 ++ 4,182 --
* build: migrate root project from Poetry to uv - Convert pyproject.toml from Poetry to uv/hatchling build system - Replace poetry.lock with uv.lock - Remove poetry.toml configuration - Add [tool.uv] and [tool.hatch.metadata] sections * feat: migrate template to uv-only, drop Poetry support - Rewrite pyproject.toml.jinja from Poetry to uv/hatchling format - Cap requires-python to >=3.12,<3.14 (coincurve lacks 3.14 wheels) - Replace all 'poetry run' with 'uv run' in .algokit.toml.jinja - Bump min_version to v2.11.0 (old CLIs warn on version mismatch) - Simplify audit description (remove poetry-plugin-export reference) - Update CI/CD templates: astral-sh/setup-uv@v5, uv tool install algokit - Update pre-commit hooks: poetry run -> uv run - Update README.md.jinja: uv install guide, version references - Delete template_content/poetry.toml * test: switch PY_PKG_MGR_ARGS to uv in test configuration - Update PY_PKG_MGR_ARGS from poetry to uv in both test files - Tests now configure generated projects to use uv as package manager * docs: update root README to reference uv instead of Poetry * chore: regenerate all 6 example directories for uv migration Auto-regenerated by running test_templates.py and test_generators.py against the updated template with algokit-cli decoupling branch. Changes across all examples: - .algokit.toml: min_version v2.11.0, poetry run -> uv run - pyproject.toml: Poetry format -> uv/hatchling with [project], [dependency-groups], [tool.hatch.metadata], [tool.uv] - README.md: Poetry -> uv install guide and tool references - poetry.toml: deleted - uv.lock: added (replaces Poetry lock) Production examples additionally: - .pre-commit-config.yaml: poetry run -> uv run - CI/CD workflows: astral-sh/setup-uv@v5, uv tool install algokit * fix: resolve TypeScript generator test failures - Add npm install step in check_codebase for TypeScript deployment projects (package.json present) to install @algorandfoundation/ algokit-client-generator before build - Patch jest.config.ts at test time to handle ESM node_modules: extend transform to cover .js files and add transformIgnorePatterns for @noble/hashes and @algorandfoundation packages (upstream generator template produces config without ESM support) All 6 tests now pass: 2 template + 4 generator (python+typescript × starter+production) * feat!: remove TypeScript deployer option from template The Python template no longer offers TypeScript as a deployment language. All TS deployer files, TS jest test scaffolding, generated TS examples, and the deployment_language/use_typescript_jest copier questions have been removed. The template now generates Python-only deployer code.
The Python template no longer offers TypeScript as a deployment language. All TS deployer files, TS jest test scaffolding, generated TS examples, and the deployment_language/use_typescript_jest copier questions have been removed. The template now generates Python-only deployer code.
- Add npm install step in check_codebase for TypeScript deployment projects (package.json present) to install @algorandfoundation/ algokit-client-generator before build - Patch jest.config.ts at test time to handle ESM node_modules: extend transform to cover .js files and add transformIgnorePatterns for @noble/hashes and @algorandfoundation packages (upstream generator template produces config without ESM support) All 6 tests now pass: 2 template + 4 generator (python+typescript × starter+production)
- Rewrite pyproject.toml.jinja from Poetry to uv/hatchling format - Cap requires-python to >=3.12,<3.14 (coincurve lacks 3.14 wheels) - Replace all 'poetry run' with 'uv run' in .algokit.toml.jinja - Bump min_version to v2.11.0 (old CLIs warn on version mismatch) - Simplify audit description (remove poetry-plugin-export reference) - Update CI/CD templates: astral-sh/setup-uv@v5, uv tool install algokit - Update pre-commit hooks: poetry run -> uv run - Update README.md.jinja: uv install guide, version references - Delete template_content/poetry.toml
- Update PY_PKG_MGR_ARGS from poetry to uv in both test files - Tests now configure generated projects to use uv as package manager
- Convert pyproject.toml from Poetry to uv/hatchling build system - Replace poetry.lock with uv.lock - Remove poetry.toml configuration - Add [tool.uv] and [tool.hatch.metadata] sections
Auto-regenerated by running test_templates.py and test_generators.py against the updated template with algokit-cli decoupling branch. Changes across all examples: - .algokit.toml: min_version v2.11.0, poetry run -> uv run - pyproject.toml: Poetry format -> uv/hatchling with [project], [dependency-groups], [tool.hatch.metadata], [tool.uv] - README.md: Poetry -> uv install guide and tool references - poetry.toml: deleted - uv.lock: added (replaces Poetry lock) Production examples additionally: - .pre-commit-config.yaml: poetry run -> uv run - CI/CD workflows: astral-sh/setup-uv@v5, uv tool install algokit
- Add npm install step in check_codebase for TypeScript deployment projects (package.json present) to install @algorandfoundation/ algokit-client-generator before build - Patch jest.config.ts at test time to handle ESM node_modules: extend transform to cover .js files and add transformIgnorePatterns for @noble/hashes and @algorandfoundation packages (upstream generator template produces config without ESM support) All 6 tests now pass: 2 template + 4 generator (python+typescript × starter+production)
Auto-regenerated by running test_templates.py and test_generators.py against the updated template with algokit-cli decoupling branch. Changes across all examples: - .algokit.toml: min_version v2.11.0, poetry run -> uv run - pyproject.toml: Poetry format -> uv/hatchling with [project], [dependency-groups], [tool.hatch.metadata], [tool.uv] - README.md: Poetry -> uv install guide and tool references - poetry.toml: deleted - uv.lock: added (replaces Poetry lock) Production examples additionally: - .pre-commit-config.yaml: poetry run -> uv run - CI/CD workflows: astral-sh/setup-uv@v5, uv tool install algokit
- Update PY_PKG_MGR_ARGS from poetry to uv in both test files - Tests now configure generated projects to use uv as package manager
- Rewrite pyproject.toml.jinja from Poetry to uv/hatchling format - Cap requires-python to >=3.12,<3.14 (coincurve lacks 3.14 wheels) - Replace all 'poetry run' with 'uv run' in .algokit.toml.jinja - Bump min_version to v2.11.0 (old CLIs warn on version mismatch) - Simplify audit description (remove poetry-plugin-export reference) - Update CI/CD templates: astral-sh/setup-uv@v5, uv tool install algokit - Update pre-commit hooks: poetry run -> uv run - Update README.md.jinja: uv install guide, version references - Delete template_content/poetry.toml