From 9d78fa4b93a1490440f2f0e930ecb4b47ee235b3 Mon Sep 17 00:00:00 2001 From: Abhiraj Singh Date: Wed, 8 Jul 2026 22:54:36 +0530 Subject: [PATCH] docs: align documented dependency versions with requirements.txt (#1455) Signed-off-by: abhiraj75 Co-authored-by: Paige Patton <64206430+paigerube14@users.noreply.github.com> --- AI_CONTRIBUTION_POLICY.md | 4 ++-- CLAUDE.md | 8 ++++---- 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/AI_CONTRIBUTION_POLICY.md b/AI_CONTRIBUTION_POLICY.md index 70afdd8b..5063b14c 100644 --- a/AI_CONTRIBUTION_POLICY.md +++ b/AI_CONTRIBUTION_POLICY.md @@ -172,8 +172,8 @@ to generate scenario plugins **MUST** verify: AI tools may suggest dependency versions that conflict with Krkn's requirements. Contributors **MUST** verify: -- `docker` package remains <7.0 -- `requests` package remains <2.32 +- `docker` package stays `>=7.0.0` (Unix socket support is native in docker 7+) +- `requests` package stays `>=2.32.4` (required security fixes) - New dependencies are compatible with the existing dependency tree - Dependencies are pinned to specific versions in `requirements.txt` - Dependencies are checked for known security vulnerabilities diff --git a/CLAUDE.md b/CLAUDE.md index cec3d770..6d37d2c4 100644 --- a/CLAUDE.md +++ b/CLAUDE.md @@ -44,12 +44,12 @@ python -m coverage run -a -m unittest discover -s tests -v ### Python Environment - **Python 3.11+** required - **NEVER install packages globally** - always use virtual environment -- **CRITICAL**: `docker` must be <7.0 and `requests` must be <2.32 (Unix socket compatibility) +- **CRITICAL**: `docker` must be >=7.0.0 and `requests` must be >=2.32.4 — match the pins in `requirements.txt` (docker 7+ handles Unix sockets natively; requests bumped for security fixes) ### Key Dependencies -- **krkn-lib** (5.1.13): Core library for Kubernetes/OpenShift operations -- **kubernetes** (34.1.0): Kubernetes Python client -- **docker** (<7.0), **requests** (<2.32): DO NOT upgrade without verifying compatibility +- **krkn-lib** (6.1.2): Core library for Kubernetes/OpenShift operations +- **kubernetes** (>=35.0.0,<36.0.0): Kubernetes Python client +- **docker** (>=7.0.0), **requests** (>=2.32.4): match `requirements.txt`; do not change without verifying Unix-socket compatibility - Cloud SDKs: boto3 (AWS), azure-mgmt-* (Azure), google-cloud-compute (GCP), ibm_vpc (IBM), pyVmomi (VMware) ## Plugin Architecture (CRITICAL)