Overview

Request 952233 accepted

- Add Obsoletes: python-PyCBC <= 1.18.0 to PyCBC-utils package to avoid conflicts during updates.
- Disable builds for python <= 3.6 by requiring python-devel >=
3.7 in keeping with setup.py.
- Update to version 2.0.1:
- Split out utilities into new package called PyCBC-utils, which
requires the default py3 flavour.
- Build the python module itself for all supported python
flavours; disable python2 which is no longer supported by PyCBC
or its dependencies.
- Run tests using pytest; note that using the pytest_arch macro
leads to errors, so we largely replicate its behaviour except
for running pytest itself without any options passed to it.
- Re-check which tests work and rm those which do not to avoid
module import errors.
- New BuildRequires: python-pyFFTW.

Loading...

Atri Bhattacharya's avatar

Weird that installcheck still complains, but this update works on my docker tests (the allow vendor change is due to updating an oss package with one from staging:adi:30):

zypper in --no-recommends --allow-vendor-change PyCBC-utils
Loading repository data...
Reading installed packages...
Resolving package dependencies...

The following 78 NEW packages are going to be installed:
  PyCBC-utils hdf5 lalsimulation-data libblas3 libcblas3 libcfitsio9 liberfa1 libfftw3-3 libframel8 libgdbm6 libgdbm_compat4 libgfortran5 libgsl25 libgslcblas0 libhdf5-103
  libhdf5_cpp103 libhdf5_fortran102 libhdf5_hl100 libhdf5_hl_cpp100 libhdf5hl_fortran100 liblal20 liblalframe11 liblalpulsar23 liblalsimulation29 liblalsupport14 liblapack3
  libnsl3 libopenblas_pthreads0 libquadmath0 libtirpc-netconfig libtirpc3 libwcs7 python38 python38-PyCBC python38-PyYAML python38-apipkg python38-astropy
  python38-beautifulsoup4 python38-cached-property python38-certifi python38-cffi python38-charset-normalizer python38-cryptography python38-dbm python38-decorator
  python38-dragonmapper python38-freezegun python38-h5py python38-hanzidentifier python38-idna python38-iniconfig python38-lal python38-lalframe python38-lalpulsar
  python38-lalsimulation python38-ligo-lw python38-ligo-segments python38-loguru python38-lscsoft-glue python38-numpy python38-packaging python38-prettytable python38-py
  python38-pyOpenSSL python38-pybind11 python38-pycparser python38-pyerfa python38-pyparsing python38-python-dateutil python38-requests python38-scipy python38-six
  python38-soupsieve python38-tqdm python38-urllib3 python38-wcwidth python38-zhon update-alternatives

The following package is going to be REMOVED:
  python3-PyCBC

78 new packages to install, 1 to remove.
Overall download size: 58.5 MiB. Already cached: 0 B. After the operation, additional 238.1 MiB will be used.
Continue? [y/n/v/...? shows all options] (y): n


Dominique Leuenberger's avatar

Not surprising at all

127+%package -n %{modname}-utils
128+Summary:        PyCBC utilities to analyze gravitational-wave data
129+Requires:       python3-PyCBC = %{version}
130+Obsoletes:      python-%{modname} <= 1.18.0

You should Obsolete python3-%{modname} - as PyCBC-utils is not a 'python-*' package, the python spec rewriter does not change that obsoleted to be flavor specific (and it couldn't - there are no flavors built for this package)

Which is why the bot still sees

found conflict of PyCBC-utils-2.0.1-1.1.x86_64 with python3-PyCBC-1.18.0-2.3.x86_64


Atri Bhattacharya's avatar

Ah, indeed. Thanks a lot.

Request History
Atri Bhattacharya's avatar

badshah400 created request

- Add Obsoletes: python-PyCBC <= 1.18.0 to PyCBC-utils package to avoid conflicts during updates.
- Disable builds for python <= 3.6 by requiring python-devel >=
3.7 in keeping with setup.py.
- Update to version 2.0.1:
- Split out utilities into new package called PyCBC-utils, which
requires the default py3 flavour.
- Build the python module itself for all supported python
flavours; disable python2 which is no longer supported by PyCBC
or its dependencies.
- Run tests using pytest; note that using the pytest_arch macro
leads to errors, so we largely replicate its behaviour except
for running pytest itself without any options passed to it.
- Re-check which tests work and rm those which do not to avoid
module import errors.
- New BuildRequires: python-pyFFTW.


Factory Auto's avatar

factory-auto added opensuse-review-team as a reviewer

Please review sources


Factory Auto's avatar

factory-auto accepted review

Check script succeeded


Saul Goodman's avatar

licensedigger accepted review

ok


Dominique Leuenberger's avatar

dimstar_suse added as a reviewer

Being evaluated by staging project "openSUSE:Factory:Staging:adi:30"


Dominique Leuenberger's avatar

dimstar_suse accepted review

Picked "openSUSE:Factory:Staging:adi:30"


Dominique Leuenberger's avatar

dimstar accepted review


Dominique Leuenberger's avatar

dimstar_suse accepted review

Staging Project openSUSE:Factory:Staging:adi:30 got accepted.


Dominique Leuenberger's avatar

dimstar_suse approved review

Staging Project openSUSE:Factory:Staging:adi:30 got accepted.


Dominique Leuenberger's avatar

dimstar_suse accepted request

Staging Project openSUSE:Factory:Staging:adi:30 got accepted.

openSUSE Build Service is sponsored by