Hello community,

here is the log from the commit of package python-zdaemon for 
openSUSE:Leap:15.2 checked in at 2020-03-02 13:25:15
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Leap:15.2/python-zdaemon (Old)
 and      /work/SRC/openSUSE:Leap:15.2/.python-zdaemon.new.26092 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "python-zdaemon"

Mon Mar  2 13:25:15 2020 rev:12 rq:777309 version:4.3

Changes:
--------
--- /work/SRC/openSUSE:Leap:15.2/python-zdaemon/python-zdaemon.changes  
2020-01-15 15:54:42.351641322 +0100
+++ 
/work/SRC/openSUSE:Leap:15.2/.python-zdaemon.new.26092/python-zdaemon.changes   
    2020-03-02 13:25:15.838625815 +0100
@@ -1,0 +2,19 @@
+Thu Sep 12 17:12:56 UTC 2019 - Tomáš Chvátal <[email protected]>
+
+- Patch out flaky tests that seldomly fails in obs:
+  * obs-timeout.patch
+
+-------------------------------------------------------------------
+Tue Apr  9 10:53:45 UTC 2019 - Marketa Calabkova <[email protected]>
+
+- update to version 4.3
+  * Add support for Python 3.6 and 3.7.
+  * Drop support for Python 3.3.
+- Launch tests.
+
+-------------------------------------------------------------------
+Tue Dec  4 12:56:25 UTC 2018 - Matej Cepl <[email protected]>
+
+- Remove superfluous devel dependency for noarch package
+
+-------------------------------------------------------------------

Old:
----
  zdaemon-4.2.0.tar.gz

New:
----
  obs-timeout.patch
  zdaemon-4.3.tar.gz

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Other differences:
------------------
++++++ python-zdaemon.spec ++++++
--- /var/tmp/diff_new_pack.vmJWVs/_old  2020-03-02 13:25:16.194626523 +0100
+++ /var/tmp/diff_new_pack.vmJWVs/_new  2020-03-02 13:25:16.194626523 +0100
@@ -1,7 +1,7 @@
 #
 # spec file for package python-zdaemon
 #
-# Copyright (c) 2017 SUSE LINUX GmbH, Nuernberg, Germany.
+# Copyright (c) 2019 SUSE LINUX GmbH, Nuernberg, Germany.
 #
 # All modifications and additions to the file contributed by third parties
 # remain the property of their copyright owners, unless otherwise agreed
@@ -12,29 +12,33 @@
 # license that conforms to the Open Source Definition (Version 1.9)
 # published by the Open Source Initiative.
 
-# Please submit bugfixes or comments via http://bugs.opensuse.org/
+# Please submit bugfixes or comments via https://bugs.opensuse.org/
 #
 
 
 %define modname zdaemon
 %{?!python_module:%define python_module() python-%{**} python3-%{**}}
 Name:           python-%{modname}
-Version:        4.2.0
+Version:        4.3
 Release:        0
 Summary:        Daemon process control library and tools
 License:        ZPL-2.1
 Group:          Development/Languages/Python
-Url:            https://github.com/zopefoundation/zdaemon
+URL:            https://github.com/zopefoundation/zdaemon
 Source:         
https://files.pythonhosted.org/packages/source/z/zdaemon/%{modname}-%{version}.tar.gz
+Patch0:         obs-timeout.patch
 BuildRequires:  %{python_module ZConfig}
-BuildRequires:  %{python_module devel}
+BuildRequires:  %{python_module manuel}
+BuildRequires:  %{python_module mock}
 BuildRequires:  %{python_module setuptools}
+BuildRequires:  %{python_module zc.customdoctests}
+BuildRequires:  %{python_module zope.testing}
+BuildRequires:  %{python_module zope.testrunner}
 BuildRequires:  fdupes
 BuildRequires:  python-rpm-macros
 Requires:       python-ZConfig
 Requires(post): update-alternatives
 Requires(preun): update-alternatives
-BuildRoot:      %{_tmppath}/%{name}-%{version}-build
 BuildArch:      noarch
 %python_subpackages
 
@@ -46,6 +50,7 @@
 
 %prep
 %setup -q -n %{modname}-%{version}
+%patch0 -p1
 # remove unwanted shebang
 sed -i '1 { /^#!/ d }' src/zdaemon/tests/nokill.py
 rm -rf src/zdaemon.egg-info
@@ -55,10 +60,13 @@
 
 %install
 %python_install
-%python_expand %fdupes -s %{buildroot}%{$python_sitelib}
+%python_expand %fdupes %{buildroot}%{$python_sitelib}
 
 %python_clone -a %{buildroot}%{_bindir}/zdaemon
 
