Skip to content
Snippets Groups Projects
Unverified Commit 3f9b52ae authored by Antoine R. Dumont's avatar Antoine R. Dumont
Browse files

d/rules: Use Build-Conflicts to exclude openjdk-{17,16,15}-jre deps

So the correct java version is pulled for the tests (cassandr) to run ok.

Related to T3053#58816
parent 253aa41b
No related branches found
No related tags found
No related merge requests found
......@@ -2,12 +2,10 @@ Source: swh-storage
Maintainer: Software Heritage developers <swh-devel@inria.fr>
Section: python
Priority: optional
# Please, let the dependency openjdk-11-jre before cassandra to avoid build issues
# Related to https://forge.softwareheritage.org/T3053#58815
Build-Depends: debhelper (>= 9),
dh-python (>= 2),
openjdk-11-jre,
cassandra,
openjdk-11-jre,
python3-aiohttp,
python3-all,
python3-cassandra,
......@@ -31,6 +29,12 @@ Build-Depends: debhelper (>= 9),
python3-swh.core.db.pytestplugin (>= 0.9),
python3-typing-extensions (>= 3.7.4~),
python3-tenacity
# Only the jre 11 is supported with cassandra. Unfortunately, some other jre packages
# are pulled, so we prevent those from being installed.
# Related to https://forge.softwareheritage.org/T3053#58819
Build-Conflicts: openjdk-17-jre-headless,
openjdk-16-jre-headless,
openjdk-15-jre-headless,
Standards-Version: 3.9.6
Homepage: https://forge.softwareheritage.org/diffusion/DSTO/
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment