Skip to content

Clean up gpMgmt dep downloads; verify SHA-256 - #2496

Open
tuhaihe wants to merge 1 commit into
apache:mainfrom
tuhaihe:optimize-gpmgmt-dependency-downloads
Open

tuhaihe wants to merge 1 commit into
apache:mainfrom
tuhaihe:optimize-gpmgmt-dependency-downloads

Conversation

@tuhaihe

@tuhaihe tuhaihe commented Dec 4, 2026

Copy link
Copy Markdown
Member

Remove the dead mock download/install logic from gpMgmt/bin/Makefile. mock is installed from gpMgmt/requirements-dev.txt, so the legacy mock-1.0.1 bootstrap and its PYTHONPATH entries were unused.

Verify the psutil, PyYAML, and PyGreSQL source archives downloaded by download-python-deps against the SHA-256 digests published by PyPI, removing a corrupt archive so the next build re-downloads it.

Update gpMgmt/bin/README.md to install mock from requirements-dev.txt.

Fixes #ISSUE_Number

What does this PR do?

Type of Change

  • Bug fix (non-breaking change)
  • New feature (non-breaking change)
  • Breaking change (fix or feature with breaking changes)
  • Documentation update

Breaking Changes

Test Plan

  • Unit tests added/updated
  • Integration tests added/updated
  • Passed make installcheck
  • Passed make -C src/test installcheck-cbdb-parallel

Impact

Performance:

User-facing changes:

Dependencies:

Checklist

Additional Context


Remove the dead mock download/install logic from gpMgmt/bin/Makefile.
mock is installed from gpMgmt/requirements-dev.txt, so the legacy
mock-1.0.1 bootstrap and its PYTHONPATH entries were unused.

Verify the psutil, PyYAML, and PyGreSQL source archives downloaded by
download-python-deps against the SHA-256 digests published by PyPI,
removing a corrupt archive so the next build re-downloads it.

Update gpMgmt/bin/README.md to install mock from requirements-dev.txt.
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.

1 participant