Hello community,
here is the log from the commit of package python-backports.unittest_mock for
openSUSE:Factory checked in at 2019-03-04 09:10:52
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/python-backports.unittest_mock (Old)
and /work/SRC/openSUSE:Factory/.python-backports.unittest_mock.new.28833
(New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "python-backports.unittest_mock"
Mon Mar 4 09:10:52 2019 rev:6 rq:680463 version:1.4
Changes:
--------
---
/work/SRC/openSUSE:Factory/python-backports.unittest_mock/python-backports.unittest_mock.changes
2018-12-06 12:14:06.745726417 +0100
+++
/work/SRC/openSUSE:Factory/.python-backports.unittest_mock.new.28833/python-backports.unittest_mock.changes
2019-03-04 09:10:54.280702604 +0100
@@ -1,0 +2,6 @@
+Fri Mar 1 11:14:07 UTC 2019 - Tomáš Chvátal <[email protected]>
+
+- Update to 1.4:
+ * Add pytest trove classifier
+
+-------------------------------------------------------------------
Old:
----
backports.unittest_mock-1.3.tar.gz
New:
----
backports.unittest_mock-1.4.tar.gz
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ python-backports.unittest_mock.spec ++++++
--- /var/tmp/diff_new_pack.GBN8AC/_old 2019-03-04 09:10:55.152702458 +0100
+++ /var/tmp/diff_new_pack.GBN8AC/_new 2019-03-04 09:10:55.152702458 +0100
@@ -1,7 +1,7 @@
#
# spec file for package python-backports.unittest_mock
#
-# Copyright (c) 2018 SUSE LINUX GmbH, Nuernberg, Germany.
+# Copyright (c) 2019 SUSE LINUX GmbH, Nuernberg, Germany.
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
@@ -17,23 +17,17 @@
%{?!python_module:%define python_module() python-%{**} python3-%{**}}
+%if %{python3_version_nodots} >= 33
+%define skip_python3 1
+%endif
Name: python-backports.unittest_mock
-Version: 1.3
+Version: 1.4
Release: 0
Summary: Backports of unittest_mock
License: MIT
Group: Development/Languages/Python
-Url: https://github.com/jaraco/backports.unittest_mock
+URL: https://github.com/jaraco/backports.unittest_mock
Source:
https://files.pythonhosted.org/packages/source/b/backports.unittest_mock/backports.unittest_mock-%{version}.tar.gz
-BuildRequires: %{python_module setuptools_scm}
-BuildRequires: %{python_module setuptools}
-BuildRequires: fdupes
-BuildRequires: python-rpm-macros
-# SECTION test requirements
-BuildRequires: %{python_module mock}
-BuildRequires: %{python_module pytest-runner}
-BuildRequires: %{python_module pytest}
-# /SECTION
# NOTE:
# %%{python_sitelib}/backports is a namespace package, and so under python 2
it must have a proper namespace __init__.py
# python-backports provides this __init__.py to prevent backports packages
from conflicting.
@@ -42,14 +36,17 @@
# https://www.python.org/dev/peps/pep-0420/%23namespace-packages-today
# If you need to link, the python-backports package is built as a subpackage
of python-configparser
BuildRequires: %{python_module backports}
+BuildRequires: %{python_module setuptools_scm}
+BuildRequires: %{python_module setuptools}
+BuildRequires: fdupes
+BuildRequires: python-rpm-macros
Requires: python-backports
Requires: python-mock
BuildArch: noarch
-
-%if %{python3_version_nodots} >= 33
-%define skip_python3 1
-%endif
-
+# SECTION test requirements
+BuildRequires: %{python_module mock}
+BuildRequires: %{python_module pytest}
+# /SECTION
%python_subpackages
%description
@@ -61,6 +58,7 @@
%prep
%setup -q -n backports.unittest_mock-%{version}
rm -rf backports.unittest_mock.egg-info
+rm -f pytest.ini
%build
%python_build
@@ -82,8 +80,8 @@
mv backports_temp backports
%files %{python_files}
-%defattr(-,root,root)
%doc CHANGES.rst README.rst
+%license LICENSE
%{python_sitelib}/backports/unittest_mock/
%{python_sitelib}/backports.unittest_mock-*
++++++ backports.unittest_mock-1.3.tar.gz -> backports.unittest_mock-1.4.tar.gz
++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/backports.unittest_mock-1.3/.flake8
new/backports.unittest_mock-1.4/.flake8
--- old/backports.unittest_mock-1.3/.flake8 1970-01-01 01:00:00.000000000
+0100
+++ new/backports.unittest_mock-1.4/.flake8 2018-07-09 04:42:11.000000000
+0200
@@ -0,0 +1,6 @@
+[flake8]
+ignore =
+ # Allow tabs for indentation
+ W191
+ # W503 violates spec https://github.com/PyCQA/pycodestyle/issues/513
+ W503
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/backports.unittest_mock-1.3/.travis.yml
new/backports.unittest_mock-1.4/.travis.yml
--- old/backports.unittest_mock-1.3/.travis.yml 2017-05-13 04:04:59.000000000
+0200
+++ new/backports.unittest_mock-1.4/.travis.yml 2018-07-09 04:42:11.000000000
+0200
@@ -1,25 +1,38 @@
+dist: trusty
sudo: false
language: python
+
python:
-- 2.6
- 2.7
-- 3.6
+- &latest_py3 3.6
+
+jobs:
+ fast_finish: true
+ include:
+ - stage: deploy
+ if: tag IS present
+ python: *latest_py3
+ install: skip
+ script: skip
+ deploy:
+ provider: pypi
+ on:
+ tags: true
+ all_branches: true
+ user: jaraco
+ password:
+ secure:
hvxJUMYKOlVTa4d0bhO7FfYOLu6lIR5fNYl97NLXlp7MhQ+/ZWKRiu0OZ/VHBDe0ZaJAp3Gq9zw9QsikNLzMBuA8miyW1L0ASw+rAm5U3W/FoYOgftUhdF/vjI84pDgMHLdRKlXlyRKpN8OtjBalQetP4yPUyqSUgZY27Q/ZO4Sbap34CHU8hhoCfLAnc+sHl9eDwkMpJd04kQLjui0QwsHH/ChVPL+kEIbWLeJsd5SLvlBUhVuCqS5O/UKaZOdJVa0tVWtPKAJhj1cUMKQt3GtGjlIXXrpIX5Mq4xfxH5jRjwQu0NapCIlT0u59T8H0ollt5wuamWs3e2hlCiQsq7Yy36a/OpF1qzg06cro+0FheDYaeQuN0tC1/y/jtEdNTu7VzVNDINfBV1T7liCeOkEKSUyCajlRVa1cCVtNV8ct2VuJiSa+Kao14OUFCHwqH3IZHdEm1QCpScuYZjaoj9hqIPQPFYspJl5OfTGIhhXuZcwWU0zofLJSTjSxIMkkJHNaszGZzZiPTh0tjBlfPImj28/zY0mywHiq0xBYN937x6u1JVIRu8yTAqfMzfreNXywsjuejpVtjPGYRM1fQrtnhoGZrpCk/38XV5XdKlrYZmsZtSy90GWFHlsHemtnAR6TGmzGeXAZIT2uhjFymg2CYLgGENhO4pfVFxa1ork=
+ distributions: dists
+ skip_cleanup: true
+
+cache: pip
+
install:
-- pip install tox "setuptools>=28.2"
-script:
-- tox
-branches:
- except:
- - skeleton
-deploy:
- provider: pypi
- server: https://upload.pypi.org/legacy/
- on:
- tags: true
- all_branches: true
- python: 3.6
- user: jaraco
- distributions: dists
- skip_upload_docs: true
- password:
- secure:
hvxJUMYKOlVTa4d0bhO7FfYOLu6lIR5fNYl97NLXlp7MhQ+/ZWKRiu0OZ/VHBDe0ZaJAp3Gq9zw9QsikNLzMBuA8miyW1L0ASw+rAm5U3W/FoYOgftUhdF/vjI84pDgMHLdRKlXlyRKpN8OtjBalQetP4yPUyqSUgZY27Q/ZO4Sbap34CHU8hhoCfLAnc+sHl9eDwkMpJd04kQLjui0QwsHH/ChVPL+kEIbWLeJsd5SLvlBUhVuCqS5O/UKaZOdJVa0tVWtPKAJhj1cUMKQt3GtGjlIXXrpIX5Mq4xfxH5jRjwQu0NapCIlT0u59T8H0ollt5wuamWs3e2hlCiQsq7Yy36a/OpF1qzg06cro+0FheDYaeQuN0tC1/y/jtEdNTu7VzVNDINfBV1T7liCeOkEKSUyCajlRVa1cCVtNV8ct2VuJiSa+Kao14OUFCHwqH3IZHdEm1QCpScuYZjaoj9hqIPQPFYspJl5OfTGIhhXuZcwWU0zofLJSTjSxIMkkJHNaszGZzZiPTh0tjBlfPImj28/zY0mywHiq0xBYN937x6u1JVIRu8yTAqfMzfreNXywsjuejpVtjPGYRM1fQrtnhoGZrpCk/38XV5XdKlrYZmsZtSy90GWFHlsHemtnAR6TGmzGeXAZIT2uhjFymg2CYLgGENhO4pfVFxa1ork=
+- pip install tox tox-venv
+
+before_script:
+ # Disable IPv6. Ref travis-ci/travis-ci#8361
+ - if [ "${TRAVIS_OS_NAME}" == "linux" ]; then
+ sudo sh -c 'echo 0 > /proc/sys/net/ipv6/conf/all/disable_ipv6';
+ fi
+script: tox
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/backports.unittest_mock-1.3/CHANGES.rst
new/backports.unittest_mock-1.4/CHANGES.rst
--- old/backports.unittest_mock-1.3/CHANGES.rst 2017-05-13 04:04:59.000000000
+0200
+++ new/backports.unittest_mock-1.4/CHANGES.rst 2018-07-09 04:42:11.000000000
+0200
@@ -1,3 +1,15 @@
+1.4
+===
+
+Package refresh. Added Pytest Trove classifier.
+
+1.3
+===
+
+Merge with skeleton.
+
+Use ``pkgutil`` for backports namespace package.
+
1.2.1
=====
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/backports.unittest_mock-1.3/LICENSE
new/backports.unittest_mock-1.4/LICENSE
--- old/backports.unittest_mock-1.3/LICENSE 1970-01-01 01:00:00.000000000
+0100
+++ new/backports.unittest_mock-1.4/LICENSE 2018-07-09 04:42:11.000000000
+0200
@@ -0,0 +1,7 @@
+Copyright Jason R. Coombs
+
+Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights to
use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies
of the Software, and to permit persons to whom the Software is furnished to do
so, subject to the following conditions:
+
+The above copyright notice and this permission notice shall be included in all
copies or substantial portions of the Software.
+
+THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
SOFTWARE.
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/backports.unittest_mock-1.3/PKG-INFO
new/backports.unittest_mock-1.4/PKG-INFO
--- old/backports.unittest_mock-1.3/PKG-INFO 2017-05-13 04:05:21.000000000
+0200
+++ new/backports.unittest_mock-1.4/PKG-INFO 2018-07-09 04:42:36.000000000
+0200
@@ -1,6 +1,6 @@
-Metadata-Version: 1.2
+Metadata-Version: 2.1
Name: backports.unittest_mock
-Version: 1.3
+Version: 1.4
Summary: backports.unittest_mock
Home-page: https://github.com/jaraco/backports.unittest_mock
Author: Jason R. Coombs
@@ -11,10 +11,14 @@
.. image::
https://img.shields.io/pypi/pyversions/backports.unittest_mock.svg
- .. image:: https://img.shields.io/pypi/dm/backports.unittest_mock.svg
-
.. image::
https://img.shields.io/travis/jaraco/backports.unittest_mock/master.svg
- :target: http://travis-ci.org/jaraco/backports.unittest_mock
+ :target: https://travis-ci.org/jaraco/backports.unittest_mock
+
+ .. .. image::
https://img.shields.io/appveyor/ci/jaraco/backports-unittest_mock/master.svg
+ .. :target:
https://ci.appveyor.com/project/jaraco/backports-unittest_mock/branch/master
+
+ .. image::
https://readthedocs.org/projects/backportsunittest_mock/badge/?version=latest
+ :target:
https://backportsunittest_mock.readthedocs.io/en/latest/?badge=latest
Provides a function "install()" which makes the "mock" module
available as "unittest.mock" on Python 3.2 and earlier.
@@ -22,14 +26,6 @@
Also advertises a pytest plugin which configures unittest.mock
automatically.
-
- License
- =======
-
- License is indicated in the project metadata (typically one or more
- of the Trove classifiers). For more details, see `this explanation
- <https://github.com/jaraco/skeleton/issues/1>`_.
-
Usage
=====
@@ -54,4 +50,9 @@
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: Framework :: Pytest
Requires-Python: >=2.6
+Provides-Extra: testing
+Provides-Extra: docs
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/backports.unittest_mock-1.3/README.rst
new/backports.unittest_mock-1.4/README.rst
--- old/backports.unittest_mock-1.3/README.rst 2017-05-13 04:04:59.000000000
+0200
+++ new/backports.unittest_mock-1.4/README.rst 2018-07-09 04:42:11.000000000
+0200
@@ -3,10 +3,14 @@
.. image:: https://img.shields.io/pypi/pyversions/backports.unittest_mock.svg
-.. image:: https://img.shields.io/pypi/dm/backports.unittest_mock.svg
-
.. image::
https://img.shields.io/travis/jaraco/backports.unittest_mock/master.svg
- :target: http://travis-ci.org/jaraco/backports.unittest_mock
+ :target: https://travis-ci.org/jaraco/backports.unittest_mock
+
+.. .. image::
https://img.shields.io/appveyor/ci/jaraco/backports-unittest_mock/master.svg
+.. :target:
https://ci.appveyor.com/project/jaraco/backports-unittest_mock/branch/master
+
+.. image::
https://readthedocs.org/projects/backportsunittest_mock/badge/?version=latest
+ :target:
https://backportsunittest_mock.readthedocs.io/en/latest/?badge=latest
Provides a function "install()" which makes the "mock" module
available as "unittest.mock" on Python 3.2 and earlier.
@@ -14,14 +18,6 @@
Also advertises a pytest plugin which configures unittest.mock
automatically.
-
-License
-=======
-
-License is indicated in the project metadata (typically one or more
-of the Trove classifiers). For more details, see `this explanation
-<https://github.com/jaraco/skeleton/issues/1>`_.
-
Usage
=====
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/backports.unittest_mock-1.3/appveyor.yml
new/backports.unittest_mock-1.4/appveyor.yml
--- old/backports.unittest_mock-1.3/appveyor.yml 2017-05-13
04:04:59.000000000 +0200
+++ new/backports.unittest_mock-1.4/appveyor.yml 2018-07-09
04:42:11.000000000 +0200
@@ -14,6 +14,11 @@
build: off
+cache:
+ - '%LOCALAPPDATA%\pip\Cache'
+
test_script:
- - "python -m pip install tox"
+ - "python -m pip install tox tox-venv"
- "tox"
+
+version: '{build}'
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore'
old/backports.unittest_mock-1.3/backports/unittest_mock/__init__.py
new/backports.unittest_mock-1.4/backports/unittest_mock/__init__.py
--- old/backports.unittest_mock-1.3/backports/unittest_mock/__init__.py
2017-05-13 04:04:59.000000000 +0200
+++ new/backports.unittest_mock-1.4/backports/unittest_mock/__init__.py
2018-07-09 04:42:11.000000000 +0200
@@ -4,7 +4,7 @@
def install():
"make mock appear from the future"
- if sys.version_info > (3,3):
+ if sys.version_info > (3, 3):
return
mock = __import__('mock')
@@ -12,4 +12,4 @@
def pytest_configure():
- install()
+ install()
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore'
old/backports.unittest_mock-1.3/backports.unittest_mock.egg-info/PKG-INFO
new/backports.unittest_mock-1.4/backports.unittest_mock.egg-info/PKG-INFO
--- old/backports.unittest_mock-1.3/backports.unittest_mock.egg-info/PKG-INFO
2017-05-13 04:05:21.000000000 +0200
+++ new/backports.unittest_mock-1.4/backports.unittest_mock.egg-info/PKG-INFO
2018-07-09 04:42:36.000000000 +0200
@@ -1,6 +1,6 @@
-Metadata-Version: 1.2
+Metadata-Version: 2.1
Name: backports.unittest-mock
-Version: 1.3
+Version: 1.4
Summary: backports.unittest_mock
Home-page: https://github.com/jaraco/backports.unittest_mock
Author: Jason R. Coombs
@@ -11,10 +11,14 @@
.. image::
https://img.shields.io/pypi/pyversions/backports.unittest_mock.svg
- .. image:: https://img.shields.io/pypi/dm/backports.unittest_mock.svg
-
.. image::
https://img.shields.io/travis/jaraco/backports.unittest_mock/master.svg
- :target: http://travis-ci.org/jaraco/backports.unittest_mock
+ :target: https://travis-ci.org/jaraco/backports.unittest_mock
+
+ .. .. image::
https://img.shields.io/appveyor/ci/jaraco/backports-unittest_mock/master.svg
+ .. :target:
https://ci.appveyor.com/project/jaraco/backports-unittest_mock/branch/master
+
+ .. image::
https://readthedocs.org/projects/backportsunittest_mock/badge/?version=latest
+ :target:
https://backportsunittest_mock.readthedocs.io/en/latest/?badge=latest
Provides a function "install()" which makes the "mock" module
available as "unittest.mock" on Python 3.2 and earlier.
@@ -22,14 +26,6 @@
Also advertises a pytest plugin which configures unittest.mock
automatically.
-
- License
- =======
-
- License is indicated in the project metadata (typically one or more
- of the Trove classifiers). For more details, see `this explanation
- <https://github.com/jaraco/skeleton/issues/1>`_.
-
Usage
=====
@@ -54,4 +50,9 @@
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: Framework :: Pytest
Requires-Python: >=2.6
+Provides-Extra: testing
+Provides-Extra: docs
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore'
old/backports.unittest_mock-1.3/backports.unittest_mock.egg-info/SOURCES.txt
new/backports.unittest_mock-1.4/backports.unittest_mock.egg-info/SOURCES.txt
---
old/backports.unittest_mock-1.3/backports.unittest_mock.egg-info/SOURCES.txt
2017-05-13 04:05:21.000000000 +0200
+++
new/backports.unittest_mock-1.4/backports.unittest_mock.egg-info/SOURCES.txt
2018-07-09 04:42:36.000000000 +0200
@@ -1,8 +1,11 @@
+.flake8
.readthedocs.yml
.travis.yml
CHANGES.rst
+LICENSE
README.rst
appveyor.yml
+pyproject.toml
pytest.ini
setup.cfg
setup.py
@@ -12,6 +15,7 @@
backports.unittest_mock.egg-info/SOURCES.txt
backports.unittest_mock.egg-info/dependency_links.txt
backports.unittest_mock.egg-info/entry_points.txt
+backports.unittest_mock.egg-info/namespace_packages.txt
backports.unittest_mock.egg-info/requires.txt
backports.unittest_mock.egg-info/top_level.txt
backports/unittest_mock/__init__.py
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore'
old/backports.unittest_mock-1.3/backports.unittest_mock.egg-info/namespace_packages.txt
new/backports.unittest_mock-1.4/backports.unittest_mock.egg-info/namespace_packages.txt
---
old/backports.unittest_mock-1.3/backports.unittest_mock.egg-info/namespace_packages.txt
1970-01-01 01:00:00.000000000 +0100
+++
new/backports.unittest_mock-1.4/backports.unittest_mock.egg-info/namespace_packages.txt
2018-07-09 04:42:36.000000000 +0200
@@ -0,0 +1 @@
+
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore'
old/backports.unittest_mock-1.3/backports.unittest_mock.egg-info/requires.txt
new/backports.unittest_mock-1.4/backports.unittest_mock.egg-info/requires.txt
---
old/backports.unittest_mock-1.3/backports.unittest_mock.egg-info/requires.txt
2017-05-13 04:05:21.000000000 +0200
+++
new/backports.unittest_mock-1.4/backports.unittest_mock.egg-info/requires.txt
2018-07-09 04:42:36.000000000 +0200
@@ -8,5 +8,7 @@
rst.linker>=1.9
[testing]
-pytest>=2.8
-pytest-sugar
+pytest>=3.5
+pytest-sugar>=0.9.1
+collective.checkdocs
+pytest-flake8
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/backports.unittest_mock-1.3/docs/conf.py
new/backports.unittest_mock-1.4/docs/conf.py
--- old/backports.unittest_mock-1.3/docs/conf.py 2017-05-13
04:04:59.000000000 +0200
+++ new/backports.unittest_mock-1.4/docs/conf.py 2018-07-09
04:42:11.000000000 +0200
@@ -2,9 +2,9 @@
# -*- coding: utf-8 -*-
extensions = [
- 'sphinx.ext.autodoc',
- 'jaraco.packaging.sphinx',
- 'rst.linker',
+ 'sphinx.ext.autodoc',
+ 'jaraco.packaging.sphinx',
+ 'rst.linker',
]
master_doc = 'index'
@@ -16,7 +16,7 @@
),
replace=[
dict(
- pattern=r'(Issue )?#(?P<issue>\d+)',
+ pattern=r'(Issue #|\B#)(?P<issue>\d+)',
url='{package_url}/issues/{issue}',
),
dict(
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/backports.unittest_mock-1.3/pyproject.toml
new/backports.unittest_mock-1.4/pyproject.toml
--- old/backports.unittest_mock-1.3/pyproject.toml 1970-01-01
01:00:00.000000000 +0100
+++ new/backports.unittest_mock-1.4/pyproject.toml 2018-07-09
04:42:11.000000000 +0200
@@ -0,0 +1,2 @@
+[build-system]
+requires = ["setuptools>=30.3", "wheel", "setuptools_scm>=1.15"]
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/backports.unittest_mock-1.3/pytest.ini
new/backports.unittest_mock-1.4/pytest.ini
--- old/backports.unittest_mock-1.3/pytest.ini 2017-05-13 04:04:59.000000000
+0200
+++ new/backports.unittest_mock-1.4/pytest.ini 2018-07-09 04:42:11.000000000
+0200
@@ -1,4 +1,4 @@
[pytest]
-norecursedirs=dist build .tox
-addopts=--doctest-modules
+norecursedirs=dist build .tox .eggs
+addopts=--doctest-modules --flake8
doctest_optionflags=ALLOW_UNICODE ELLIPSIS
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/backports.unittest_mock-1.3/setup.cfg
new/backports.unittest_mock-1.4/setup.cfg
--- old/backports.unittest_mock-1.3/setup.cfg 2017-05-13 04:05:21.000000000
+0200
+++ new/backports.unittest_mock-1.4/setup.cfg 2018-07-09 04:42:36.000000000
+0200
@@ -2,9 +2,13 @@
release = dists upload
dists = clean --all sdist bdist_wheel
-[wheel]
+[bdist_wheel]
universal = 1
+[metadata]
+license_file = LICENSE
+long_description = file:README.rst
+
[egg_info]
tag_build =
tag_date = 0
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/backports.unittest_mock-1.3/setup.py
new/backports.unittest_mock-1.4/setup.py
--- old/backports.unittest_mock-1.3/setup.py 2017-05-13 04:04:59.000000000
+0200
+++ new/backports.unittest_mock-1.4/setup.py 2018-07-09 04:42:11.000000000
+0200
@@ -2,15 +2,15 @@
# Project skeleton maintained at https://github.com/jaraco/skeleton
-import io
-
import setuptools
-with io.open('README.rst', encoding='utf-8') as readme:
- long_description = readme.read()
-
name = 'backports.unittest_mock'
description = ''
+nspkg_technique = 'native'
+"""
+Does this package use "native" namespace packages or
+pkg_resources "managed" namespace packages?
+"""
params = dict(
name=name,
@@ -18,10 +18,13 @@
author="Jason R. Coombs",
author_email="[email protected]",
description=description or name,
- long_description=long_description,
url="https://github.com/jaraco/" + name,
packages=setuptools.find_packages(),
include_package_data=True,
+ namespace_packages=(
+ name.split('.')[:-1] if nspkg_technique == 'managed'
+ else []
+ ),
python_requires='>=2.6',
install_requires=[
],
@@ -32,13 +35,21 @@
"mock",
],
'testing': [
- 'pytest>=2.8',
- 'pytest-sugar',
+ # upstream
+ 'pytest>=3.5',
+ 'pytest-sugar>=0.9.1',
+ 'collective.checkdocs',
+ 'pytest-flake8',
+
+ # local
],
'docs': [
+ # upstream
'sphinx',
'jaraco.packaging>=3.2',
'rst.linker>=1.9',
+
+ # local
],
},
setup_requires=[
@@ -55,6 +66,9 @@
"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",
+ "Framework :: Pytest",
],
entry_points={
'pytest11': [
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/backports.unittest_mock-1.3/tox.ini
new/backports.unittest_mock-1.4/tox.ini
--- old/backports.unittest_mock-1.3/tox.ini 2017-05-13 04:04:59.000000000
+0200
+++ new/backports.unittest_mock-1.4/tox.ini 2018-07-09 04:42:11.000000000
+0200
@@ -1,7 +1,22 @@
[tox]
+envlist = python
minversion = 2.4
[testenv]
-commands = py.test {posargs}
+deps =
+ setuptools>=31.0.1
+ # workaround for yaml/pyyaml#126
+ # pyyaml>=4.2b2;python_version=="3.7"
+commands =
+ pytest {posargs}
+ python setup.py checkdocs
usedevelop = True
extras = testing
+
+[testenv:build-docs]
+extras =
+ docs
+ testing
+changedir = docs
+commands =
+ python -m sphinx . {toxinidir}/build/html