+%check
+%python_exec setup.py test
+
 %post
 %python_install_alternative zdaemon
 
@@ -66,8 +74,8 @@
 %python_uninstall_alternative zdaemon
 
 %files %{python_files}
-%defattr(-,root,root)
-%doc README.rst CHANGES.rst LICENSE.txt
+%license LICENSE.txt
+%doc README.rst CHANGES.rst
 %python_alternative %{_bindir}/zdaemon
 %{python_sitelib}/*
 

++++++ obs-timeout.patch ++++++
Index: zdaemon-4.3/src/zdaemon/tests/tests.py
===================================================================
--- zdaemon-4.3.orig/src/zdaemon/tests/tests.py
+++ zdaemon-4.3/src/zdaemon/tests/tests.py
@@ -264,77 +264,6 @@ def test_log_rotation():
     """
 
 
-def test_start_test_program():
-    """
-    >>> write('t.py',
-    ... '''
-    ... import time
-    ... time.sleep(1)
-    ... open('x', 'w').close()
-    ... time.sleep(99)
-    ... ''')
-
-    >>> write('conf',
-    ... '''
-    ... <runner>
-    ...   program %s t.py
-    ...   start-test-program cat x
-    ... </runner>
-    ... ''' % sys.executable)
-
-    >>> import os
-
-    >>> system("./zdaemon -Cconf start")
-    . .
-    daemon process started, pid=21446
-
-    >>> os.path.exists('x')
-    True
-    >>> os.remove('x')
-
-    >>> system("./zdaemon -Cconf restart")
-    . . .
-    daemon process restarted, pid=19622
-    >>> os.path.exists('x')
-    True
-
-    >>> system("./zdaemon -Cconf stop")
-    <BLANKLINE>
-    daemon process stopped
-    """
-
-
-def test_start_timeout():
-    """
-    >>> write('t.py',
-    ... '''
-    ... import time
-    ... time.sleep(9)
-    ... ''')
-
-    >>> write('conf',
-    ... '''
-    ... <runner>
-    ...   program %s t.py
-    ...   start-test-program cat x
-    ...   start-timeout 1
-    ... </runner>
-    ... ''' % sys.executable)
-
-    >>> import time
-    >>> start = time.time()
-
-    >>> system("./zdaemon -Cconf start")
-    <BLANKLINE>
-    Program took too long to start
-    Failed: 1
-
-    >>> system("./zdaemon -Cconf stop")
-    <BLANKLINE>
-    daemon process stopped
-    """
-
-
 def DAEMON_MANAGER_MODE_leak():
     """
     Zdaemon used an environment variable to flag that it's running in
++++++ zdaemon-4.2.0.tar.gz -> zdaemon-4.3.tar.gz ++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/zdaemon-4.2.0/.coveragerc new/zdaemon-4.3/.coveragerc
--- old/zdaemon-4.2.0/.coveragerc       2016-12-07 08:13:25.000000000 +0100
+++ new/zdaemon-4.3/.coveragerc 2018-10-30 10:11:37.000000000 +0100
@@ -1,6 +1,6 @@
 [run]
 source = $COVERAGE_HOME/src/zdaemon
-omit = */tests/*, */__main__.py
+omit = */__main__.py
 parallel = true
 data_file = $COVERAGE_HOME/.coverage
 
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/zdaemon-4.2.0/.gitignore new/zdaemon-4.3/.gitignore
--- old/zdaemon-4.2.0/.gitignore        1970-01-01 01:00:00.000000000 +0100
+++ new/zdaemon-4.3/.gitignore  2018-10-30 10:11:37.000000000 +0100
@@ -0,0 +1,11 @@
+*.pyc
+*.egg-info
+__pycache__
+.tox/
+.installed.cfg
+bin/
+develop-eggs/
+eggs/
+parts/
+.coverage
+.coverage.*
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/zdaemon-4.2.0/.travis.yml new/zdaemon-4.3/.travis.yml
--- old/zdaemon-4.2.0/.travis.yml       1970-01-01 01:00:00.000000000 +0100
+++ new/zdaemon-4.3/.travis.yml 2018-10-30 10:11:37.000000000 +0100
@@ -0,0 +1,29 @@
+language: python
+sudo: false
+python:
+    - 2.7
+    - 3.4
+    - 3.5
+    - 3.6
+    - pypy
+    - pypy3
+matrix:
+    include:
+        - python: "3.7"
+          dist: xenial
+          sudo: true
+install:
+    - pip install -U pip setuptools
+    - pip install -U coverage coveralls
+    - pip install -U -e .[test]
+script:
+    - export COVERAGE_HOME=$(pwd)
+    - export COVERAGE_PROCESS_START=$COVERAGE_HOME/.coveragerc
+    - coverage run -m zope.testrunner --test-path=src
+    - coverage combine
+after_success:
+    - coveralls
+notifications:
+    email: false
+cache: pip
+
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/zdaemon-4.2.0/CHANGES.rst new/zdaemon-4.3/CHANGES.rst
--- old/zdaemon-4.2.0/CHANGES.rst       2016-12-07 08:13:25.000000000 +0100
+++ new/zdaemon-4.3/CHANGES.rst 2018-10-30 10:11:37.000000000 +0100
@@ -2,6 +2,14 @@
 Change log
 ==========
 
