Skip to content

feat: Adopt uv for dependency management#5

Merged
alanbchristie merged 1 commit into
masterfrom
feat/uv-dependency-management
Jun 30, 2026
Merged

feat: Adopt uv for dependency management#5
alanbchristie merged 1 commit into
masterfrom
feat/uv-dependency-management

Conversation

@claude-im

Copy link
Copy Markdown
Contributor

Summary

Replaces the requirements.txt / build-requirements.txt pair with a single pyproject.toml managed by uv, and moves to the latest Python and Ansible that work with these playbooks.

  • Python 3.14, pinned via .python-version
  • ansible 14 (ansible-core 2.21), kubernetes client 35 (targets Kubernetes 1.35)
  • yamllint and ansible-lint as dev dependencies
  • Drops awscli, boto3, jmespath and openshift — none are used by these playbooks (cluster auth is via the K8S_AUTH_* env vars injected by AWX). Shout if your AWX/EKS setup needs awscli/boto3 for token minting and I'll add them back.
  • CI installs via astral-sh/setup-uv and runs the linters with uv run
  • .venv ignored by yamllint and git
  • Documents the uv workflow in README.md; also adds a CLAUDE.md

Verification

  • uv lock --check — clean
  • uv run ansible-playbook --syntax-check site.yaml — passes
  • uv run yamllint . and the *.yaml.j2 pass — both clean
  • k8s module resolves (kubernetes.core ships with the ansible package)

🤖 Generated with Claude Code

Replace the requirements.txt / build-requirements.txt pair with a single
pyproject.toml managed by uv, and move to the latest Python and Ansible
that work with these playbooks.

- Python 3.14 (pinned via .python-version)
- ansible 14 (ansible-core 2.21), kubernetes client 35 (k8s 1.35)
- yamllint and ansible-lint as dev dependencies
- Drop awscli, boto3, jmespath and openshift (unused by these playbooks)
- CI now installs via astral-sh/setup-uv and runs the linters with uv run
- Ignore .venv in yamllint and git
- Document the uv workflow in README.md and add CLAUDE.md

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
@alanbchristie alanbchristie merged commit 51f698e into master Jun 30, 2026
1 check passed
@alanbchristie alanbchristie deleted the feat/uv-dependency-management branch June 30, 2026 16:21
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