Hello community,

here is the log from the commit of package python-stevedore for 
openSUSE:Factory checked in at 2014-09-24 13:10:00
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/python-stevedore (Old)
 and      /work/SRC/openSUSE:Factory/.python-stevedore.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "python-stevedore"

Changes:
--------
--- /work/SRC/openSUSE:Factory/python-stevedore/python-stevedore.changes        
2014-03-28 13:18:03.000000000 +0100
+++ /work/SRC/openSUSE:Factory/.python-stevedore.new/python-stevedore.changes   
2014-09-24 13:10:22.000000000 +0200
@@ -1,0 +2,25 @@
+Tue Sep 23 07:21:10 UTC 2014 - [email protected]
+
+- add python-argparse dependency 
+
+-------------------------------------------------------------------
+Sun Sep 21 20:03:38 UTC 2014 - [email protected]
+
+- Add missing python-six Requires
+
+-------------------------------------------------------------------
+Fri Sep 19 07:28:33 UTC 2014 - [email protected]
+
+- update to 1.0:
+  * Updated from global requirements
+  * Fix incorrect image reference in documentation
+  * Fix requirement handling in tox
+  * Updated from global requirements
+  * use six.add_metaclass
+  * Updated from global requirements
+  * driver: raise by default on import failure
+  * Add doc requirements to venv environ
+  * Import run_cross_tests.sh from oslo-incubator
+  * fix link to entry point docs
+
+-------------------------------------------------------------------

Old:
----
  stevedore-0.15.tar.gz

New:
----
  stevedore-1.0.0.tar.gz

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

Other differences:
------------------
++++++ python-stevedore.spec ++++++
--- /var/tmp/diff_new_pack.Wx34Vg/_old  2014-09-24 13:10:23.000000000 +0200
+++ /var/tmp/diff_new_pack.Wx34Vg/_new  2014-09-24 13:10:23.000000000 +0200
@@ -17,7 +17,7 @@
 
 
 Name:           python-stevedore
-Version:        0.15
+Version:        1.0.0
 Release:        0
 Summary:        Manage dynamic plugins for Python applications
 License:        Apache-2.0
@@ -32,6 +32,8 @@
 # Test requirements:
 #BuildRequires:  python-mock
 #BuildRequires:  python-nose
