Script 'mail_helper' called by obssrc Hello community, here is the log from the commit of package lscsoft-glue for openSUSE:Factory checked in at 2022-09-17 20:10:55 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/lscsoft-glue (Old) and /work/SRC/openSUSE:Factory/.lscsoft-glue.new.2083 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "lscsoft-glue" Sat Sep 17 20:10:55 2022 rev:6 rq:1004357 version:3.0.1 Changes: -------- --- /work/SRC/openSUSE:Factory/lscsoft-glue/lscsoft-glue.changes 2022-01-16 23:19:14.742376911 +0100 +++ /work/SRC/openSUSE:Factory/.lscsoft-glue.new.2083/lscsoft-glue.changes 2022-09-17 20:11:04.717284711 +0200 @@ -1,0 +2,25 @@ +Tue Feb 8 19:40:20 UTC 2022 - Atri Bhattacharya <[email protected]> + +- Update to version 3.0.1: + * Removed support for Python 2. + * Numerous fixes for Python 3 support. + * Removed numerous unused (and usually broken) files, + functions/methods, etc. + * Lots of cleanup of code base. + * Added new unit tests. + * Improved setup and packaging code. + * Added deprecation messages for code that will be removed in a + future version. +- Drop patches incorporated upstream: + * lscsoft-glue-python-3.10-fixes.patch. + * lscsoft-glue-disable-doctest.patch. +- Use pytest to run tests; drop a network dependent test. +- Add BuildRequires: python-pyRXP for test flavor; needed for one + of the new tests. +- Split out new package, lscsoft-glue-data, with data files + needed by all lscsoft-glue binaries; required by all + python-lscsoft-glue flavors. +- Redefine ligocommands macro to refer to updated binaries + installed. + +------------------------------------------------------------------- Old: ---- lscsoft-glue-2.1.0.tar.gz lscsoft-glue-disable-doctest.patch lscsoft-glue-python-3.10-fixes.patch New: ---- lscsoft-glue-3.0.1.tar.gz ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ lscsoft-glue.spec ++++++ --- /var/tmp/diff_new_pack.RcD1II/_old 2022-09-17 20:11:05.181286049 +0200 +++ /var/tmp/diff_new_pack.RcD1II/_new 2022-09-17 20:11:05.185286061 +0200 @@ -27,34 +27,30 @@ %define psuffix %{nil} %endif +%define pname lscsoft-glue # NEP 29: numpy, matplotlib do not have a python36 flavor package in TW %define skip_python36 1 +# Support dropped for python2 by upstream +%define skip_python2 1 -%define ligocommands ligolw_print_tables dmtdq_seg_insert ldbdc ldbdd ldg_submit_dax \ - ligolw_cbc_glitch_page ligolw_combine_segments ligolw_diff ligolw_dq_active ligolw_dq_active_cats \ - ligolw_dq_grapher ligolw_dq_query ligolw_geo_fr_to_dq ligolw_inspiral2mon \ - ligolw_publish_dqxml ligolw_segment_diff ligolw_segment_insert ligolw_segment_intersect \ - ligolw_segment_query ligolw_segment_union ligolw_segments_from_cats ligolw_segments_from_cats_split \ - ligolw_veto_def_check ligolw_veto_sngl_trigger segdb_coalesce +%define ligocommands ligolw_combine_segments ligolw_diff ligolw_dq_active ligolw_dq_active_cats ligolw_inspiral2mon ligolw_print_tables %define modname glue Name: lscsoft-glue%{psuffix} -Version: 2.1.0 +Version: 3.0.1 Release: 0 Summary: Grid LSC User Environment License: GPL-2.0-only URL: http://software.ligo.org/lscsoft -Source: http://software.ligo.org/lscsoft/source/lscsoft-glue-%{version}.tar.gz -# PATCH-FIX-UPSTREAM lscsoft-glue-python-3.10-fixes.patch [email protected] -- Fix python3.10 compatibility; patch taken from upstream merge request [https://git.ligo.org/lscsoft/glue/-/merge_requests/83] -Patch0: lscsoft-glue-python-3.10-fixes.patch -# PATCH-FIX-UPSTREAM lscsoft-glue-disable-doctest.patch [email protected] -- Disable some doctests not yet ready for python 3.10 -Patch1: lscsoft-glue-disable-doctest.patch +Source: https://files.pythonhosted.org/packages/source/l/lscsoft-glue/%{pname}-%{version}.tar.gz BuildRequires: %{python_module devel} BuildRequires: %{python_module setuptools} BuildRequires: fdupes BuildRequires: python-rpm-macros +Requires: %{pname}-data = %{version} Requires: python-ligo-segments Requires: python-numpy +Requires: python-pyRXP Provides: python-glue = %{version}-%{release} Obsoletes: python-glue < %{version}-%{release} %define oldpython python @@ -66,6 +62,8 @@ BuildRequires: %{python_module lscsoft-glue = %{version}} BuildRequires: %{python_module matplotlib} BuildRequires: %{python_module numpy} +BuildRequires: %{python_module pyRXP} +BuildRequires: %{python_module pytest} %endif Requires(post): update-alternatives Requires(postun):update-alternatives @@ -77,11 +75,24 @@ utilities. It also provides the infrastructure for the segment database. +%package -n %{pname}-data +Summary: Collection of data files for use by %{name} + +%description -n %{pname}-data +Glue is a collection of utilities for running data analysis pipelines +for online and offline analysis as well as accessing various grid +utilities. It also provides the infrastructure for the segment +database. + +This package provides a common set of data files for %{name}. + %prep -%autosetup -p1 -n lscsoft-glue-%{version} +%autosetup -p1 -n %{pname}-%{version} %build +%if ! %{with test} %python_build +%endif %install %if ! %{with test} @@ -99,15 +110,10 @@ %python_expand %fdupes -s %{buildroot}%{$python_sitearch} %endif -%check %if %{with test} -%{python_expand export PYTHON=$python -export PYTHONDONTWRITEBYTECODE=1 -cp -r test test-%{$python_bin_suffix} -pushd test-%{$python_bin_suffix} -%make_build check -popd -} +%check +# test_ldbd.py requires network; disable +%pytest_arch -k 'not test_ldbd' %endif %if ! %{with test} @@ -118,6 +124,9 @@ # arguments after the master item are ignored %python_uninstall_alternative %ligocommands +%files -n %{pname}-data +%{_datadir}/%{name}/ + %files %{python_files} %doc README.md %license LICENSE ++++++ lscsoft-glue-2.1.0.tar.gz -> lscsoft-glue-3.0.1.tar.gz ++++++ ++++ 30632 lines of diff (skipped)
