Skip to content

[release] Prepare Hue 4.12.0 - #4395

Merged
Harshg999 merged 10 commits into
masterfrom
release/prep-4.12.0
Oct 30, 2026
Merged

Harshg999 merged 10 commits into
masterfrom
release/prep-4.12.0

Conversation

@Harshg999

Copy link
Copy Markdown
Collaborator

What changes are proposed in this pull request?

Prepares the 4.12.0 release.

  • Release: bump VERSION and the two pom.xml files to 4.12.0, regenerate NOTICE.txt, and add the 4.12.0 release notes and the blog post.
  • Fixes found while preparing it:
    • Athena work_group and catalog_name are optional again (a KeyError for URLs without them).
    • Load each app once when its entry point is found twice (Django failed with "duplicates: dashboard" on the Ubuntu 22.04 Python).
    • Docker image: install ksql-python without build isolation and add libmagic1.
    • Helm: quote appVersion so helm lint passes.
  • Cleanup: remove the Python 2 Dockerfile and keep a single tools/docker/hue/conf. Document the libmagic dependency and mark the File Import API as under development.

How was this patch tested?

  • A Docker image built from a clean export of the branch starts, serves the login page and reports 4.12.0.
  • The new and related unit tests pass (appmanager, Athena and the others). ruff is clean.
  • The docs site builds with Hugo 0.62 with 0 broken internal links. helm lint and helm template pass.
  • The release notes and blog were fact-checked against the final code.

The Athena URL handling read work_group and catalog_name unconditionally, so an existing URL without them failed with a KeyError. Only quote the parameters that are present and add tests.
Rebuild the list of third-party components and licenses from the current npm lock file and Python environment, keeping the non-package items that are still shipped. The version of the pinned cryptography, pyOpenSSL and setuptools follows base_requirements.txt.
Summarize the features, the upgrade notes and the security fixes of the 890 commits since 4.11, with the full list of commits and the contributors.
Since the move to importlib.metadata, an older Python (the 3.11.0rc1 of Ubuntu 22.04) returns a distribution once per sys.path entry, so Django failed with duplicated application labels (dashboard) while building the Docker image. Skip the duplicated entry points and add a test.
- Install ksql-python with --no-build-isolation because its setup.py imports pip
- Add libmagic1, which the Importer needs to detect the file type
The API uploads a file, detects its format and previews it, but does not create the table yet. Remove the step by step guide of the new Importer UI from the user guide.
Hue 4.12 only builds with Python 3.11. Remove Dockerfile.py2 and its dockerignore, replace the Python 2 conf directory by the former conf3 one and keep a single tools/docker/hue/conf.
@Harshg999 Harshg999 self-assigned this Oct 30, 2026
@github-actions

Copy link
Copy Markdown

✅ Test files were modified. Ensure that the tests cover all relevant changes. ✅

@github-actions

Copy link
Copy Markdown

UI Code Coverage Report

Lines Statements Branches Functions
Coverage: 33%
40.16% (31638/78763) 32.07% (14993/46738) 26.41% (2415/9142)

@JohanAhlen JohanAhlen 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.

LGTM! Thanks! :-)

@github-actions

Copy link
Copy Markdown

Coverage

Backend Code Coverage Report •
FileStmtsMissBranchBrPartCoverMissing
desktop/core/src/desktop
   appmanager.py14020701484%84->87, 87–88, 152->153, 153, 167->168, 168–169, 189, 200–203, 205, 217–219, 221, 251->252, 252, 275->276, 276, 281->283, 283, 286->287, 287, 302->305, 305
desktop/libs/notebook/src/notebook/connectors
   sql_alchemy.py345951645471%105–108, 110–118, 120–121, 154->168, 186->187, 187, 195->196, 196, 202->203, 203, 223–225, 227, 233–235, 237, 246->249, 254->255, 255, 264->exit, 265->exit, 299->302, 308->320, 309->310, 310, 315–319, 333->342, 335->336, 336, 342, 348–362, 369->374, 374, 387->388, 388, 389->390, 390, 391->392, 392, 393->394, 394, 395->396, 396, 402, 406, 412->exit, 417, 419–425, 427, 430–431, 441->442, 442, 443->444, 444, 456->473, 473–475, 501->509, 546, 549, 552–555, 558, 563–564, 567–568, 570–571, 583–586, 588, 594–596
TOTAL5701528844219831295347% 

@Harshg999
Harshg999 merged commit c2a593f into master Oct 30, 2026
7 checks passed
@Harshg999
Harshg999 deleted the release/prep-4.12.0 branch October 30, 2026 13:35
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.

2 participants