Hello community,
here is the log from the commit of package python-renderspec for
openSUSE:Factory checked in at 2020-11-26 23:14:29
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/python-renderspec (Old)
and /work/SRC/openSUSE:Factory/.python-renderspec.new.5913 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "python-renderspec"
Thu Nov 26 23:14:29 2020 rev:11 rq:850979 version:2.1.0
Changes:
--------
--- /work/SRC/openSUSE:Factory/python-renderspec/python-renderspec.changes
2020-07-15 11:30:41.969935598 +0200
+++
/work/SRC/openSUSE:Factory/.python-renderspec.new.5913/python-renderspec.changes
2020-11-26 23:15:40.541050708 +0100
@@ -1,0 +2,9 @@
+Tue Nov 17 05:11:36 UTC 2020 - John Vandenberg <[email protected]>
+
+- Update to v2.1.0
+ * Improve distro detection for recent Fedora releases
+ * Switch to newer openstackdocstheme version
+ * Cleanup py27 support
+ * Declare support for Python 3.8
+
+-------------------------------------------------------------------
Old:
----
renderspec-2.0.0.tar.gz
New:
----
renderspec-2.1.0.tar.gz
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ python-renderspec.spec ++++++
--- /var/tmp/diff_new_pack.gUw5c2/_old 2020-11-26 23:15:41.321051314 +0100
+++ /var/tmp/diff_new_pack.gUw5c2/_new 2020-11-26 23:15:41.321051314 +0100
@@ -18,12 +18,12 @@
%global oldpython python
Name: python-renderspec
-Version: 2.0.0
+Version: 2.1.0
Release: 0
Summary: Generate spec files from Jinja2 templates
License: Apache-2.0
Group: Development/Languages/Python
-URL: https://launchpad.net/renderspec
+URL: https://docs.openstack.org/renderspec
Source0:
https://files.pythonhosted.org/packages/source/r/renderspec/renderspec-%{version}.tar.gz
BuildRequires: openstack-macros
BuildRequires: python3-Jinja2 >= 2.10
@@ -67,13 +67,13 @@
a spec.j2 Jinja2 template into a rpm .spec file.
%prep
-%autosetup -p 1 -n renderspec-2.0.0
+%autosetup -p 1 -n renderspec-2.1.0
%py_req_cleanup
%build
%{py3_build}
-PBR_VERSION=2.0.0 %sphinx_build -b html doc/source doc/build/html
+PBR_VERSION=2.1.0 %sphinx_build -b html doc/source doc/build/html
# remove the sphinx-build leftovers
rm -rf doc/build/html/.{doctrees,buildinfo}
++++++ renderspec-2.0.0.tar.gz -> renderspec-2.1.0.tar.gz ++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/renderspec-2.0.0/ChangeLog
new/renderspec-2.1.0/ChangeLog
--- old/renderspec-2.0.0/ChangeLog 2020-03-17 10:23:50.000000000 +0100
+++ new/renderspec-2.1.0/ChangeLog 2020-10-02 14:21:20.000000000 +0200
@@ -1,6 +1,14 @@
CHANGES
=======
+2.1.0
+-----
+
+* Improve distro detection for recent Fedora releases
+* Switch to newer openstackdocstheme version
+* Cleanup py27 support
+* Python 3.8 tests are passing, declare as supported
+
2.0.0
-----
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/renderspec-2.0.0/PKG-INFO
new/renderspec-2.1.0/PKG-INFO
--- old/renderspec-2.0.0/PKG-INFO 2020-03-17 10:23:50.000000000 +0100
+++ new/renderspec-2.1.0/PKG-INFO 2020-10-02 14:21:20.000000000 +0200
@@ -1,6 +1,6 @@
-Metadata-Version: 1.1
+Metadata-Version: 1.2
Name: renderspec
-Version: 2.0.0
+Version: 2.1.0
Summary: Jinja2 template renderer for generating .spec files
Home-page: https://docs.openstack.org/renderspec/latest/
Author: OpenStack
@@ -64,6 +64,10 @@
Classifier: License :: OSI Approved :: Apache Software License
Classifier: Operating System :: POSIX :: Linux
Classifier: Programming Language :: Python
+Classifier: Programming Language :: Python :: Implementation :: CPython
+Classifier: Programming Language :: Python :: 3 :: Only
Classifier: Programming Language :: Python :: 3
Classifier: Programming Language :: Python :: 3.6
Classifier: Programming Language :: Python :: 3.7
+Classifier: Programming Language :: Python :: 3.8
+Requires-Python: >=3.6
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/renderspec-2.0.0/doc/requirements.txt
new/renderspec-2.1.0/doc/requirements.txt
--- old/renderspec-2.0.0/doc/requirements.txt 2020-03-17 10:23:02.000000000
+0100
+++ new/renderspec-2.1.0/doc/requirements.txt 2020-10-02 14:20:22.000000000
+0200
@@ -1,6 +1,5 @@
# The order of packages is significant, because pip processes them in the order
# of appearance. Changing the order has an impact on the overall integration
# process, which may cause wedges in the gate later.
-sphinx!=1.6.6,!=1.6.7,>=1.6.2,<2.0.0;python_version=='2.7' # BSD
-sphinx!=1.6.6,!=1.6.7,>=1.6.2;python_version>='3.4' # BSD
-openstackdocstheme>=1.18.1 # Apache-2.0
+sphinx>=2.0.0,!=2.1.0 # BSD
+openstackdocstheme>=2.2.1 # Apache-2.0
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/renderspec-2.0.0/doc/source/conf.py
new/renderspec-2.1.0/doc/source/conf.py
--- old/renderspec-2.0.0/doc/source/conf.py 2020-03-17 10:23:02.000000000
+0100
+++ new/renderspec-2.1.0/doc/source/conf.py 2020-10-02 14:20:22.000000000
+0200
@@ -38,10 +38,12 @@
add_module_names = True
# The name of the Pygments (syntax highlighting) style to use.
-pygments_style = 'sphinx'
+pygments_style = 'native'
# openstackdocstheme options
-repository_name = 'openstack/renderspec'
+openstackdocs_repo_name = 'openstack/renderspec'
+openstackdocs_auto_name = False
+openstackdocs_bug_project = 'renderspec'
# -- Options for HTML output --------------------------------------------------
@@ -49,14 +51,11 @@
# Sphinx are currently 'default' and 'sphinxdoc'.
# html_theme_path = ["."]
# html_theme = '_theme'
-html_static_path = ['static']
+# html_static_path = ['static']
# Output file base name for HTML help builder.
htmlhelp_basename = '%sdoc' % project
-git_cmd = "git log --pretty=format:'%ad, commit %h' --date=local -n1"
-html_last_updated_fmt = os.popen(git_cmd).read()
-
# Grouping the document tree into LaTeX files. List of tuples
# (source start file, target name, title, author, documentclass
# [howto/manual]).
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/renderspec-2.0.0/doc/source/usage.rst
new/renderspec-2.1.0/doc/source/usage.rst
--- old/renderspec-2.0.0/doc/source/usage.rst 2020-03-17 10:23:02.000000000
+0100
+++ new/renderspec-2.1.0/doc/source/usage.rst 2020-10-02 14:20:22.000000000
+0200
@@ -285,7 +285,8 @@
context function `license`
-************************
+**************************
+
The templates use `SPDX`_ license names and theses names are translated for
different distros.
For example, a project uses the `Apache-2.0` license::
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/renderspec-2.0.0/renderspec/__init__.py
new/renderspec-2.1.0/renderspec/__init__.py
--- old/renderspec-2.0.0/renderspec/__init__.py 2020-03-17 10:23:02.000000000
+0100
+++ new/renderspec-2.1.0/renderspec/__init__.py 2020-10-02 14:20:22.000000000
+0200
@@ -95,9 +95,21 @@
distname = l.partition('=')[2].strip(
string.punctuation + string.whitespace)
break
+ # Later Fedora versions (e.g. Fedora 32) do not include ID_LIKE
+ # in /etc/os-release, so we need to rely on ID
+ if not distname:
+ with open('/etc/os-release', 'r') as lsb_release:
+ for l in lsb_release:
+ if l.startswith('ID='):
+ distname = l.partition('=')[2].strip(
+ string.punctuation + string.whitespace)
+ break
except OSError:
print('WARN: Unable to determine Linux distribution')
+ if not distname:
+ print('WARN: Unable to determine Linux distribution')
+
if "suse" in distname.lower():
return "suse"
elif _is_fedora(distname):
@@ -109,9 +121,12 @@
def _get_default_pyskips(distro):
# py3 building is all complicated on CentOS 7.x
if distro == 'fedora':
- distname, distver, _ = platform.linux_distribution()
- if 'CentOS' in distname and distver.startswith('7'):
- return 'py3'
+ # Python 3.8 or newer does no longer provide this function
+ # CentOS 7 does not have Python 3.8
+ if hasattr(platform, 'linux_distribution'):
+ distname, distver, _ = platform.linux_distribution()
+ if 'CentOS' in distname and distver.startswith('7'):
+ return 'py3'
return None
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/renderspec-2.0.0/renderspec.egg-info/PKG-INFO
new/renderspec-2.1.0/renderspec.egg-info/PKG-INFO
--- old/renderspec-2.0.0/renderspec.egg-info/PKG-INFO 2020-03-17
10:23:50.000000000 +0100
+++ new/renderspec-2.1.0/renderspec.egg-info/PKG-INFO 2020-10-02
14:21:20.000000000 +0200
@@ -1,6 +1,6 @@
-Metadata-Version: 1.1
+Metadata-Version: 1.2
Name: renderspec
-Version: 2.0.0
+Version: 2.1.0
Summary: Jinja2 template renderer for generating .spec files
Home-page: https://docs.openstack.org/renderspec/latest/
Author: OpenStack
@@ -64,6 +64,10 @@
Classifier: License :: OSI Approved :: Apache Software License
Classifier: Operating System :: POSIX :: Linux
Classifier: Programming Language :: Python
+Classifier: Programming Language :: Python :: Implementation :: CPython
+Classifier: Programming Language :: Python :: 3 :: Only
Classifier: Programming Language :: Python :: 3
Classifier: Programming Language :: Python :: 3.6
Classifier: Programming Language :: Python :: 3.7
+Classifier: Programming Language :: Python :: 3.8
+Requires-Python: >=3.6
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/renderspec-2.0.0/renderspec.egg-info/pbr.json
new/renderspec-2.1.0/renderspec.egg-info/pbr.json
--- old/renderspec-2.0.0/renderspec.egg-info/pbr.json 2020-03-17
10:23:50.000000000 +0100
+++ new/renderspec-2.1.0/renderspec.egg-info/pbr.json 2020-10-02
14:21:20.000000000 +0200
@@ -1 +1 @@
-{"git_version": "50bea70", "is_release": true}
\ No newline at end of file
+{"git_version": "eb69d47", "is_release": true}
\ No newline at end of file
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/renderspec-2.0.0/renderspec.egg-info/requires.txt
new/renderspec-2.1.0/renderspec.egg-info/requires.txt
--- old/renderspec-2.0.0/renderspec.egg-info/requires.txt 2020-03-17
10:23:50.000000000 +0100
+++ new/renderspec-2.1.0/renderspec.egg-info/requires.txt 2020-10-02
14:21:20.000000000 +0200
@@ -1,4 +1,4 @@
-pymod2pkg!=0.8.0,>=0.7.0
Jinja2>=2.10
PyYAML>=3.10
packaging>=16.5
+pymod2pkg!=0.8.0,>=0.7.0
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/renderspec-2.0.0/setup.cfg
new/renderspec-2.1.0/setup.cfg
--- old/renderspec-2.0.0/setup.cfg 2020-03-17 10:23:50.000000000 +0100
+++ new/renderspec-2.1.0/setup.cfg 2020-10-02 14:21:20.000000000 +0200
@@ -6,6 +6,7 @@
author = OpenStack
author-email = [email protected]
home-page = https://docs.openstack.org/renderspec/latest/
+python-requires = >=3.6
classifier =
Environment :: Console
Environment :: OpenStack
@@ -14,13 +15,12 @@
License :: OSI Approved :: Apache Software License
Operating System :: POSIX :: Linux
Programming Language :: Python
+ Programming Language :: Python :: Implementation :: CPython
+ Programming Language :: Python :: 3 :: Only
Programming Language :: Python :: 3
Programming Language :: Python :: 3.6
Programming Language :: Python :: 3.7
-
-[global]
-setup-hooks =
- pbr.hooks.setup_hook
+ Programming Language :: Python :: 3.8
[entry_points]
console_scripts =
@@ -30,17 +30,6 @@
packages =
renderspec
-[build_sphinx]
-all_files = 1
-source-dir = doc/source
-build-dir = doc/build
-
-[upload_sphinx]
-upload-dir = doc/build/html
-
-[wheel]
-universal = 1
-
[egg_info]
tag_build =
tag_date = 0
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/renderspec-2.0.0/setup.py
new/renderspec-2.1.0/setup.py
--- old/renderspec-2.0.0/setup.py 2020-03-17 10:23:02.000000000 +0100
+++ new/renderspec-2.1.0/setup.py 2020-10-02 14:20:22.000000000 +0200
@@ -13,17 +13,8 @@
# 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 # noqa
-except ImportError:
- pass
-
setuptools.setup(
setup_requires=['pbr>=2.0.0'],
pbr=True)
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/renderspec-2.0.0/tox.ini new/renderspec-2.1.0/tox.ini
--- old/renderspec-2.0.0/tox.ini 2020-03-17 10:23:02.000000000 +0100
+++ new/renderspec-2.1.0/tox.ini 2020-10-02 14:20:22.000000000 +0200
@@ -35,5 +35,6 @@
[testenv:docs]
deps = -r{toxinidir}/doc/requirements.txt
commands =
- python setup.py build_sphinx
+ sphinx-build -W -b html doc/source doc/build/html
+
_______________________________________________
openSUSE Commits mailing list -- [email protected]
To unsubscribe, email [email protected]
List Netiquette: https://en.opensuse.org/openSUSE:Mailing_list_netiquette
List Archives:
https://lists.opensuse.org/archives/list/[email protected]