Script 'mail_helper' called by obssrc Hello community, here is the log from the commit of package python-distob for openSUSE:Factory checked in at 2022-01-24 23:09:46 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/python-distob (Old) and /work/SRC/openSUSE:Factory/.python-distob.new.1938 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "python-distob" Mon Jan 24 23:09:46 2022 rev:3 rq:948292 version:0.3.3 Changes: -------- --- /work/SRC/openSUSE:Factory/python-distob/python-distob.changes 2021-04-19 21:06:40.060089488 +0200 +++ /work/SRC/openSUSE:Factory/.python-distob.new.1938/python-distob.changes 2022-01-24 23:10:09.534690346 +0100 @@ -1,0 +2,6 @@ +Sun Jan 23 23:44:49 UTC 2022 - Steve Kowalik <[email protected]> + +- Add patch support-python-310.patch: + * Use correct import path for Sequence. + +------------------------------------------------------------------- New: ---- support-python-310.patch ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ python-distob.spec ++++++ --- /var/tmp/diff_new_pack.fASM5g/_old 2022-01-24 23:10:10.050686820 +0100 +++ /var/tmp/diff_new_pack.fASM5g/_new 2022-01-24 23:10:10.054686793 +0100 @@ -1,7 +1,7 @@ # # spec file for package python-distob # -# Copyright (c) 2021 SUSE LLC +# Copyright (c) 2022 SUSE LLC # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -16,9 +16,8 @@ # -%{?!python_module:%define python_module() python-%{**} python3-%{**}} +%{?!python_module:%define python_module() python3-%{**}} %define skip_python2 1 -%define skip_python36 1 Name: python-distob Version: 0.3.3 Release: 0 @@ -26,6 +25,7 @@ License: GPL-3.0-or-later URL: https://github.com/mattja/distob/ Source: https://files.pythonhosted.org/packages/source/d/distob/distob-%{version}.tar.gz +Patch0: support-python-310.patch BuildRequires: %{python_module devel} BuildRequires: %{python_module setuptools} BuildRequires: fdupes @@ -62,7 +62,7 @@ done in parallel. %prep -%setup -q -n distob-%{version} +%autosetup -p1 -n distob-%{version} %build %python_build ++++++ support-python-310.patch ++++++ Index: distob-0.3.3/distob/arrays.py =================================================================== --- distob-0.3.3.orig/distob/arrays.py +++ distob-0.3.3/distob/arrays.py @@ -6,7 +6,7 @@ from .distob import (proxy_methods, Remo scatter, gather, _directed_scatter, _scatter_ndarray, vectorize, call, methodcall, convert_result) import numpy as np -from collections import Sequence +from collections.abc import Sequence import numbers import types import warnings
