osmith has uploaded this change for review.
OBS: pyhss: add workaround for debian unstable
Fix that PyHSS fails to build in debian unstable with:
ERROR: Could not find a version that satisfies the requirement tzdata (from python-dateutil) (from versions: none)
ERROR: No matching distribution found for tzdata
Related: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1152361
Change-Id: Ie0a1c1a659b9fed902b8e198e2a49aeb35466158
---
M scripts/obs/lib/srcpkg.py
1 file changed, 8 insertions(+), 0 deletions(-)
git pull ssh://gerrit.osmocom.org:29418/osmo-ci refs/changes/31/44031/1
diff --git a/scripts/obs/lib/srcpkg.py b/scripts/obs/lib/srcpkg.py
index 8743939..cddf56d 100644
--- a/scripts/obs/lib/srcpkg.py
+++ b/scripts/obs/lib/srcpkg.py
@@ -187,6 +187,14 @@
def prepare_project_pyhss():
repo_path = lib.git.get_repo_path("pyhss")
+
+ # Workaround for https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1152361
+ lib.run_cmd(
+ "echo 'tzdata # vendor-in-deb' >> requirements.txt",
+ cwd=repo_path,
+ shell=True,
+ )
+
script = "debian/pyhss_download_deps.sh"
lib.run_cmd(["sh", "-e", script], cwd=repo_path)
To view, visit change 44031. To unsubscribe, or for help writing mail filters, visit settings.