Skip to content

Fix Tarball build for Python plugin#833

Merged
mcserep merged 1 commit intoEricsson:masterfrom
barnabasdomozi:pythonplugin_fix_tarball
Mar 17, 2026
Merged

Fix Tarball build for Python plugin#833
mcserep merged 1 commit intoEricsson:masterfrom
barnabasdomozi:pythonplugin_fix_tarball

Conversation

@barnabasdomozi
Copy link
Collaborator

No description provided.

@barnabasdomozi barnabasdomozi force-pushed the pythonplugin_fix_tarball branch from e6d3759 to dadde1f Compare February 18, 2026 16:03
@mcserep mcserep requested review from Copilot and mcserep March 3, 2026 08:17
@mcserep mcserep added Kind: Bug ⚠️ Plugin: Python Issues related to the parsing and presentation of Python projects. Target: Developer environment Developer environment issues consist of CodeCompass or 3rd-party build tooling, configuration or CI. labels Mar 3, 2026
@github-project-automation github-project-automation bot moved this to In progress in Roadmap Mar 3, 2026
@mcserep mcserep added this to Roadmap Mar 3, 2026
@mcserep mcserep added this to the Upcoming Release milestone Mar 3, 2026
Copy link
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

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

Pull request overview

Updates the GitLab CI dependency/toolchain build scripts to support building and running the Python plugin from tarball artifacts, primarily by producing a shared Python build and ensuring its runtime libraries are discoverable.

Changes:

  • Build CPython 3.9 with --enable-shared and extend LD_LIBRARY_PATH to include python-install/lib.
  • Ensure CodeCompass build environment includes python-install/lib in LD_LIBRARY_PATH.
  • Point Boost’s bootstrap to the installed python3 binary instead of python.

Reviewed changes

Copilot reviewed 2 out of 2 changed files in this pull request and generated 3 comments.

File Description
.gitlab/build-deps.sh Builds Python as shared, exports Python lib dir to LD_LIBRARY_PATH, and switches Boost’s --with-python to python3.
.gitlab/build-codecompass.sh Extends build-time LD_LIBRARY_PATH with the Python lib directory.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

@barnabasdomozi barnabasdomozi force-pushed the pythonplugin_fix_tarball branch from dadde1f to e38f968 Compare March 9, 2026 21:22
@mcserep mcserep merged commit 8f6e219 into Ericsson:master Mar 17, 2026
14 checks passed
@github-project-automation github-project-automation bot moved this from In progress to Done in Roadmap Mar 17, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Kind: Bug ⚠️ Plugin: Python Issues related to the parsing and presentation of Python projects. Target: Developer environment Developer environment issues consist of CodeCompass or 3rd-party build tooling, configuration or CI.

Projects

Status: Done

Development

Successfully merging this pull request may close these issues.

3 participants