+4.3 (2018-10-30)
+================
+
+- Add support for Python 3.6 and 3.7.
+
+- Drop support for Python 3.3.
+
+
 4.2.0 (2016-12-07)
 ==================
 
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/zdaemon-4.2.0/PKG-INFO new/zdaemon-4.3/PKG-INFO
--- old/zdaemon-4.2.0/PKG-INFO  2016-12-07 08:13:25.000000000 +0100
+++ new/zdaemon-4.3/PKG-INFO    2018-10-30 10:11:38.000000000 +0100
@@ -1,6 +1,6 @@
-Metadata-Version: 1.1
+Metadata-Version: 2.1
 Name: zdaemon
-Version: 4.2.0
+Version: 4.3
 Summary: Daemon process control library and tools for Unix-based systems
 Home-page: https://github.com/zopefoundation/zdaemon
 Author: Zope Foundation and Contributors
@@ -546,6 +546,14 @@
         Change log
         ==========
         
+        4.3 (2018-10-30)
+        ================
+        
+        - Add support for Python 3.6 and 3.7.
+        
+        - Drop support for Python 3.3.
+        
+        
         4.2.0 (2016-12-07)
         ==================
         
@@ -874,10 +882,12 @@
 Classifier: Programming Language :: Python :: 2
 Classifier: Programming Language :: Python :: 2.7
 Classifier: Programming Language :: Python :: 3
-Classifier: Programming Language :: Python :: 3.3
 Classifier: Programming Language :: Python :: 3.4
 Classifier: Programming Language :: Python :: 3.5
+Classifier: Programming Language :: Python :: 3.6
+Classifier: Programming Language :: Python :: 3.7
 Classifier: Programming Language :: Python :: Implementation :: CPython
 Classifier: Programming Language :: Python :: Implementation :: PyPy
 Classifier: Operating System :: POSIX
 Classifier: Topic :: Utilities
+Provides-Extra: test
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/zdaemon-4.2.0/setup.cfg new/zdaemon-4.3/setup.cfg
--- old/zdaemon-4.2.0/setup.cfg 2016-12-07 08:13:25.000000000 +0100
+++ new/zdaemon-4.3/setup.cfg   2018-10-30 10:11:38.000000000 +0100
@@ -4,5 +4,4 @@
 [egg_info]
 tag_build = 
 tag_date = 0
