Skip to content

Add Ubuntu development dependencies#4728

Open
happz wants to merge 3 commits intomainfrom
makefile-ubuntu-deps
Open

Add Ubuntu development dependencies#4728
happz wants to merge 3 commits intomainfrom
makefile-ubuntu-deps

Conversation

@happz
Copy link
Copy Markdown
Contributor

@happz happz commented Mar 22, 2026

A small refactoring of related part of the Makefile, to separate
distro-specific targets and lists.

Pull Request Checklist

  • implement the feature

@happz happz added the ci | full test Pull request is ready for the full test execution label Mar 22, 2026
Copy link
Copy Markdown
Contributor

@gemini-code-assist gemini-code-assist bot left a comment

Choose a reason for hiding this comment

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

Code Review

The Makefile refactoring for multi-distro support introduces a critical duplicate target error that breaks Fedora builds. Several Ubuntu package dependencies do not exist in standard repositories, which will cause installation to fail. A Fedora dependency also uses a file path instead of a package name.

@happz happz force-pushed the makefile-ubuntu-deps branch from dcc2ceb to 02e6f5e Compare March 22, 2026 21:10
@happz happz marked this pull request as ready for review March 23, 2026 07:49
@happz happz added this to planning Mar 23, 2026
@github-project-automation github-project-automation bot moved this to backlog in planning Mar 23, 2026
@happz happz moved this from backlog to review in planning Mar 23, 2026
Comment on lines +34 to +78
_DEPS_CORE_FEDORA := \
hatch \
uv \
python3-devel \
python3-hatch-vcs \
rpm-build \
clang \
beakerlib

_DEPS_DEVELOP_FEDORA := \
expect \
gcc \
git \
python3-nitrate \
libvirt-devel \
krb5-devel \
libpq-devel \
python3-devel \
jq \
podman \
buildah \
/usr/bin/python3.9 \
pre-commit

# Note: interestingly, `hatch` is not shipped by Ubuntu, but `hatch` plugins are.
# Manual `hatch` installation probably does not the packaged plugin, leaving it
# in for now until we get better coverage.
_DEPS_CORE_UBUNTU := \
python3-dev \
python3-hatch-vcs \
clang

_DEPS_DEVELOP_UBUNTU := \
expect \
gcc \
git \
libvirt-dev \
libkrb5-dev \
libpq-dev \
python3-dev \
jq \
podman \
buildah \
python3.9 \
pre-commit
Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

Can reshuffle so that cores are together with core and develop are together with develop?

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

I had it that way, then I switched to per-distro grouping. I guess both have their pros and cons, I don't have a favorite.

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

Hmm, yeah. In one case we have all of the dependencies grouped together so it is easier for the maintainer to make sure something is not missed. In the other case it might be more useful for the passer-by checking the content

happz added 3 commits March 31, 2026 18:53
A small refactoring of related part of the Makefile, to separate
distro-specific targets and lists.
@happz happz force-pushed the makefile-ubuntu-deps branch from 6bea484 to 58e6cec Compare March 31, 2026 16:53
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

ci | full test Pull request is ready for the full test execution

Projects

Status: review

Development

Successfully merging this pull request may close these issues.

2 participants