Skip to content

KAFKA-20146: Add CI check to detect Python dependency conflicts#21472

Open
mingyen066 wants to merge 1 commit intoapache:trunkfrom
mingyen066:KAFKA-20146-detect-dependency-conflicts
Open

KAFKA-20146: Add CI check to detect Python dependency conflicts#21472
mingyen066 wants to merge 1 commit intoapache:trunkfrom
mingyen066:KAFKA-20146-detect-dependency-conflicts

Conversation

@mingyen066
Copy link
Collaborator

@mingyen066 mingyen066 commented Feb 13, 2026

Add a pip install --dry-run ./tests step in the validate job to
catch dependency conflicts in tests/setup.py early, before Gradle
compilation.

This addresses the issue from #21415 where dependabot bumped requests
to 2.32.4, conflicting with ducktape==0.12.0's pin on
requests==2.31.0, which went undetected until it broke kafkatest
installation.

Verified locally that --dry-run correctly fails with exit code 1 when
a conflict is present.

…sts/setup.py

Add a dry-run pip install step in the validate job to catch unresolvable
dependency conflicts early, before the longer Gradle compilation step.
@github-actions github-actions bot added triage PRs from the community build Gradle build or GitHub Actions small Small PRs labels Feb 13, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

build Gradle build or GitHub Actions small Small PRs triage PRs from the community

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant