Script 'mail_helper' called by obssrc
Hello community,
here is the log from the commit of package python-pluginbase for
openSUSE:Factory checked in at 2021-08-26 23:15:17
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/python-pluginbase (Old)
and /work/SRC/openSUSE:Factory/.python-pluginbase.new.1899 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "python-pluginbase"
Thu Aug 26 23:15:17 2021 rev:2 rq:914395 version:1.0.1
Changes:
--------
--- /work/SRC/openSUSE:Factory/python-pluginbase/python-pluginbase.changes
2020-05-29 21:36:22.862471980 +0200
+++
/work/SRC/openSUSE:Factory/.python-pluginbase.new.1899/python-pluginbase.changes
2021-08-26 23:16:35.300184694 +0200
@@ -1,0 +2,14 @@
+Wed Aug 25 10:45:03 UTC 2021 - John Paul Adrian Glaubitz
<[email protected]>
+
+- Update to version 1.0.1
+ * Add a Pipfile with pytest and some scripts
+ * Update the setup.py to be dynamic
+ * Move the README file to RST for PyPi
+ * Bump the version to 1.0.1
+ * Remove old versions from setup.py
+ * Remove old versions from travis.yml
+ * Remove deprecated tests
+ * Remove deprecated yield_fixture
+ * Add python 3.8 and 3.9 support
+
+-------------------------------------------------------------------
Old:
----
pluginbase-1.0.0.tar.gz
New:
----
pluginbase-1.0.1.tar.gz
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ python-pluginbase.spec ++++++
--- /var/tmp/diff_new_pack.7fZNDm/_old 2021-08-26 23:16:35.688184366 +0200
+++ /var/tmp/diff_new_pack.7fZNDm/_new 2021-08-26 23:16:35.692184363 +0200
@@ -1,7 +1,7 @@
#
# spec file for package python-pluginbase
#
-# Copyright (c) 2020 SUSE LLC
+# Copyright (c) 2021 SUSE LLC
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
@@ -18,7 +18,7 @@
%{?!python_module:%define python_module() python-%{**} python3-%{**}}
Name: python-pluginbase
-Version: 1.0.0
+Version: 1.0.1
Release: 0
Summary: Module for the development of flexible plugin systems
License: BSD-3-Clause
@@ -51,7 +51,7 @@
%pytest
%files %{python_files}
-%doc README.md
+%doc README.rst
%license LICENSE
%{python_sitelib}/*
++++++ pluginbase-1.0.0.tar.gz -> pluginbase-1.0.1.tar.gz ++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/pluginbase-1.0.0/PKG-INFO
new/pluginbase-1.0.1/PKG-INFO
--- old/pluginbase-1.0.0/PKG-INFO 2019-02-02 20:40:46.000000000 +0100
+++ new/pluginbase-1.0.1/PKG-INFO 2021-05-16 18:25:34.978340600 +0200
@@ -1,6 +1,6 @@
-Metadata-Version: 2.1
+Metadata-Version: 1.2
Name: pluginbase
-Version: 1.0.0
+Version: 1.0.1
Summary: PluginBase is a module for Python that enables the development of
flexible plugin systems in Python.
Home-page: http://github.com/mitsuhiko/pluginbase
Author: Armin Ronacher
@@ -8,48 +8,54 @@
Maintainer: Spencer McIntyre
Maintainer-email: [email protected]
License: UNKNOWN
-Description: # PluginBase
+Description: PluginBase
+ ==========
- PluginBase is a module for Python that enables the
- development of flexible plugin systems in Python.
+ PluginBase is a module for Python that enables the development of
flexible plugin systems in Python.
Step 1:
- ```python
- from pluginbase import PluginBase
- plugin_base = PluginBase(package='yourapplication.plugins')
- ```
+
+ .. code-block:: python
+
+ from pluginbase import PluginBase
+ plugin_base = PluginBase(package='yourapplication.plugins')
Step 2:
- ```python
- plugin_source = plugin_base.make_plugin_source(
- searchpath=['./path/to/plugins', './path/to/more/plugins'])
- ```
+
+ .. code-block:: python
+
+ plugin_source = plugin_base.make_plugin_source(
+ searchpath=['./path/to/plugins', './path/to/more/plugins'])
Step 3:
- ```python
- with plugin_source:
- from yourapplication.plugins import my_plugin
- my_plugin.do_something_cool()
- ```
+
+ .. code-block:: python
+
+ with plugin_source:
+ from yourapplication.plugins import my_plugin
+ my_plugin.do_something_cool()
Or alternatively:
- ```python
- my_plugin = plugin_source.load_plugin('my_plugin')
- my_plugin.do_something_cool()
- ```
+
+ .. code-block:: python
+
+ my_plugin = plugin_source.load_plugin('my_plugin')
+ my_plugin.do_something_cool()
Platform: UNKNOWN
+Classifier: Development Status :: 5 - Production/Stable
+Classifier: Environment :: Plugins
+Classifier: Intended Audience :: Developers
Classifier: License :: OSI Approved :: BSD License
+Classifier: Operating System :: OS Independent
Classifier: Programming Language :: Python
-Classifier: Programming Language :: Python :: 2.6
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 :: 3.8
+Classifier: Programming Language :: Python :: 3.9
Classifier: Programming Language :: Python :: Implementation :: PyPy
-Classifier: Environment :: Plugins
-Classifier: Intended Audience :: Developers
-Description-Content-Type: text/markdown
+Classifier: Topic :: Software Development :: Libraries :: Python Modules
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/pluginbase-1.0.0/README.md
new/pluginbase-1.0.1/README.md
--- old/pluginbase-1.0.0/README.md 2018-05-24 04:21:30.000000000 +0200
+++ new/pluginbase-1.0.1/README.md 1970-01-01 01:00:00.000000000 +0100
@@ -1,29 +0,0 @@
-# PluginBase
-
-PluginBase is a module for Python that enables the
-development of flexible plugin systems in Python.
-
-Step 1:
-```python
-from pluginbase import PluginBase
-plugin_base = PluginBase(package='yourapplication.plugins')
-```
-
-Step 2:
-```python
-plugin_source = plugin_base.make_plugin_source(
- searchpath=['./path/to/plugins', './path/to/more/plugins'])
-```
-
-Step 3:
-```python
-with plugin_source:
- from yourapplication.plugins import my_plugin
-my_plugin.do_something_cool()
-```
-
-Or alternatively:
-```python
-my_plugin = plugin_source.load_plugin('my_plugin')
-my_plugin.do_something_cool()
-```
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/pluginbase-1.0.0/README.rst
new/pluginbase-1.0.1/README.rst
--- old/pluginbase-1.0.0/README.rst 1970-01-01 01:00:00.000000000 +0100
+++ new/pluginbase-1.0.1/README.rst 2021-05-16 18:17:35.000000000 +0200
@@ -0,0 +1,33 @@
+PluginBase
+==========
+
+PluginBase is a module for Python that enables the development of flexible
plugin systems in Python.
+
+Step 1:
+
+.. code-block:: python
+
+ from pluginbase import PluginBase
+ plugin_base = PluginBase(package='yourapplication.plugins')
+
+Step 2:
+
+.. code-block:: python
+
+ plugin_source = plugin_base.make_plugin_source(
+ searchpath=['./path/to/plugins', './path/to/more/plugins'])
+
+Step 3:
+
+.. code-block:: python
+
+ with plugin_source:
+ from yourapplication.plugins import my_plugin
+ my_plugin.do_something_cool()
+
+Or alternatively:
+
+.. code-block:: python
+
+ my_plugin = plugin_source.load_plugin('my_plugin')
+ my_plugin.do_something_cool()
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/pluginbase-1.0.0/pluginbase.egg-info/PKG-INFO
new/pluginbase-1.0.1/pluginbase.egg-info/PKG-INFO
--- old/pluginbase-1.0.0/pluginbase.egg-info/PKG-INFO 2019-02-02
20:40:46.000000000 +0100
+++ new/pluginbase-1.0.1/pluginbase.egg-info/PKG-INFO 2021-05-16
18:25:34.000000000 +0200
@@ -1,6 +1,6 @@
-Metadata-Version: 2.1
+Metadata-Version: 1.2
Name: pluginbase
-Version: 1.0.0
+Version: 1.0.1
Summary: PluginBase is a module for Python that enables the development of
flexible plugin systems in Python.
Home-page: http://github.com/mitsuhiko/pluginbase
Author: Armin Ronacher
@@ -8,48 +8,54 @@
Maintainer: Spencer McIntyre
Maintainer-email: [email protected]
License: UNKNOWN
-Description: # PluginBase
+Description: PluginBase
+ ==========
- PluginBase is a module for Python that enables the
- development of flexible plugin systems in Python.
+ PluginBase is a module for Python that enables the development of
flexible plugin systems in Python.
Step 1:
- ```python
- from pluginbase import PluginBase
- plugin_base = PluginBase(package='yourapplication.plugins')
- ```
+
+ .. code-block:: python
+
+ from pluginbase import PluginBase
+ plugin_base = PluginBase(package='yourapplication.plugins')
Step 2:
- ```python
- plugin_source = plugin_base.make_plugin_source(
- searchpath=['./path/to/plugins', './path/to/more/plugins'])
- ```
+
+ .. code-block:: python
+
+ plugin_source = plugin_base.make_plugin_source(
+ searchpath=['./path/to/plugins', './path/to/more/plugins'])
Step 3:
- ```python
- with plugin_source:
- from yourapplication.plugins import my_plugin
- my_plugin.do_something_cool()
- ```
+
+ .. code-block:: python
+
+ with plugin_source:
+ from yourapplication.plugins import my_plugin
+ my_plugin.do_something_cool()
Or alternatively:
- ```python
- my_plugin = plugin_source.load_plugin('my_plugin')
- my_plugin.do_something_cool()
- ```
+
+ .. code-block:: python
+
+ my_plugin = plugin_source.load_plugin('my_plugin')
+ my_plugin.do_something_cool()
Platform: UNKNOWN
+Classifier: Development Status :: 5 - Production/Stable
+Classifier: Environment :: Plugins
+Classifier: Intended Audience :: Developers
Classifier: License :: OSI Approved :: BSD License
+Classifier: Operating System :: OS Independent
Classifier: Programming Language :: Python
-Classifier: Programming Language :: Python :: 2.6
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 :: 3.8
+Classifier: Programming Language :: Python :: 3.9
Classifier: Programming Language :: Python :: Implementation :: PyPy
-Classifier: Environment :: Plugins
-Classifier: Intended Audience :: Developers
-Description-Content-Type: text/markdown
+Classifier: Topic :: Software Development :: Libraries :: Python Modules
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/pluginbase-1.0.0/pluginbase.egg-info/SOURCES.txt
new/pluginbase-1.0.1/pluginbase.egg-info/SOURCES.txt
--- old/pluginbase-1.0.0/pluginbase.egg-info/SOURCES.txt 2019-02-02
20:40:46.000000000 +0100
+++ new/pluginbase-1.0.1/pluginbase.egg-info/SOURCES.txt 2021-05-16
18:25:34.000000000 +0200
@@ -1,7 +1,7 @@
LICENSE
MANIFEST.in
Makefile
-README.md
+README.rst
pluginbase.py
setup.py
docs/Makefile
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/pluginbase-1.0.0/pluginbase.py
new/pluginbase-1.0.1/pluginbase.py
--- old/pluginbase-1.0.0/pluginbase.py 2019-02-02 20:33:03.000000000 +0100
+++ new/pluginbase-1.0.1/pluginbase.py 2021-05-16 18:17:35.000000000 +0200
@@ -32,7 +32,7 @@
from io import BytesIO as NativeBytesIO
-__version__ = '1.0.0'
+__version__ = '1.0.1'
_local = threading.local()
_internalspace = ModuleType(__name__ + '._internalspace')
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/pluginbase-1.0.0/setup.py
new/pluginbase-1.0.1/setup.py
--- old/pluginbase-1.0.0/setup.py 2019-02-02 20:38:31.000000000 +0100
+++ new/pluginbase-1.0.1/setup.py 2021-05-16 18:17:35.000000000 +0200
@@ -1,44 +1,62 @@
import os
+import re
import sys
base_directory = os.path.dirname(__file__)
-from setuptools import setup
+try:
+ from setuptools import setup, find_packages
+except ImportError:
+ print('This project needs setuptools in order to build. Install it using
your package')
+ print('manager (usually python-setuptools) or via pip (pip install
setuptools).')
+ sys.exit(1)
+
+try:
+ with open(os.path.join(base_directory, 'README.rst')) as file_h:
+ long_description = file_h.read()
+except OSError:
+ sys.stderr.write('README.rst is unavailable, can not generate the long
description\n')
+ long_description = None
+
+with open(os.path.join(base_directory, 'pluginbase.py')) as file_h:
+ match = re.search(r'^__version__\s*=\s*([\'"])(?P<version>\d+(\.\d)*)\1$',
file_h.read(), flags=re.MULTILINE)
+if match is None:
+ raise RuntimeError('Unable to find the version information')
+version = match.group('version')
DESCRIPTION = """\
PluginBase is a module for Python that enables the development of flexible \
plugin systems in Python.\
"""
-with open(os.path.join(base_directory, 'README.md'), 'r') as file_h:
- long_description = file_h.read()
-
setup(
name='pluginbase',
author='Armin Ronacher',
author_email='[email protected]',
maintainer='Spencer McIntyre',
maintainer_email='[email protected]',
- version='1.0.0',
+ version=version,
description=DESCRIPTION,
long_description=long_description,
- long_description_content_type='text/markdown',
url='http://github.com/mitsuhiko/pluginbase',
py_modules=['pluginbase'],
zip_safe=False,
classifiers=[
+ 'Development Status :: 5 - Production/Stable',
+ 'Environment :: Plugins',
+ 'Intended Audience :: Developers',
'License :: OSI Approved :: BSD License',
+ 'Operating System :: OS Independent',
'Programming Language :: Python',
- 'Programming Language :: Python :: 2.6',
'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 :: 3.8',
+ 'Programming Language :: Python :: 3.9',
'Programming Language :: Python :: Implementation :: PyPy',
- 'Environment :: Plugins',
- 'Intended Audience :: Developers',
+ 'Topic :: Software Development :: Libraries :: Python Modules'
]
)
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/pluginbase-1.0.0/tests/conftest.py
new/pluginbase-1.0.1/tests/conftest.py
--- old/pluginbase-1.0.0/tests/conftest.py 2018-05-24 03:40:40.000000000
+0200
+++ new/pluginbase-1.0.1/tests/conftest.py 2021-05-16 18:09:22.000000000
+0200
@@ -20,7 +20,7 @@
identifier='demo')
[email protected]_fixture(scope='function', autouse=True)
[email protected](scope='function', autouse=True)
def run_garbage_collection():
gc.collect()
try: