osmith has submitted this change. ( 
https://gerrit.osmocom.org/c/osmo-ci/+/44031?usp=email )

Change subject: OBS: pyhss: add workaround for debian unstable
......................................................................

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(-)

Approvals:
  Jenkins Builder: Verified
  fixeria: Looks good to me, approved




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 https://gerrit.osmocom.org/c/osmo-ci/+/44031?usp=email
To unsubscribe, or for help writing mail filters, visit 
https://gerrit.osmocom.org/settings?usp=email

Gerrit-MessageType: merged
Gerrit-Project: osmo-ci
Gerrit-Branch: master
Gerrit-Change-Id: Ie0a1c1a659b9fed902b8e198e2a49aeb35466158
Gerrit-Change-Number: 44031
Gerrit-PatchSet: 1
Gerrit-Owner: osmith <[email protected]>
Gerrit-Reviewer: Jenkins Builder
Gerrit-Reviewer: fixeria <[email protected]>
Gerrit-Reviewer: osmith <[email protected]>
Gerrit-Reviewer: pespin <[email protected]>

Reply via email to