-tag_svn_revision = 0
 
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/zdaemon-4.2.0/setup.py new/zdaemon-4.3/setup.py
--- old/zdaemon-4.2.0/setup.py  2016-12-07 08:13:25.000000000 +0100
+++ new/zdaemon-4.3/setup.py    2018-10-30 10:11:37.000000000 +0100
@@ -57,7 +57,7 @@
 
 setup(
     name="zdaemon",
-    version='4.2.0',
+    version='4.3',
     url="https://github.com/zopefoundation/zdaemon";,
     license="ZPL 2.1",
     description=
@@ -81,9 +81,10 @@
        'Programming Language :: Python :: 2',
        'Programming Language :: Python :: 2.7',
        'Programming Language :: Python :: 3',
-       'Programming Language :: Python :: 3.3',
        'Programming Language :: Python :: 3.4',
        'Programming Language :: Python :: 3.5',
+       'Programming Language :: Python :: 3.6',
+       'Programming Language :: Python :: 3.7',
        'Programming Language :: Python :: Implementation :: CPython',
        'Programming Language :: Python :: Implementation :: PyPy',
        'Operating System :: POSIX',
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/zdaemon-4.2.0/src/zdaemon.egg-info/PKG-INFO 
new/zdaemon-4.3/src/zdaemon.egg-info/PKG-INFO
--- old/zdaemon-4.2.0/src/zdaemon.egg-info/PKG-INFO     2016-12-07 
08:13:25.000000000 +0100
+++ new/zdaemon-4.3/src/zdaemon.egg-info/PKG-INFO       2018-10-30 
10:11:38.000000000 +0100
@@ -1,6 +1,6 @@
-Metadata-Version: 1.1
+Metadata-Version: 2.1
 Name: zdaemon
-Version: 4.2.0
+Version: 4.3
 Summary: Daemon process control library and tools for Unix-based systems
 Home-page: https://github.com/zopefoundation/zdaemon
 Author: Zope Foundation and Contributors
@@ -546,6 +546,14 @@
         Change log
         ==========
         
+        4.3 (2018-10-30)
+        ================
+        
+        - Add support for Python 3.6 and 3.7.
+        
+        - Drop support for Python 3.3.
+        
+        
         4.2.0 (2016-12-07)
         ==================
         
@@ -874,10 +882,12 @@
 Classifier: Programming Language :: Python :: 2
 Classifier: Programming Language :: Python :: 2.7
 Classifier: Programming Language :: Python :: 3
-Classifier: Programming Language :: Python :: 3.3
 Classifier: Programming Language :: Python :: 3.4
 Classifier: Programming Language :: Python :: 3.5
+Classifier: Programming Language :: Python :: 3.6
+Classifier: Programming Language :: Python :: 3.7
 Classifier: Programming Language :: Python :: Implementation :: CPython
 Classifier: Programming Language :: Python :: Implementation :: PyPy
 Classifier: Operating System :: POSIX
 Classifier: Topic :: Utilities
+Provides-Extra: test
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/zdaemon-4.2.0/src/zdaemon.egg-info/SOURCES.txt 
new/zdaemon-4.3/src/zdaemon.egg-info/SOURCES.txt
--- old/zdaemon-4.2.0/src/zdaemon.egg-info/SOURCES.txt  2016-12-07 
08:13:25.000000000 +0100
+++ new/zdaemon-4.3/src/zdaemon.egg-info/SOURCES.txt    2018-10-30 
10:11:38.000000000 +0100
@@ -1,4 +1,6 @@
 .coveragerc
+.gitignore
+.travis.yml
 CHANGES.rst
 COPYRIGHT.txt
 LICENSE.txt
@@ -23,7 +25,6 @@
 src/zdaemon.egg-info/dependency_links.txt
 src/zdaemon.egg-info/entry_points.txt
 src/zdaemon.egg-info/not-zip-safe
-src/zdaemon.egg-info/pbr.json
 src/zdaemon.egg-info/requires.txt
 src/zdaemon.egg-info/top_level.txt
 src/zdaemon/tests/__init__.py
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/zdaemon-4.2.0/src/zdaemon.egg-info/pbr.json 
new/zdaemon-4.3/src/zdaemon.egg-info/pbr.json
--- old/zdaemon-4.2.0/src/zdaemon.egg-info/pbr.json     2016-12-07 
08:13:25.000000000 +0100
+++ new/zdaemon-4.3/src/zdaemon.egg-info/pbr.json       1970-01-01 
01:00:00.000000000 +0100
@@ -1 +0,0 @@
-{"is_release": true, "git_version": "88f559b"}
\ No newline at end of file
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/zdaemon-4.2.0/tox.ini new/zdaemon-4.3/tox.ini
--- old/zdaemon-4.2.0/tox.ini   2016-12-07 08:13:25.000000000 +0100
+++ new/zdaemon-4.3/tox.ini     2018-10-30 10:11:37.000000000 +0100
@@ -1,31 +1,23 @@
 [tox]
-#   PyPy3 support pending a release of a fix for
-#   https://bitbucket.org/pypy/pypy/issue/1946)
-#envlist = py27,py33,py34,pypy,pypy3
-envlist = py27,py33,py34,py35,pypy
+envlist = py27,py34,py35,py36,py37,pypy,pypy3,coverage
 
 [testenv]
 commands =
-    python setup.py -q test -q
-# without explicit deps, setup.py test will download a bunch of eggs into $PWD
+    zope-testrunner --test-path=src []
 deps =
-    zc.customdoctests
-    zope.testing
-    zope.testrunner
-    manuel
-    mock
+    .[test]
 
 [testenv:coverage]
 usedevelop = true
 basepython =
-    python2.7
+    python3.6
 setenv =
     COVERAGE_HOME={toxinidir}
     COVERAGE_PROCESS_START={toxinidir}/.coveragerc
 commands =
-    coverage run --source=zdaemon setup.py -q test
+    coverage run -m zope.testrunner --test-path=src []
     coverage combine
-    coverage report
+    coverage report --fail-under=83
 deps =
     {[testenv]deps}
     coverage


Reply via email to