Skip to content

Remove openshift/python-daemon/pexpect packages - #920

Open
cigamit wants to merge 5 commits into
mainfrom
remove_openshift_package
Open

Remove openshift/python-daemon/pexpect packages#920
cigamit wants to merge 5 commits into
mainfrom
remove_openshift_package

Conversation

@cigamit

@cigamit cigamit commented Sep 12, 2026

Copy link
Copy Markdown
Collaborator
  • Openshift package is not imported directly, so drop it and just bring in the kubernetes package, which we do need.
  • Ansible-Runner finally dropped python-daemon yesterday, which removes it and lockfile
  • We also don't use pexpect, so remove our pin. Its still brought in by Ansible-Runner though.

@cigamit cigamit self-assigned this Sep 12, 2026
Copilot AI lite review requested due to automatic review settings September 12, 2026 05:29
@cigamit cigamit added dependencies Pull requests that update a dependency file python Pull requests that update python code labels Sep 12, 2026
@cigamit
cigamit requested a review from TheWitness September 12, 2026 05:29

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🟡 Changes recommended

Critical minikube preflight and moderate pexpect compatibility issues remain unresolved.

Get a fresh assessment by requesting another Copilot review.

Pull request overview

This pull request cleans up unused Python dependencies while adding Kubernetes explicitly.

Changes:

  • Adds kubernetes as a direct dependency.
  • Removes openshift, python-daemon, lockfile, and the direct pexpect pin.
  • Regenerates the locked requirements.
File summaries
File Summary Findings
requirements/requirements.in Updates direct dependency declarations. Critical (3 votes): Minikube preflight still requires openshift. Moderate (2 votes): Retain pexpect==4.7.0 until Ansible Runner updates its incompatible usage.
requirements/requirements.txt Regenerates the resolved dependency lockfile. No findings.
Review details
  • Files reviewed: 2/2 changed files
  • Comments generated: 2
  • Review effort level: Lite

💡 Add a code-review agent skill or configure MCP servers for context-aware, tailored reviews. Learn more in the docs.

Comment thread requirements/requirements.in
Comment thread requirements/requirements.in
Copilot AI review requested due to automatic review settings September 12, 2026 06:12

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🟢 Approval recommended

No unresolved issues were identified.

Review details
  • Files reviewed: 9/9 changed files
  • Comments generated: 0 new
  • Review effort level: Lite

Copilot AI review requested due to automatic review settings September 13, 2026 04:09

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Copilot wasn't able to review any files in this pull request.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

dependencies Pull requests that update a dependency file python Pull requests that update python code

Development

Successfully merging this pull request may close these issues.

2 participants