Skip to content

Conversation

@ranade1
Copy link
Contributor

@ranade1 ranade1 commented Apr 11, 2025

  • Introduced infrastructure for building and packaging Hue against multiple Python versions (3.8, 3.9, 3.10, 3.11).
  • Refactored Makefile, Makefile.vars, and various component-level Makefiles to support per-Python virtual environments under build/venvs/.
  • Removed obsolete requirements.txt and base_requirements.txt; replaced with dynamic generate_requirements.py that resolves architecture- and Python-version-specific dependencies at build time.
  • Updated environment bootstrapping (virtual-env) logic:
    • More robust handling of Python/PIP binaries across platforms.
    • Support for virtualenv-make-relocatable and .pth path rewriting via a new relocatable.py tool.
  • Enhanced build toolchain for Cloudera:
    • build_hue_cloudera.sh and build_hue_common.sh now iterate builds over supported Python versions.
    • SQLite3 installation now checks for presence and adds proper bin path.
    • Redundant shell logic simplified; system-level dependency installation made cleaner.
  • Modernized PEP 517-compliant editable install (pip install -e .) for all Python apps/libs (removed setup.py develop usage).
  • Build output (make prod, make release) now clearly logs artifact paths and validates packaging exclusions.
  • Added huecheck target for post-build diagnostics.

How was this patch tested?

  • Manual Tests
  • Test on CDH cluster

Please review Hue Contributing Guide before opening a pull request.

- Introduced infrastructure for building and packaging Hue against multiple Python versions (3.8, 3.9, 3.10, 3.11).
- Refactored `Makefile`, `Makefile.vars`, and various component-level Makefiles to support per-Python virtual environments under `build/venvs/`.
- Removed obsolete `requirements.txt` and `base_requirements.txt`; replaced with dynamic `generate_requirements.py` that resolves architecture- and Python-version-specific dependencies at build time.
- Updated environment bootstrapping (`virtual-env`) logic:
  * More robust handling of Python/PIP binaries across platforms.
  * Support for `virtualenv-make-relocatable` and `.pth` path rewriting via a new `relocatable.py` tool.
- Enhanced build toolchain for Cloudera:
  * `build_hue_cloudera.sh` and `build_hue_common.sh` now iterate builds over supported Python versions.
  * SQLite3 installation now checks for presence and adds proper bin path.
  * Redundant shell logic simplified; system-level dependency installation made cleaner.
- Modernized PEP 517-compliant editable install (`pip install -e .`) for all Python apps/libs (removed `setup.py develop` usage).
- Build output (`make prod`, `make release`) now clearly logs artifact paths and validates packaging exclusions.
- Added `huecheck` target for post-build diagnostics.
@github-actions
Copy link

github-actions bot commented Apr 11, 2025

⚠️ No test files modified. Please ensure that changes are properly tested. ⚠️

@github-actions
Copy link

github-actions bot commented Apr 11, 2025

Backend Codecov

Backend Code Coverage Report •
FileStmtsMissCoverMissing
TOTAL536032624151% 
report-only-changed-files is enabled. No files were changed during this commit :)

Pytest Report

Tests Skipped Failures Errors Time
1108 106 💤 0 ❌ 0 🔥 5m 47s ⏱️

@ranade1
Copy link
Contributor Author

ranade1 commented Apr 14, 2025

recheck

@ranade1 ranade1 enabled auto-merge (squash) April 14, 2025 22:34
@ranade1 ranade1 disabled auto-merge April 14, 2025 23:34
@ranade1
Copy link
Contributor Author

ranade1 commented Apr 14, 2025

recheck

@ranade1 ranade1 enabled auto-merge (rebase) April 15, 2025 00:38
@ranade1 ranade1 disabled auto-merge April 15, 2025 01:32
uncommenting the pytorch_requirements line in generate_requirements.py
…t discovery and using the correct path to run hue

(cherry picked from commit 6f9496e)
@agl29 agl29 enabled auto-merge (squash) April 15, 2025 07:14
@agl29 agl29 merged commit de00238 into master Apr 15, 2025
7 of 8 checks passed
@agl29 agl29 deleted the multi-python branch April 15, 2025 07:27
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.

6 participants