From bfbf893d3438f99c39d9da52024a40866d579a8e Mon Sep 17 00:00:00 2001
From: Adam Mercer <adam.mercer@ligo.org>
Date: Fri, 28 Jan 2022 13:38:45 -0700
Subject: [PATCH] lalinference: remove explicit gwpy dependency

this remove the gwpy dependency from the RPM and Debian packages as the
current versions of gwpy are only packaged under Conda. the codes that
utilise gwpy have import protections so if someone tries to use these
codes and don't have gwpy installed they will receive a message saying
that gwpy is required.
---
 lalinference/debian/control.in    | 2 --
 lalinference/lalinference.spec.in | 1 -
 2 files changed, 3 deletions(-)

diff --git a/lalinference/debian/control.in b/lalinference/debian/control.in
index 0fbe282868..1f53a49f80 100644
--- a/lalinference/debian/control.in
+++ b/lalinference/debian/control.in
@@ -29,7 +29,6 @@ Build-Depends:
  python3-astropy (>= 1.1.1),
  python3-glue (>= @MIN_GLUE_VERSION@),
  python3-gwdatafind,
- python3-gwpy,
  python3-h5py,
  python3-healpy (>= 1.9.1),
  python3-lal (>= @MIN_LAL_VERSION@~),
@@ -94,7 +93,6 @@ Depends:
  python3-astropy (>= 1.1.1),
  python3-glue (>= @MIN_GLUE_VERSION@),
  python3-gwdatafind,
- python3-gwpy,
  python3-h5py,
  python3-lal (>= @MIN_LAL_VERSION@~),
  python3-lalframe (>= @MIN_LALFRAME_VERSION@~),
diff --git a/lalinference/lalinference.spec.in b/lalinference/lalinference.spec.in
index 8af8d1df6a..a667c36a8e 100644
--- a/lalinference/lalinference.spec.in
+++ b/lalinference/lalinference.spec.in
@@ -47,7 +47,6 @@ BuildRequires: python%{python3_pkgversion}
 BuildRequires: python%{python3_pkgversion}-devel
 BuildRequires: python%{python3_pkgversion}-astropy >= 1.1.1
 BuildRequires: python%{python3_pkgversion}-gwdatafind
-BuildRequires: python%{python3_pkgversion}-gwpy
 BuildRequires: python%{python3_pkgversion}-glue >= @MIN_GLUE_VERSION@
 BuildRequires: python%{python3_pkgversion}-healpy >= 1.9.1
 BuildRequires: python%{python3_pkgversion}-h5py
-- 
GitLab