Skip to content

armgit / zulip

Public Imported from GitHub
0

Zulip server and web application. Open-source team chat that helps teams stay productive and focused.

provision: Install the PGroonga binary package on Debian 13.

Anders Kaseorgf724b2e4e3c9
diff --git a/tools/lib/provision.py b/tools/lib/provision.py
index b5f334a005c..e94b25443d9 100755
--- a/tools/lib/provision.py
+++ b/tools/lib/provision.py
@@ -156,7 +156,7 @@ COMMON_YUM_DEPENDENCIES = [
]
BUILD_PGROONGA_FROM_SOURCE = False
-if (vendor == "debian" and os_version == "13") or (vendor == "ubuntu" and os_version == "26.04"):
+if (vendor == "debian" and os_version in []) or (vendor == "ubuntu" and os_version == "26.04"): # noqa: RUF060
# For platforms without a PGroonga release, we need to build it
# from source.
BUILD_PGROONGA_FROM_SOURCE = True
@@ -170,11 +170,6 @@ if (vendor == "debian" and os_version == "13") or (vendor == "ubuntu" and os_ver
"libmsgpack-dev",
*VENV_DEPENDENCIES,
]
- if vendor == "debian":
- # libarrow2600 from packages.groonga.org links against
- # opentelemetry-cpp without depending on it; see
- # https://github.com/apache/arrow/issues/55112
- SYSTEM_DEPENDENCIES.append("opentelemetry-cpp")
elif "debian" in os_families():
DEBIAN_DEPENDENCIES = UBUNTU_COMMON_APT_DEPENDENCIES
@@ -183,6 +178,12 @@ elif "debian" in os_families():
if platform.machine() == "aarch64":
DEBIAN_DEPENDENCIES.append("cmake")
+ if vendor == "debian" and os_version == "13":
+ # libarrow2600 from packages.groonga.org links against
+ # opentelemetry-cpp without depending on it; see
+ # https://github.com/apache/arrow/issues/55112
+ DEBIAN_DEPENDENCIES.append("opentelemetry-cpp")
+
SYSTEM_DEPENDENCIES = [
*DEBIAN_DEPENDENCIES,
f"postgresql-{POSTGRESQL_VERSION}",