+Requires:       python-argparse
+Requires:       python-six >= 1.7
 BuildRoot:      %{_tmppath}/%{name}-%{version}-build
 %if 0%{?suse_version} && 0%{?suse_version} <= 1110
 %{!?python_sitelib: %global python_sitelib %(python -c "from 
distutils.sysconfig import get_python_lib; print get_python_lib()")}

++++++ stevedore-0.15.tar.gz -> stevedore-1.0.0.tar.gz ++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/stevedore-0.15/AUTHORS new/stevedore-1.0.0/AUTHORS
--- old/stevedore-0.15/AUTHORS  2014-03-27 21:43:00.000000000 +0100
+++ new/stevedore-1.0.0/AUTHORS 2014-09-18 12:51:54.000000000 +0200
@@ -1 +1,13 @@
-
+Chris Yeoh <[email protected]>
+Daniel Rocco <[email protected]>
+Dirk Mueller <[email protected]>
+Doug Hellmann <[email protected]>
+Doug Hellmann <[email protected]>
+Doug Hellmann <[email protected]>
+Joshua Harlow <[email protected]>
+Julien Danjou <[email protected]>
+Philip Tzou <[email protected]>
+Ryan Petrello <[email protected]>
+Wes Turner <[email protected]>
+markmcclain <[email protected]>
+shuangtai <[email protected]>
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/stevedore-0.15/ChangeLog 
new/stevedore-1.0.0/ChangeLog
--- old/stevedore-0.15/ChangeLog        2014-03-27 21:43:00.000000000 +0100
+++ new/stevedore-1.0.0/ChangeLog       2014-09-18 12:51:54.000000000 +0200
@@ -1,6 +1,25 @@
 CHANGES
 =======
 
+1.0.0
+-----
+
+* Build universal wheels
+
+1.0.0.0a1
+---------
+
+* Updated from global requirements
+* Fix incorrect image reference in documentation
+* Fix requirement handling in tox
+* Updated from global requirements
+* use six.add_metaclass
+* Updated from global requirements
+* driver: raise by default on import failure
+* Add doc requirements to venv environ
+* Import run_cross_tests.sh from oslo-incubator
+* fix link to entry point docs
+
 0.15
 ----
 
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/stevedore-0.15/PKG-INFO new/stevedore-1.0.0/PKG-INFO
--- old/stevedore-0.15/PKG-INFO 2014-03-27 21:43:00.000000000 +0100
+++ new/stevedore-1.0.0/PKG-INFO        2014-09-18 12:51:54.000000000 +0200
@@ -1,6 +1,6 @@
 Metadata-Version: 1.1
 Name: stevedore
-Version: 0.15
+Version: 1.0.0
 Summary: Manage dynamic plugins for Python applications
 Home-page: https://github.com/dreamhost/stevedore
 Author: Doug Hellmann
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/stevedore-0.15/announce.rst 
new/stevedore-1.0.0/announce.rst
--- old/stevedore-0.15/announce.rst     2014-03-27 21:42:43.000000000 +0100
+++ new/stevedore-1.0.0/announce.rst    2014-09-18 12:51:16.000000000 +0200
@@ -19,7 +19,7 @@
 
 .. _stevedore: http://stevedore.readthedocs.org
 
-.. _setuptools entry points: 
http://packages.python.org/distribute/pkg_resources.html#convenience-api
+.. _setuptools entry points: 
http://packages.python.org/setuptools/pkg_resources.html#convenience-api
 
 
 What's New?
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/stevedore-0.15/docs/requirements.txt 
new/stevedore-1.0.0/docs/requirements.txt
--- old/stevedore-0.15/docs/requirements.txt    2014-03-27 21:42:43.000000000 
+0100
+++ new/stevedore-1.0.0/docs/requirements.txt   2014-09-18 12:51:16.000000000 
+0200
@@ -1,2 +1,2 @@
-Pillow
-Sphinx
+Pillow==2.4.0 # MIT
+sphinx>=1.1.2,<1.2
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/stevedore-0.15/docs/source/essays/pycon2013.rst 
new/stevedore-1.0.0/docs/source/essays/pycon2013.rst
--- old/stevedore-0.15/docs/source/essays/pycon2013.rst 2014-03-27 
21:42:43.000000000 +0100
+++ new/stevedore-1.0.0/docs/source/essays/pycon2013.rst        2014-09-18 
12:51:16.000000000 +0200
@@ -314,7 +314,7 @@
 application.  I saw two basic techniques to help developers get their
 plugins right: convention and interfaces.
 
-.. image:: integration.jpg
+.. image:: api-enforcement.jpg
    :scale: 50
    :align: center
 
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/stevedore-0.15/openstack-common.conf 
new/stevedore-1.0.0/openstack-common.conf
--- old/stevedore-0.15/openstack-common.conf    1970-01-01 01:00:00.000000000 
+0100
+++ new/stevedore-1.0.0/openstack-common.conf   2014-09-18 12:51:16.000000000 
+0200
@@ -0,0 +1,7 @@
+[DEFAULT]
+
+# The list of modules to copy from oslo-incubator.git
+script = tools/run_cross_tests.sh
+
+# The base module to hold the copy of openstack.common
+base=stevedore
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/stevedore-0.15/requirements.txt 
new/stevedore-1.0.0/requirements.txt
--- old/stevedore-0.15/requirements.txt 2014-03-27 21:42:43.000000000 +0100
+++ new/stevedore-1.0.0/requirements.txt        2014-09-18 12:51:16.000000000 
+0200
@@ -1 +1,2 @@
 argparse
+six>=1.7.0
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/stevedore-0.15/setup.cfg 
new/stevedore-1.0.0/setup.cfg
--- old/stevedore-0.15/setup.cfg        2014-03-27 21:43:00.000000000 +0100
+++ new/stevedore-1.0.0/setup.cfg       2014-09-18 12:51:54.000000000 +0200
@@ -34,12 +34,16 @@
        t1 = stevedore.tests.test_extension:FauxExtension
        t2 = stevedore.tests.test_extension:FauxExtension
        e1 = stevedore.tests.test_extension:BrokenExtension
+       e2 = stevedore.tests.notfound:UnimportableExtension
 
 [build_sphinx]
 all_files = 1
 build-dir = docs/build
 source-dir = docs/source
 
+[wheel]
+universal = true
+
 [egg_info]
 tag_build = 
 tag_date = 0
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/stevedore-0.15/setup.py new/stevedore-1.0.0/setup.py
--- old/stevedore-0.15/setup.py 2014-03-27 21:42:43.000000000 +0100
+++ new/stevedore-1.0.0/setup.py        2014-09-18 12:51:16.000000000 +0200
@@ -1,14 +1,30 @@
 #!/usr/bin/env python
+# Copyright (c) 2013 Hewlett-Packard Development Company, L.P.
+#
+# Licensed under the Apache License, Version 2.0 (the "License");
+# you may not use this file except in compliance with the License.
+# You may obtain a copy of the License at
+#
+#    http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing, software
+# distributed under the License is distributed on an "AS IS" BASIS,
+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or
+# implied.
+# See the License for the specific language governing permissions and
+# limitations under the License.
+
+# THIS FILE IS MANAGED BY THE GLOBAL REQUIREMENTS REPO - DO NOT EDIT
 import setuptools
 
 # In python < 2.7.4, a lazy loading of package `pbr` will break
 # setuptools if some other modules registered functions in `atexit`.
 # solution from: http://bugs.python.org/issue15881#msg170215
 try:
-    import multiprocessing  # flake8: noqa
+    import multiprocessing  # noqa
 except ImportError:
     pass
 
 setuptools.setup(
-    setup_requires=['pbr>=0.5.21,<1.0'],
+    setup_requires=['pbr'],
     pbr=True)
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/stevedore-0.15/stevedore/driver.py 
new/stevedore-1.0.0/stevedore/driver.py
--- old/stevedore-0.15/stevedore/driver.py      2014-03-27 21:42:43.000000000 
+0100
+++ new/stevedore-1.0.0/stevedore/driver.py     2014-09-18 12:51:16.000000000 
+0200
@@ -33,6 +33,8 @@
                  invoke_on_load=False, invoke_args=(), invoke_kwds={},
                  on_load_failure_callback=None,
                  verify_requirements=False):
+        on_load_failure_callback = on_load_failure_callback \
+            or self._default_on_load_failure
         super(DriverManager, self).__init__(
             namespace=namespace,
             names=[name],
@@ -43,6 +45,10 @@
             verify_requirements=verify_requirements,
         )
 
+    @staticmethod
+    def _default_on_load_failure(drivermanager, ep, err):
+        raise err
+
     @classmethod
     def make_test_instance(cls, extension, namespace='TESTING',
                            propagate_map_exceptions=False,
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/stevedore-0.15/stevedore/example/base.py 
new/stevedore-1.0.0/stevedore/example/base.py
--- old/stevedore-0.15/stevedore/example/base.py        2014-03-27 
21:42:43.000000000 +0100
+++ new/stevedore-1.0.0/stevedore/example/base.py       2014-09-18 
12:51:16.000000000 +0200
@@ -1,12 +1,13 @@
 import abc
 
+import six
 
+
[email protected]_metaclass(abc.ABCMeta)
 class FormatterBase(object):
     """Base class for example plugin used in the tutoral.
     """
 
-    __metaclass__ = abc.ABCMeta
-
     def __init__(self, max_width=60):
         self.max_width = max_width
 
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/stevedore-0.15/stevedore/tests/test_callback.py 
new/stevedore-1.0.0/stevedore/tests/test_callback.py
--- old/stevedore-0.15/stevedore/tests/test_callback.py 2014-03-27 
21:42:43.000000000 +0100
+++ new/stevedore-1.0.0/stevedore/tests/test_callback.py        2014-09-18 
12:51:16.000000000 +0200
@@ -15,7 +15,7 @@
                                     on_load_failure_callback=failure_callback)
     extensions = list(em.extensions)
     assert len(extensions) > 0
-    assert len(errors) == 1
-    (manager, entrypoint, error) = errors[0]
-    assert manager is em
-    assert isinstance(error, IOError)
+    assert len(errors) == 2
+    for manager, entrypoint, error in errors:
+        assert manager is em
+        assert isinstance(error, (IOError, ImportError))
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/stevedore-0.15/stevedore/tests/test_driver.py 
new/stevedore-1.0.0/stevedore/tests/test_driver.py
--- old/stevedore-0.15/stevedore/tests/test_driver.py   2014-03-27 
21:42:43.000000000 +0100
+++ new/stevedore-1.0.0/stevedore/tests/test_driver.py  2014-09-18 
12:51:16.000000000 +0200
@@ -43,6 +43,15 @@
         assert "No 'stevedore.test.extension.none' driver found" in str(err)
 
 
+def test_bad_driver():
+    try:
+        driver.DriverManager('stevedore.test.extension', 'e2')
+    except ImportError:
+        pass
+    else:
+        assert False, "No error raised"
+
+
 def test_multiple_drivers():
     # The idea for this test was contributed by clayg:
     # https://gist.github.com/clayg/6311348
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/stevedore-0.15/stevedore.egg-info/PKG-INFO 
new/stevedore-1.0.0/stevedore.egg-info/PKG-INFO
--- old/stevedore-0.15/stevedore.egg-info/PKG-INFO      2014-03-27 
21:43:00.000000000 +0100
+++ new/stevedore-1.0.0/stevedore.egg-info/PKG-INFO     2014-09-18 
12:51:54.000000000 +0200
@@ -1,6 +1,6 @@
 Metadata-Version: 1.1
 Name: stevedore
-Version: 0.15
+Version: 1.0.0
 Summary: Manage dynamic plugins for Python applications
 Home-page: https://github.com/dreamhost/stevedore
 Author: Doug Hellmann
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/stevedore-0.15/stevedore.egg-info/SOURCES.txt 
new/stevedore-1.0.0/stevedore.egg-info/SOURCES.txt
--- old/stevedore-0.15/stevedore.egg-info/SOURCES.txt   2014-03-27 
21:43:00.000000000 +0100
+++ new/stevedore-1.0.0/stevedore.egg-info/SOURCES.txt  2014-09-18 
12:51:54.000000000 +0200
@@ -6,10 +6,12 @@
 MANIFEST.in
 README.rst
 announce.rst
+openstack-common.conf
 requirements.txt
 run_sphinx
 setup.cfg
 setup.py
+test-requirements.txt
 tox.ini
 docs/Makefile
 docs/requirements.txt
@@ -47,6 +49,7 @@
 stevedore.egg-info/dependency_links.txt
 stevedore.egg-info/entry_points.txt
 stevedore.egg-info/not-zip-safe
+stevedore.egg-info/requires.txt
 stevedore.egg-info/top_level.txt
 stevedore/example/__init__.py
 stevedore/example/base.py
@@ -56,6 +59,7 @@
 stevedore/example/setup.py
 stevedore/example/simple.py
 stevedore/tests/__init__.py
+stevedore/tests/extension_unimportable.py
 stevedore/tests/manager.py
 stevedore/tests/test_callback.py
 stevedore/tests/test_dispatch.py
@@ -66,4 +70,5 @@
 stevedore/tests/test_extension.py
 stevedore/tests/test_hook.py
 stevedore/tests/test_named.py
-stevedore/tests/test_test_manager.py
\ No newline at end of file
+stevedore/tests/test_test_manager.py
+tools/run_cross_tests.sh
\ No newline at end of file
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/stevedore-0.15/stevedore.egg-info/entry_points.txt 
new/stevedore-1.0.0/stevedore.egg-info/entry_points.txt
--- old/stevedore-0.15/stevedore.egg-info/entry_points.txt      2014-03-27 
21:43:00.000000000 +0100
+++ new/stevedore-1.0.0/stevedore.egg-info/entry_points.txt     2014-09-18 
12:51:54.000000000 +0200
@@ -1,10 +1,11 @@
 [stevedore.example.formatter]
-simple = stevedore.example.simple:Simple
 field = stevedore.example.fields:FieldList
 plain = stevedore.example.simple:Simple
+simple = stevedore.example.simple:Simple
 
 [stevedore.test.extension]
 e1 = stevedore.tests.test_extension:BrokenExtension
-t2 = stevedore.tests.test_extension:FauxExtension
+e2 = stevedore.tests.notfound:UnimportableExtension
 t1 = stevedore.tests.test_extension:FauxExtension
+t2 = stevedore.tests.test_extension:FauxExtension
 
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/stevedore-0.15/stevedore.egg-info/requires.txt 
new/stevedore-1.0.0/stevedore.egg-info/requires.txt
--- old/stevedore-0.15/stevedore.egg-info/requires.txt  1970-01-01 
01:00:00.000000000 +0100
+++ new/stevedore-1.0.0/stevedore.egg-info/requires.txt 2014-09-18 
12:51:54.000000000 +0200
@@ -0,0 +1,2 @@
+argparse
+six>=1.7.0
\ No newline at end of file
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/stevedore-0.15/test-requirements.txt 
new/stevedore-1.0.0/test-requirements.txt
--- old/stevedore-0.15/test-requirements.txt    1970-01-01 01:00:00.000000000 
+0100
+++ new/stevedore-1.0.0/test-requirements.txt   2014-09-18 12:51:16.000000000 
+0200
@@ -0,0 +1,5 @@
+Pillow==2.4.0 # MIT
+sphinx>=1.1.2,!=1.2.0,<1.3
+nose
+mock>=1.0
+coverage>=3.6
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/stevedore-0.15/tools/run_cross_tests.sh 
new/stevedore-1.0.0/tools/run_cross_tests.sh
--- old/stevedore-0.15/tools/run_cross_tests.sh 1970-01-01 01:00:00.000000000 
+0100
+++ new/stevedore-1.0.0/tools/run_cross_tests.sh        2014-09-18 
12:51:16.000000000 +0200
@@ -0,0 +1,70 @@
+#!/bin/bash
+#
+# Run cross-project tests
+
+# Fail the build if any command fails
+set -e
+
+project_dir="$1"
+venv="$2"
+
+# Set up the virtualenv without running the tests
+(cd $project_dir && tox --notest -e $venv)
+
+tox_envbin=$project_dir/.tox/$venv/bin
+
+our_name=$(python setup.py --name)
+
+# Replace the pip-installed package with the version in our source
+# tree. Look to see if we are already installed before trying to
+# uninstall ourselves, to avoid failures from packages that do not use us
+# yet.
+if $tox_envbin/pip freeze | grep -q $our_name
+then
+    $tox_envbin/pip uninstall -y $our_name
+fi
+$tox_envbin/pip install -U .
+
+# Run the tests
+(cd $project_dir && tox -e $venv)
+result=$?
+
+
+# The below checks are modified from
+# openstack-infra/config/modules/jenkins/files/slave_scripts/run-unittests.sh.
+
+# They expect to be run in the project being tested.
+cd $project_dir
+
+echo "Begin pip freeze output from test virtualenv:"
+echo "======================================================================"
+.tox/$venv/bin/pip freeze
+echo "======================================================================"
+
+# We only want to run the next check if the tool is installed, so look
+# for it before continuing.
+if [ -f /usr/local/jenkins/slave_scripts/subunit2html.py -a -d 
".testrepository" ] ; then
+    if [ -f ".testrepository/0.2" ] ; then
+        cp .testrepository/0.2 ./subunit_log.txt
+    elif [ -f ".testrepository/0" ] ; then
+        .tox/$venv/bin/subunit-1to2 < .testrepository/0 > ./subunit_log.txt
+    fi
+    .tox/$venv/bin/python /usr/local/jenkins/slave_scripts/subunit2html.py 
./subunit_log.txt testr_results.html
+    gzip -9 ./subunit_log.txt
+    gzip -9 ./testr_results.html
+
+    export PYTHON=.tox/$venv/bin/python
+    set -e
+    rancount=$(.tox/$venv/bin/testr last | sed -ne 's/Ran \([0-9]\+\).*tests 
in.*/\1/p')
+    if [ "$rancount" -eq "0" ] ; then
+        echo
+        echo "Zero tests were run. At least one test should have been run."
+        echo "Failing this test as a result"
+        echo
+        exit 1
+    fi
+fi
+
+# If we make it this far, report status based on the tests that were
+# run.
+exit $result
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/stevedore-0.15/tox.ini new/stevedore-1.0.0/tox.ini
--- old/stevedore-0.15/tox.ini  2014-03-27 21:42:43.000000000 +0100
+++ new/stevedore-1.0.0/tox.ini 2014-09-18 12:51:16.000000000 +0200
@@ -2,14 +2,13 @@
 envlist = py26,py27,py32,py33,pypy,pep8,docs
 
 [testenv]
+deps =
+  -r{toxinidir}/requirements.txt
+  -r{toxinidir}/test-requirements.txt
 # tox passes --pre to pip by default, but we don't want that
 install_command = pip install {opts} {packages}
 distribute = False
 commands = nosetests -d --with-coverage --cover-inclusive --cover-package 
stevedore []
-deps =
-    nose
-    mock
-    coverage
 
 [testenv:venv]
 commands = {posargs}
@@ -19,5 +18,4 @@
 commands = flake8 stevedore setup.py
 
 [testenv:docs]
-deps = -r{toxinidir}/docs/requirements.txt
 commands = python setup.py build_sphinx

-- 
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to