15
0

Accepting request 998227 from devel:languages:python

OBS-URL: https://build.opensuse.org/request/show/998227
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-PyCondor?expand=0&rev=3
This commit is contained in:
2022-08-20 18:28:56 +00:00
committed by Git OBS Bridge
5 changed files with 28 additions and 34 deletions

View File

@@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:9cf8b54159fe3a654d71ffc815840c642f3bd0c89edb401952d6b9092abf0cc2
size 28231

3
PyCondor-0.6.0.tar.gz Normal file
View File

@@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:3424b8f51ac63a18d3c12e1dae5316a5faa0c1dd1606bb6c1f524df5c031fcb5
size 30252

View File

@@ -1,27 +0,0 @@
From b41b17546c898d5cc2368b92fda86473c605e923 Mon Sep 17 00:00:00 2001
From: Duncan Macleod <duncanmmacleod@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)

View File

@@ -1,3 +1,27 @@
-------------------------------------------------------------------
Fri Aug 19 14:03:26 UTC 2022 - Yogalakshmi Arunachalam <yarunachalam@suse.com>
- Removed python-PyCondor-collections.abc-Iterable.patch.
Already applied upstream
-------------------------------------------------------------------
Wed Aug 17 22:59:08 UTC 2022 - Yogalakshmi Arunachalam <yarunachalam@suse.com>
- update to 0.6.0
* Bug fix release to get development started again.
New Features:
* No new features added
Changes:
* Transition to pycondor namespace (See :pr:`149`)
Improvements to testing and infrastructure (See :pr:`135`, :pr:`148`, :pr:`149`, :pr:`141`, and :pr:`152`)
Use sphinx extlinks in the changelog (See :pr:`130`)
Bug Fixes:
* Fix counting of unready jobs in monitor (See :pr:`138`)
* Updates to the logging setup (See :pr:`129`)
* Fix issue in python 3.8 (See :pr:`140`)
Documentation:
* Migrate documentation to readthedocs (See :pr:`150`)
-------------------------------------------------------------------
Wed Jan 26 10:22:01 UTC 2022 - pgajdos@suse.com

View File

@@ -18,14 +18,12 @@
%global modname PyCondor
Name: python-PyCondor
Version: 0.5.0
Version: 0.6.0
Release: 0
Summary: Python utility for HTCondor
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
@@ -44,7 +42,6 @@ PyCondor (Python HTCondor) is a tool to help build and submit workflows to HTCon
%prep
%setup -q -n PyCondor-%{version}
%patch0 -p1
sed -Ei "1{/^#!\/usr\/bin\/env python/d}" pycondor/tests/example_script.py
%build