Hello community,
here is the log from the commit of package python-sphinx-feature-classification
for openSUSE:Factory checked in at 2020-03-06 21:29:34
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/python-sphinx-feature-classification (Old)
and
/work/SRC/openSUSE:Factory/.python-sphinx-feature-classification.new.26092 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "python-sphinx-feature-classification"
Fri Mar 6 21:29:34 2020 rev:6 rq:782228 version:1.0.0
Changes:
--------
---
/work/SRC/openSUSE:Factory/python-sphinx-feature-classification/python-sphinx-feature-classification.changes
2019-09-27 14:47:55.764845741 +0200
+++
/work/SRC/openSUSE:Factory/.python-sphinx-feature-classification.new.26092/python-sphinx-feature-classification.changes
2020-03-06 21:33:42.145786930 +0100
@@ -1,0 +2,9 @@
+Fri Mar 6 15:05:08 UTC 2020 - [email protected]
+
+- version update to 1.0.0
+ * Drop py2 support and testing
+ * Add support for feature.api
+ * make sure destination dir exist before copying files into it
+ * Remove pypy from default env list
+
+-------------------------------------------------------------------
Old:
----
sphinx-feature-classification-0.4.1.tar.gz
New:
----
sphinx-feature-classification-1.0.0.tar.gz
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ python-sphinx-feature-classification.spec ++++++
--- /var/tmp/diff_new_pack.3uFSES/_old 2020-03-06 21:33:43.105787522 +0100
+++ /var/tmp/diff_new_pack.3uFSES/_new 2020-03-06 21:33:43.105787522 +0100
@@ -1,7 +1,7 @@
#
# spec file for package python-sphinx-feature-classification
#
-# Copyright (c) 2019 SUSE LINUX GmbH, Nuernberg, Germany.
+# Copyright (c) 2020 SUSE LLC
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
@@ -18,13 +18,14 @@
%{?!python_module:%define python_module() python-%{**} python3-%{**}}
Name: python-sphinx-feature-classification
-Version: 0.4.1
+Version: 1.0.0
Release: 0
Summary: Sphinx extension to generate a matrix of pluggable drivers
License: Apache-2.0
Group: Development/Languages/Python
-URL: http://www.openstack.org/
+URL: https://www.openstack.org/
Source:
https://files.pythonhosted.org/packages/source/s/sphinx-feature-classification/sphinx-feature-classification-%{version}.tar.gz
+BuildRequires: %{python_module Sphinx}
BuildRequires: %{python_module ddt >= 1.0.1}
BuildRequires: %{python_module docutils}
BuildRequires: %{python_module oslotest}
++++++ sphinx-feature-classification-0.4.1.tar.gz ->
sphinx-feature-classification-1.0.0.tar.gz ++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/sphinx-feature-classification-0.4.1/.zuul.yaml
new/sphinx-feature-classification-1.0.0/.zuul.yaml
--- old/sphinx-feature-classification-0.4.1/.zuul.yaml 2019-09-04
16:24:21.000000000 +0200
+++ new/sphinx-feature-classification-1.0.0/.zuul.yaml 2020-01-16
18:49:12.000000000 +0100
@@ -2,5 +2,4 @@
templates:
- check-requirements
- publish-openstack-docs-pti
- - openstack-python-jobs
- - openstack-python3-train-jobs
+ - openstack-python3-ussuri-jobs
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/sphinx-feature-classification-0.4.1/AUTHORS
new/sphinx-feature-classification-1.0.0/AUTHORS
--- old/sphinx-feature-classification-0.4.1/AUTHORS 2019-09-04
16:24:58.000000000 +0200
+++ new/sphinx-feature-classification-1.0.0/AUTHORS 2020-01-16
18:49:56.000000000 +0100
@@ -2,6 +2,8 @@
Ben Nemec <[email protected]>
Corey Bryant <[email protected]>
Doug Hellmann <[email protected]>
+Eric Fried <[email protected]>
+Guang Yee <[email protected]>
Jay S. Bryant <[email protected]>
Michael Johnson <[email protected]>
Mike Perez <[email protected]>
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/sphinx-feature-classification-0.4.1/ChangeLog
new/sphinx-feature-classification-1.0.0/ChangeLog
--- old/sphinx-feature-classification-0.4.1/ChangeLog 2019-09-04
16:24:58.000000000 +0200
+++ new/sphinx-feature-classification-1.0.0/ChangeLog 2020-01-16
18:49:56.000000000 +0100
@@ -1,6 +1,18 @@
CHANGES
=======
+1.0.0
+-----
+
+* Drop py2 support and testing
+* Add support for feature.api
+
+0.4.2
+-----
+
+* make sure destination dir exist before copying files into it
+* Remove pypy from default env list
+
0.4.1
-----
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/sphinx-feature-classification-0.4.1/PKG-INFO
new/sphinx-feature-classification-1.0.0/PKG-INFO
--- old/sphinx-feature-classification-0.4.1/PKG-INFO 2019-09-04
16:24:58.000000000 +0200
+++ new/sphinx-feature-classification-1.0.0/PKG-INFO 2020-01-16
18:49:56.000000000 +0100
@@ -1,6 +1,6 @@
Metadata-Version: 1.1
Name: sphinx-feature-classification
-Version: 0.4.1
+Version: 1.0.0
Summary: Generate a matrix of pluggable drivers and their support to an API in
Sphinx.
Home-page: https://docs.openstack.org/sphinx-feature-classification/latest/
Author: OpenStack
@@ -38,8 +38,6 @@
Classifier: License :: OSI Approved :: Apache Software License
Classifier: Operating System :: POSIX :: Linux
Classifier: Programming Language :: Python
-Classifier: Programming Language :: Python :: 2
-Classifier: Programming Language :: Python :: 2.7
Classifier: Programming Language :: Python :: 3
Classifier: Programming Language :: Python :: 3.6
Classifier: Programming Language :: Python :: 3.7
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore'
old/sphinx-feature-classification-0.4.1/doc/source/user/index.rst
new/sphinx-feature-classification-1.0.0/doc/source/user/index.rst
--- old/sphinx-feature-classification-0.4.1/doc/source/user/index.rst
2019-09-04 16:24:21.000000000 +0200
+++ new/sphinx-feature-classification-1.0.0/doc/source/user/index.rst
2020-01-16 18:49:12.000000000 +0100
@@ -130,6 +130,11 @@
A sample CLI command that can be used to utilize the feature.
+``api``
+ :Mandatory: No
+
+ The alias for this feature in the API.
+
In addition, there are some driver specific options that should be repeated
for every driver defined earlier in the file.
@@ -166,6 +171,7 @@
notes=The attach volume operation provides a means to hotplug additional
block storage to a running instance.
cli=my-project attach-volume <instance> <volume>
+ api=volume-attach
driver.slow-driver=complete
driver.fast-driver=complete
@@ -175,6 +181,7 @@
notes=The detach volume operation provides a means to remove additional
block storage from a running instance.
cli=my-project detach-volume <instance> <volume>
+ api=volume-detach
driver.slow-driver=complete
driver-notes.slow-driver=Works without issue if instance is off. When
hotplugging, requires version foo of the driver.
@@ -206,6 +213,7 @@
notes=The attach volume operation provides a means to hotplug additional
block storage to a running instance.
cli=my-project attach-volume <instance> <volume>
+ api=volume-attach
driver.slow-driver=complete
driver.fast-driver=complete
@@ -215,6 +223,7 @@
notes=The detach volume operation provides a means to remove additional
block storage from a running instance.
cli=my-project detach-volume <instance> <volume>
+ api=volume-detach
driver.slow-driver=complete
driver-notes.slow-driver=Works without issue if instance is off. When
hotplugging, requires version foo of the driver.
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore'
old/sphinx-feature-classification-0.4.1/releasenotes/notes/drop-py2-support-3c3bb1055b271608.yaml
new/sphinx-feature-classification-1.0.0/releasenotes/notes/drop-py2-support-3c3bb1055b271608.yaml
---
old/sphinx-feature-classification-0.4.1/releasenotes/notes/drop-py2-support-3c3bb1055b271608.yaml
1970-01-01 01:00:00.000000000 +0100
+++
new/sphinx-feature-classification-1.0.0/releasenotes/notes/drop-py2-support-3c3bb1055b271608.yaml
2020-01-16 18:49:12.000000000 +0100
@@ -0,0 +1,5 @@
+---
+upgrade:
+ - |
+ Python 2.7 support has been dropped. The minimum version of Python now
+ supported by sphinx-feature-classification is Python 3.6.
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore'
old/sphinx-feature-classification-0.4.1/releasenotes/notes/feature.api-e95e2d6304b0e25e.yaml
new/sphinx-feature-classification-1.0.0/releasenotes/notes/feature.api-e95e2d6304b0e25e.yaml
---
old/sphinx-feature-classification-0.4.1/releasenotes/notes/feature.api-e95e2d6304b0e25e.yaml
1970-01-01 01:00:00.000000000 +0100
+++
new/sphinx-feature-classification-1.0.0/releasenotes/notes/feature.api-e95e2d6304b0e25e.yaml
2020-01-16 18:49:12.000000000 +0100
@@ -0,0 +1,4 @@
+---
+features:
+ - |
+ Added support for ``api`` in the feature section for an ``operation``.
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/sphinx-feature-classification-0.4.1/setup.cfg
new/sphinx-feature-classification-1.0.0/setup.cfg
--- old/sphinx-feature-classification-0.4.1/setup.cfg 2019-09-04
16:24:58.000000000 +0200
+++ new/sphinx-feature-classification-1.0.0/setup.cfg 2020-01-16
18:49:56.000000000 +0100
@@ -13,8 +13,6 @@
License :: OSI Approved :: Apache Software License
Operating System :: POSIX :: Linux
Programming Language :: Python
- Programming Language :: Python :: 2
- Programming Language :: Python :: 2.7
Programming Language :: Python :: 3
Programming Language :: Python :: 3.6
Programming Language :: Python :: 3.7
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore'
old/sphinx-feature-classification-0.4.1/sphinx_feature_classification/support_matrix.py
new/sphinx-feature-classification-1.0.0/sphinx_feature_classification/support_matrix.py
---
old/sphinx-feature-classification-0.4.1/sphinx_feature_classification/support_matrix.py
2019-09-04 16:24:21.000000000 +0200
+++
new/sphinx-feature-classification-1.0.0/sphinx_feature_classification/support_matrix.py
2020-01-16 18:49:12.000000000 +0100
@@ -21,12 +21,12 @@
from os import path
import re
-import shutil
from docutils import nodes
from docutils.parsers import rst
import six
from six.moves import configparser
+from sphinx.util.fileutil import copy_asset
KEY_PATTERN = re.compile("[^a-zA-Z0-9_]")
DRIVER_PREFIX = "driver."
@@ -89,10 +89,16 @@
if cfg.has_option(section, "cli"):
cli = cfg.get(section, "cli")
+ api = None
+ if cfg.has_option(section, "api"):
+ api = cfg.get(section, "api")
+
notes = None
if cfg.has_option(section, "notes"):
notes = cfg.get(section, "notes")
- return Feature(section, title, status, group, notes, cli)
+ return Feature(
+ section, title,
+ status=status, group=group, notes=notes, cli=cli, api=api)
def _process_implementation(section, option, feature):
if option not in self.drivers:
@@ -477,8 +483,8 @@
if exc is None:
src = path.join(path.abspath(path.dirname(__file__)),
'support-matrix.css')
- dst = path.join(app.outdir, '_static', 'support-matrix.css')
- shutil.copyfile(src, dst)
+ dst = path.join(app.outdir, '_static')
+ copy_asset(src, dst)
def setup(app):
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore'
old/sphinx-feature-classification-0.4.1/sphinx_feature_classification/tests/fakes/support-matrix.ini
new/sphinx-feature-classification-1.0.0/sphinx_feature_classification/tests/fakes/support-matrix.ini
---
old/sphinx-feature-classification-0.4.1/sphinx_feature_classification/tests/fakes/support-matrix.ini
2019-09-04 16:24:21.000000000 +0200
+++
new/sphinx-feature-classification-1.0.0/sphinx_feature_classification/tests/fakes/support-matrix.ini
2020-01-16 18:49:12.000000000 +0100
@@ -9,6 +9,8 @@
[operation.Cool_Feature]
title=Cool Feature
status=optional
+api=get-coolness
+cli=openstack get coolness *
notes=A pretty darn cool feature.
driver.foo=complete
driver.bar=partial
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore'
old/sphinx-feature-classification-0.4.1/sphinx_feature_classification/tests/test_sphinx_feature_classification.py
new/sphinx-feature-classification-1.0.0/sphinx_feature_classification/tests/test_sphinx_feature_classification.py
---
old/sphinx-feature-classification-0.4.1/sphinx_feature_classification/tests/test_sphinx_feature_classification.py
2019-09-04 16:24:21.000000000 +0200
+++
new/sphinx-feature-classification-1.0.0/sphinx_feature_classification/tests/test_sphinx_feature_classification.py
2020-01-16 18:49:12.000000000 +0100
@@ -21,6 +21,7 @@
import os
import ddt
+import fixtures
import six
from six.moves import configparser
@@ -50,6 +51,8 @@
fake_feature = self.matrix.features[0]
self.assertEqual('Cool Feature', fake_feature.title)
self.assertEqual('optional', fake_feature.status)
+ self.assertEqual('openstack get coolness *', fake_feature.cli)
+ self.assertEqual('get-coolness', fake_feature.api)
self.assertEqual('A pretty darn cool feature.',
fake_feature.notes)
@@ -72,3 +75,15 @@
fake_implementation = self.matrix.features[0].implementations[key]
self.assertEqual(status, fake_implementation.status)
self.assertEqual(notes, fake_implementation.notes)
+
+ def test_on_build_finished(self):
+
+ class FakeApp(object):
+ outdir = self.useFixture(fixtures.TempDir()).path
+
+ app = FakeApp()
+ exc = None
+ support_matrix.on_build_finished(app, exc)
+ expected_file = os.path.join(
+ app.outdir, '_static', 'support-matrix.css')
+ self.assertTrue(os.path.isfile(expected_file))
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore'
old/sphinx-feature-classification-0.4.1/sphinx_feature_classification.egg-info/PKG-INFO
new/sphinx-feature-classification-1.0.0/sphinx_feature_classification.egg-info/PKG-INFO
---
old/sphinx-feature-classification-0.4.1/sphinx_feature_classification.egg-info/PKG-INFO
2019-09-04 16:24:58.000000000 +0200
+++
new/sphinx-feature-classification-1.0.0/sphinx_feature_classification.egg-info/PKG-INFO
2020-01-16 18:49:56.000000000 +0100
@@ -1,6 +1,6 @@
Metadata-Version: 1.1
Name: sphinx-feature-classification
-Version: 0.4.1
+Version: 1.0.0
Summary: Generate a matrix of pluggable drivers and their support to an API in
Sphinx.
Home-page: https://docs.openstack.org/sphinx-feature-classification/latest/
Author: OpenStack
@@ -38,8 +38,6 @@
Classifier: License :: OSI Approved :: Apache Software License
Classifier: Operating System :: POSIX :: Linux
Classifier: Programming Language :: Python
-Classifier: Programming Language :: Python :: 2
-Classifier: Programming Language :: Python :: 2.7
Classifier: Programming Language :: Python :: 3
Classifier: Programming Language :: Python :: 3.6
Classifier: Programming Language :: Python :: 3.7
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore'
old/sphinx-feature-classification-0.4.1/sphinx_feature_classification.egg-info/SOURCES.txt
new/sphinx-feature-classification-1.0.0/sphinx_feature_classification.egg-info/SOURCES.txt
---
old/sphinx-feature-classification-0.4.1/sphinx_feature_classification.egg-info/SOURCES.txt
2019-09-04 16:24:58.000000000 +0200
+++
new/sphinx-feature-classification-1.0.0/sphinx_feature_classification.egg-info/SOURCES.txt
2020-01-16 18:49:56.000000000 +0100
@@ -21,6 +21,8 @@
doc/source/user/index.rst
releasenotes/notes/.placeholder
releasenotes/notes/copy-css-to-static-938b35b03a568abc.yaml
+releasenotes/notes/drop-py2-support-3c3bb1055b271608.yaml
+releasenotes/notes/feature.api-e95e2d6304b0e25e.yaml
releasenotes/notes/fix-css-handling-e17f37c98d80b76e.yaml
releasenotes/notes/fix-driver-links-18528dcdbcc9f007.yaml
releasenotes/notes/support-driver-notes-b73d5b185f05db7f.yaml
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore'
old/sphinx-feature-classification-0.4.1/sphinx_feature_classification.egg-info/pbr.json
new/sphinx-feature-classification-1.0.0/sphinx_feature_classification.egg-info/pbr.json
---
old/sphinx-feature-classification-0.4.1/sphinx_feature_classification.egg-info/pbr.json
2019-09-04 16:24:58.000000000 +0200
+++
new/sphinx-feature-classification-1.0.0/sphinx_feature_classification.egg-info/pbr.json
2020-01-16 18:49:56.000000000 +0100
@@ -1 +1 @@
-{"git_version": "acebe59", "is_release": true}
\ No newline at end of file
+{"git_version": "b7ae366", "is_release": true}
\ No newline at end of file
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/sphinx-feature-classification-0.4.1/tox.ini
new/sphinx-feature-classification-1.0.0/tox.ini
--- old/sphinx-feature-classification-0.4.1/tox.ini 2019-09-04
16:24:21.000000000 +0200
+++ new/sphinx-feature-classification-1.0.0/tox.ini 2020-01-16
18:49:12.000000000 +0100
@@ -1,9 +1,14 @@
[tox]
-minversion = 2.0
-envlist = py27,py37,pypy,pep8
+minversion = 3.1.1
+envlist = py37,pep8
skipsdist = True
+# Automatic envs (pyXX) will only use the python version appropriate to that
+# env and ignore basepython inherited from [testenv] if we set
+# ignore_basepython_conflict.
+ignore_basepython_conflict = True
[testenv]
+basepython = python3
usedevelop = True
install_command = pip install {opts} {packages}
setenv =
@@ -15,28 +20,22 @@
commands = python setup.py test --slowest --testr-args='{posargs}'
[testenv:pep8]
-basepython = python3
commands = flake8 {posargs}
[testenv:venv]
-basepython = python3
commands = {posargs}
[testenv:cover]
-basepython = python3
commands = python setup.py test --coverage --testr-args='{posargs}'
[testenv:docs]
-basepython = python3
commands = python setup.py build_sphinx
[testenv:releasenotes]
-basepython = python3
commands =
sphinx-build -a -E -W -d releasenotes/build/doctrees -b html
releasenotes/source releasenotes/build/html
[testenv:debug]
-basepython = python3
commands = oslo_debug_helper {posargs}
[flake8]