Script 'mail_helper' called by obssrc Hello community, here is the log from the commit of package python-PyCondor for openSUSE:Factory checked in at 2022-01-26 21:27:29 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/python-PyCondor (Old) and /work/SRC/openSUSE:Factory/.python-PyCondor.new.1938 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "python-PyCondor" Wed Jan 26 21:27:29 2022 rev:2 rq:949273 version:0.5.0 Changes: -------- --- /work/SRC/openSUSE:Factory/python-PyCondor/python-PyCondor.changes 2020-08-10 15:10:03.996279038 +0200 +++ /work/SRC/openSUSE:Factory/.python-PyCondor.new.1938/python-PyCondor.changes 2022-01-26 21:28:31.505355072 +0100 @@ -1,0 +2,8 @@ +Wed Jan 26 10:22:01 UTC 2022 - pgaj...@suse.com + +- fix build with newer pythons +- added patches + https://github.com/jrbourbeau/pycondor/commit/b41b17546c898d5cc2368b92fda86473c605e923 + + python-PyCondor-collections.abc-Iterable.patch + +------------------------------------------------------------------- New: ---- python-PyCondor-collections.abc-Iterable.patch ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ python-PyCondor.spec ++++++ --- /var/tmp/diff_new_pack.KS0T6A/_old 2022-01-26 21:28:31.869352563 +0100 +++ /var/tmp/diff_new_pack.KS0T6A/_new 2022-01-26 21:28:31.877352508 +0100 @@ -1,7 +1,7 @@ # # spec file for package python-PyCondor # -# Copyright (c) 2020 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 @@ -24,12 +24,14 @@ License: MIT URL: https://github.com/jrbourbeau/pycondor Source: https://files.pythonhosted.org/packages/source/P/PyCondor/PyCondor-%{version}.tar.gz +# https://github.com/jrbourbeau/pycondor/commit/b41b17546c898d5cc2368b92fda86473c605e923 +Patch0: python-PyCondor-collections.abc-Iterable.patch BuildRequires: %{python_module devel} BuildRequires: %{python_module setuptools} BuildRequires: fdupes BuildRequires: python-rpm-macros Requires(post): update-alternatives -Requires(postun): update-alternatives +Requires(postun):update-alternatives BuildArch: noarch # SECTION For tests BuildRequires: %{python_module click >= 7.0} @@ -42,6 +44,7 @@ %prep %setup -q -n PyCondor-%{version} +%patch0 -p1 sed -Ei "1{/^#!\/usr\/bin\/env python/d}" pycondor/tests/example_script.py %build ++++++ python-PyCondor-collections.abc-Iterable.patch ++++++ >From b41b17546c898d5cc2368b92fda86473c605e923 Mon Sep 17 00:00:00 2001 From: Duncan Macleod <duncanmmacl...@gmail.com> Date: Thu, 18 Apr 2019 16:06:08 +0100 Subject: [PATCH] updated import for python3.8 (#140) --- pycondor/job.py | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/pycondor/job.py b/pycondor/job.py index ef6f1bf..47762b6 100644 --- a/pycondor/job.py +++ b/pycondor/job.py @@ -1,7 +1,11 @@ import os import subprocess -from collections import namedtuple, Iterable +from collections import namedtuple +try: + from collections.abc import Iterable +except ImportError: # python < 3.3 + from collections import Iterable from .utils import (checkdir, string_rep, requires_command, split_command_string, decode_string)