Hello community, here is the log from the commit of package python-manuel for openSUSE:Factory checked in at 2019-01-03 18:08:36 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/python-manuel (Old) and /work/SRC/openSUSE:Factory/.python-manuel.new.28833 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "python-manuel" Thu Jan 3 18:08:36 2019 rev:6 rq:662438 version:1.10.1 Changes: -------- --- /work/SRC/openSUSE:Factory/python-manuel/python-manuel.changes 2018-04-17 11:18:34.315445666 +0200 +++ /work/SRC/openSUSE:Factory/.python-manuel.new.28833/python-manuel.changes 2019-01-03 18:08:41.456030411 +0100 @@ -1,0 +2,7 @@ +Wed Jan 2 12:30:57 UTC 2019 - Tomáš Chvátal <[email protected]> + +- Update to 1.10.1: + * Support for pypy3 + * Support for python 3.7 + +------------------------------------------------------------------- Old: ---- manuel-1.9.0.tar.gz New: ---- manuel-1.10.1.tar.gz ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ python-manuel.spec ++++++ --- /var/tmp/diff_new_pack.oViQBT/_old 2019-01-03 18:08:42.532029456 +0100 +++ /var/tmp/diff_new_pack.oViQBT/_new 2019-01-03 18:08:42.532029456 +0100 @@ -1,7 +1,7 @@ # # spec file for package python-manuel # -# Copyright (c) 2018 SUSE LINUX GmbH, Nuernberg, Germany. +# Copyright (c) 2019 SUSE LINUX GmbH, Nuernberg, Germany. # Copyright (c) 2013-2018 LISA GmbH, Bingen, Germany. # # All modifications and additions to the file contributed by third parties @@ -13,30 +13,29 @@ # 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/ # %{?!python_module:%define python_module() python-%{**} python3-%{**}} Name: python-manuel -Version: 1.9.0 +Version: 1.10.1 Release: 0 Summary: Build tested documentation License: Apache-2.0 Group: Development/Languages/Python -Url: http://www.python.org/pypi/manuel +URL: https://pypi.org/project/manuel/ Source: https://files.pythonhosted.org/packages/source/m/manuel/manuel-%{version}.tar.gz # add fixed sphinx config <[email protected]> Source1: conf.py -BuildRequires: %{python_module setuptools} -BuildRequires: %{python_module six} # Documentation requirements: BuildRequires: %{python_module Sphinx} +BuildRequires: %{python_module setuptools} +BuildRequires: %{python_module six} # Testing requirements: BuildRequires: %{python_module zope.testing} BuildRequires: fdupes BuildRequires: python-rpm-macros -BuildRoot: %{_tmppath}/%{name}-%{version}-build BuildArch: noarch %python_subpackages @@ -56,12 +55,12 @@ %prep %setup -q -n manuel-%{version} -cp %SOURCE1 . +cp %{SOURCE1} . %build %python_build %{_python_use_flavor python3} -%__python3 setup.py build_sphinx && rm build/sphinx/html/.buildinfo +python3 setup.py build_sphinx && rm build/sphinx/html/.buildinfo %install %python_install @@ -71,12 +70,11 @@ %python_exec setup.py -q test %files %{python_files} -%defattr(-,root,root,-) -%doc CHANGES.rst COPYRIGHT.rst LICENSE.rst PKG-INFO README.rst +%license LICENSE.rst +%doc CHANGES.rst COPYRIGHT.rst PKG-INFO README.rst %{python_sitelib}/* %files %{python_files doc} -%defattr(-,root,root,-) %doc build/sphinx/html %changelog ++++++ manuel-1.9.0.tar.gz -> manuel-1.10.1.tar.gz ++++++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/manuel-1.9.0/.circleci/config.yml new/manuel-1.10.1/.circleci/config.yml --- old/manuel-1.9.0/.circleci/config.yml 1970-01-01 01:00:00.000000000 +0100 +++ new/manuel-1.10.1/.circleci/config.yml 2018-11-15 15:22:29.000000000 +0100 @@ -0,0 +1,20 @@ +# Python CircleCI 2.0 configuration file +# +# Check https://circleci.com/docs/2.0/language-python/ for more details +# +version: 2 + +jobs: + build: + working_directory: ~/repo + + docker: + - image: circleci/python:3.6.4 + + steps: + - checkout + + - run: + name: Run Tests + command: | + python setup.py test diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/manuel-1.9.0/.coveragerc new/manuel-1.10.1/.coveragerc --- old/manuel-1.9.0/.coveragerc 1970-01-01 01:00:00.000000000 +0100 +++ new/manuel-1.10.1/.coveragerc 2018-11-15 15:22:29.000000000 +0100 @@ -0,0 +1,9 @@ +[run] +branch = True +source = manuel +omit = */test* + +[report] +show_missing = true +exclude_lines = + pragma: no cover diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/manuel-1.9.0/.coveralls.yaml new/manuel-1.10.1/.coveralls.yaml --- old/manuel-1.9.0/.coveralls.yaml 1970-01-01 01:00:00.000000000 +0100 +++ new/manuel-1.10.1/.coveralls.yaml 2018-11-15 15:22:29.000000000 +0100 @@ -0,0 +1 @@ +repo_token: KSGERiTYQ51Efz265Uivz00izkUkiBMUp diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/manuel-1.9.0/CHANGES.rst new/manuel-1.10.1/CHANGES.rst --- old/manuel-1.9.0/CHANGES.rst 2017-11-20 17:05:44.000000000 +0100 +++ new/manuel-1.10.1/CHANGES.rst 2018-11-15 15:22:29.000000000 +0100 @@ -1,6 +1,18 @@ CHANGES ======= +1.10.1 (2018-11-15) +------------------- + +- Add support for PyPy3. + +1.10.0 (2018-11-14) +------------------- + +- Fix DeprecationWarning about 'U' mode under Python 3. +- Drop Python 2.7 and 3.3 support. Add testing and support for Python 3.6 and + 3.7. + 1.9.0 (2017-11-20) ------------------ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/manuel-1.9.0/MANIFEST.in new/manuel-1.10.1/MANIFEST.in --- old/manuel-1.9.0/MANIFEST.in 2017-11-20 17:05:44.000000000 +0100 +++ new/manuel-1.10.1/MANIFEST.in 2018-11-15 15:22:29.000000000 +0100 @@ -6,3 +6,6 @@ include tox.ini include bootstrap.py include buildout.cfg +include *.yaml +include .coveragerc +include .circleci/* diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/manuel-1.9.0/PKG-INFO new/manuel-1.10.1/PKG-INFO --- old/manuel-1.9.0/PKG-INFO 2017-11-20 17:05:45.000000000 +0100 +++ new/manuel-1.10.1/PKG-INFO 2018-11-15 15:22:29.000000000 +0100 @@ -1,12 +1,24 @@ -Metadata-Version: 1.1 +Metadata-Version: 2.1 Name: manuel -Version: 1.9.0 +Version: 1.10.1 Summary: Manuel lets you build tested documentation. Home-page: http://pypi.python.org/pypi/manuel Author: Benji York Author-email: [email protected] License: Apache Software License, Version 2.0 -Description: Documentation, a full list of included plug-ins, and examples are available at +Description: .. image:: https://travis-ci.org/benji-york/manuel.png?branch=master + :target: https://travis-ci.org/benji-york/manuel + + .. image:: https://coveralls.io/repos/github/benji-york/manuel/badge.svg?branch=master + :target: https://coveralls.io/github/benji-york/manuel?branch=master + + .. image:: https://img.shields.io/pypi/v/manuel.svg + :target: https://pypi.python.org/pypi/manuel + + .. image:: https://img.shields.io/pypi/pyversions/manuel.svg + :target: https://pypi.python.org/pypi/manuel/ + + Documentation, a full list of included plug-ins, and examples are available at `<http://packages.python.org/manuel/>`_. Source code and issues are managed at https://github.com/benji-york/manuel. @@ -15,6 +27,18 @@ CHANGES ======= + 1.10.1 (2018-11-15) + ------------------- + + - Add support for PyPy3. + + 1.10.0 (2018-11-14) + ------------------- + + - Fix DeprecationWarning about 'U' mode under Python 3. + - Drop Python 2.7 and 3.3 support. Add testing and support for Python 3.6 and + 3.7. + 1.9.0 (2017-11-20) ------------------ @@ -219,12 +243,13 @@ Keywords: testing,documentation Platform: UNKNOWN Classifier: Programming Language :: Python :: 2 -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 :: Implementation :: CPython Classifier: Programming Language :: Python :: Implementation :: PyPy Classifier: License :: OSI Approved :: Apache Software License +Provides-Extra: tests diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/manuel-1.9.0/README.rst new/manuel-1.10.1/README.rst --- old/manuel-1.9.0/README.rst 2017-11-20 17:05:44.000000000 +0100 +++ new/manuel-1.10.1/README.rst 2018-11-15 15:22:29.000000000 +0100 @@ -1,3 +1,15 @@ +.. image:: https://travis-ci.org/benji-york/manuel.png?branch=master + :target: https://travis-ci.org/benji-york/manuel + +.. image:: https://coveralls.io/repos/github/benji-york/manuel/badge.svg?branch=master + :target: https://coveralls.io/github/benji-york/manuel?branch=master + +.. image:: https://img.shields.io/pypi/v/manuel.svg + :target: https://pypi.python.org/pypi/manuel + +.. image:: https://img.shields.io/pypi/pyversions/manuel.svg + :target: https://pypi.python.org/pypi/manuel/ + Documentation, a full list of included plug-ins, and examples are available at `<http://packages.python.org/manuel/>`_. diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/manuel-1.9.0/setup.cfg new/manuel-1.10.1/setup.cfg --- old/manuel-1.9.0/setup.cfg 2017-11-20 17:05:45.000000000 +0100 +++ new/manuel-1.10.1/setup.cfg 2018-11-15 15:22:29.000000000 +0100 @@ -1,5 +1,4 @@ [egg_info] tag_build = tag_date = 0 -tag_svn_revision = 0 diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/manuel-1.9.0/setup.py new/manuel-1.10.1/setup.py --- old/manuel-1.9.0/setup.py 2017-11-20 17:05:44.000000000 +0100 +++ new/manuel-1.10.1/setup.py 2018-11-15 15:22:29.000000000 +0100 @@ -24,7 +24,7 @@ setup( name='manuel', - version='1.9.0', + version='1.10.1', url='http://pypi.python.org/pypi/manuel', packages=find_packages('src'), package_dir={'': 'src'}, @@ -34,12 +34,12 @@ description='Manuel lets you build tested documentation.', classifiers=[ 'Programming Language :: Python :: 2', - '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 :: Implementation :: CPython', 'Programming Language :: Python :: Implementation :: PyPy', 'License :: OSI Approved :: Apache Software License', diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/manuel-1.9.0/src/manuel/README.txt new/manuel-1.10.1/src/manuel/README.txt --- old/manuel-1.9.0/src/manuel/README.txt 2017-11-20 17:05:44.000000000 +0100 +++ new/manuel-1.10.1/src/manuel/README.txt 2018-11-15 15:22:29.000000000 +0100 @@ -81,9 +81,9 @@ start_match and end_match attributes. >>> region.start_match - <_sre.SRE_Match object...> + <...Match object...> >>> region.end_match - <_sre.SRE_Match object...> + <...Match object...> Regions must always consist of whole lines. diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/manuel-1.9.0/src/manuel/index.txt new/manuel-1.10.1/src/manuel/index.txt --- old/manuel-1.9.0/src/manuel/index.txt 2017-11-20 17:05:44.000000000 +0100 +++ new/manuel-1.10.1/src/manuel/index.txt 2018-11-15 15:22:29.000000000 +0100 @@ -779,7 +779,7 @@ File "<memory>:4", line 2 def foo: ^ - SyntaxError: invalid syntax + SyntaxError: invalid syntax... The :mod:`manuel.ignore` module provides a way to ignore parts of a document using a directive ".. ignore-next-block". diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/manuel-1.9.0/src/manuel/testing.py new/manuel-1.10.1/src/manuel/testing.py --- old/manuel-1.9.0/src/manuel/testing.py 2017-11-20 17:05:44.000000000 +0100 +++ new/manuel-1.10.1/src/manuel/testing.py 2018-11-15 15:22:29.000000000 +0100 @@ -5,6 +5,7 @@ import inspect import itertools import manuel +import io import os.path import re import sys @@ -179,9 +180,13 @@ abs_path = \ os.path.abspath(_module_relative_path(calling_module, path)) - with open(abs_path, 'U') as fp: + with io.open(abs_path, 'rt', newline=None) as fp: + contents = fp.read() + if not isinstance(contents, str): + # Python 2, we read unicode, but we really need a str + contents = str.encode("utf-8") document = manuel.Document( - fp.read(), location=abs_path) + contents, location=abs_path) document.parse_with(m) for regions in group_regions_by_test_case(document): diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/manuel-1.9.0/src/manuel/tests.py new/manuel-1.10.1/src/manuel/tests.py --- old/manuel-1.9.0/src/manuel/tests.py 2017-11-20 17:05:44.000000000 +0100 +++ new/manuel-1.10.1/src/manuel/tests.py 2018-11-15 15:22:29.000000000 +0100 @@ -23,6 +23,9 @@ # PyPy's default __repr__ is slightly different (re.compile(r"<__builtin__\.(Table|TableError|NumbersTest|NumbersResult) object"), r"<\1 object"), + # PyPy3's default __repr__ is slightly different + (re.compile(r"<builtins\.(Table|TableError|NumbersTest|NumbersResult) object"), + r"<\1 object"), (re.compile(r"<SRE_Match object"), r"<_sre.SRE_Match object"), ]) diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/manuel-1.9.0/src/manuel.egg-info/PKG-INFO new/manuel-1.10.1/src/manuel.egg-info/PKG-INFO --- old/manuel-1.9.0/src/manuel.egg-info/PKG-INFO 2017-11-20 17:05:44.000000000 +0100 +++ new/manuel-1.10.1/src/manuel.egg-info/PKG-INFO 2018-11-15 15:22:29.000000000 +0100 @@ -1,12 +1,24 @@ -Metadata-Version: 1.1 +Metadata-Version: 2.1 Name: manuel -Version: 1.9.0 +Version: 1.10.1 Summary: Manuel lets you build tested documentation. Home-page: http://pypi.python.org/pypi/manuel Author: Benji York Author-email: [email protected] License: Apache Software License, Version 2.0 -Description: Documentation, a full list of included plug-ins, and examples are available at +Description: .. image:: https://travis-ci.org/benji-york/manuel.png?branch=master + :target: https://travis-ci.org/benji-york/manuel + + .. image:: https://coveralls.io/repos/github/benji-york/manuel/badge.svg?branch=master + :target: https://coveralls.io/github/benji-york/manuel?branch=master + + .. image:: https://img.shields.io/pypi/v/manuel.svg + :target: https://pypi.python.org/pypi/manuel + + .. image:: https://img.shields.io/pypi/pyversions/manuel.svg + :target: https://pypi.python.org/pypi/manuel/ + + Documentation, a full list of included plug-ins, and examples are available at `<http://packages.python.org/manuel/>`_. Source code and issues are managed at https://github.com/benji-york/manuel. @@ -15,6 +27,18 @@ CHANGES ======= + 1.10.1 (2018-11-15) + ------------------- + + - Add support for PyPy3. + + 1.10.0 (2018-11-14) + ------------------- + + - Fix DeprecationWarning about 'U' mode under Python 3. + - Drop Python 2.7 and 3.3 support. Add testing and support for Python 3.6 and + 3.7. + 1.9.0 (2017-11-20) ------------------ @@ -219,12 +243,13 @@ Keywords: testing,documentation Platform: UNKNOWN Classifier: Programming Language :: Python :: 2 -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 :: Implementation :: CPython Classifier: Programming Language :: Python :: Implementation :: PyPy Classifier: License :: OSI Approved :: Apache Software License +Provides-Extra: tests diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/manuel-1.9.0/src/manuel.egg-info/SOURCES.txt new/manuel-1.10.1/src/manuel.egg-info/SOURCES.txt --- old/manuel-1.9.0/src/manuel.egg-info/SOURCES.txt 2017-11-20 17:05:45.000000000 +0100 +++ new/manuel-1.10.1/src/manuel.egg-info/SOURCES.txt 2018-11-15 15:22:29.000000000 +0100 @@ -1,3 +1,5 @@ +.coveragerc +.coveralls.yaml CHANGES.rst COPYRIGHT.rst LICENSE.rst @@ -7,6 +9,7 @@ buildout.cfg setup.py tox.ini +.circleci/config.yml sphinx/conf.py src/manuel/README.txt src/manuel/__init__.py diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/manuel-1.9.0/tox.ini new/manuel-1.10.1/tox.ini --- old/manuel-1.9.0/tox.ini 2017-11-20 17:05:44.000000000 +0100 +++ new/manuel-1.10.1/tox.ini 2018-11-15 15:22:29.000000000 +0100 @@ -1,9 +1,22 @@ [tox] +skip_missing_interpreters = True envlist = - py26,py27,py33,py34,py35,pypy + py27,py34,py35,py36,py37,pypy,pypy3,coverage [testenv] deps = + coverage zope.testing commands = - python setup.py test -q + coverage run setup.py test -q +setenv = + COVERAGE_FILE=.coverage.{envname} + +[testenv:coverage] +setenv = + COVERAGE_FILE=.coverage +skip_install = true +commands = + coverage erase + coverage combine + coverage report
