Hello community,
here is the log from the commit of package python-pytest-runner for
openSUSE:Factory checked in at 2016-09-05 21:18:34
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/python-pytest-runner (Old)
and /work/SRC/openSUSE:Factory/.python-pytest-runner.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "python-pytest-runner"
Changes:
--------
---
/work/SRC/openSUSE:Factory/python-pytest-runner/python-pytest-runner.changes
2015-08-23 15:42:26.000000000 +0200
+++
/work/SRC/openSUSE:Factory/.python-pytest-runner.new/python-pytest-runner.changes
2016-09-05 21:18:36.000000000 +0200
@@ -1,0 +2,15 @@
+Thu Sep 1 07:32:02 UTC 2016 - [email protected]
+
+- update to 2.9:
+ * Added Trove Classifier indicating this package is part
+ of the pytest framework.
+ * #16: Added a license file, required for membership to
+ pytest-dev.
+ * Releases are now made automatically by pushing a
+ tagged release that passes tests on Python 3.5.
+ * Moved hosting to Github.
+- Use pypi.io as Source url
+- Add LICENSE
+- Adjust Requires and BuildRequires
+
+-------------------------------------------------------------------
Old:
----
pytest-runner-2.6.1.tar.gz
New:
----
pytest-runner-2.9.tar.gz
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ python-pytest-runner.spec ++++++
--- /var/tmp/diff_new_pack.Hn8UB2/_old 2016-09-05 21:18:37.000000000 +0200
+++ /var/tmp/diff_new_pack.Hn8UB2/_new 2016-09-05 21:18:37.000000000 +0200
@@ -1,7 +1,7 @@
#
# spec file for package python-pytest-runner
#
-# Copyright (c) 2015 SUSE LINUX Products GmbH, Nuernberg, Germany.
+# Copyright (c) 2016 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,19 +17,17 @@
Name: python-pytest-runner
-Version: 2.6.1
+Version: 2.9
Release: 0
Summary: Simple powerful testing with Python
License: MIT
Group: Development/Languages/Python
Url: http://pytest.org
-Source:
http://pypi.python.org/packages/source/p/pytest-runner/pytest-runner-%{version}.tar.gz
+Source:
https://pypi.io/packages/source/p/pytest-runner/pytest-runner-%{version}.tar.gz
BuildRequires: python-devel
-BuildRequires: python-hgtools
-BuildRequires: python-pytest
+BuildRequires: python-pytest >= 2.8
BuildRequires: python-setuptools
-BuildRequires: python-setuptools_scm
-Requires: python-pytest
+BuildRequires: python-setuptools_scm >= 1.9
BuildRoot: %{_tmppath}/%{name}-%{version}-build
%if 0%{?suse_version} && 0%{?suse_version} <= 1110
%{!?python_sitelib: %global python_sitelib %(python -c "from
distutils.sysconfig import get_python_lib; print get_python_lib()")}
@@ -51,7 +49,7 @@
%files
%defattr(-,root,root,-)
-%doc README.txt CHANGES.txt docs/*
+%doc README.rst CHANGES.rst LICENSE docs/*
%{python_sitelib}/*
%changelog
++++++ pytest-runner-2.6.1.tar.gz -> pytest-runner-2.9.tar.gz ++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/pytest-runner-2.6.1/.hgtags
new/pytest-runner-2.9/.hgtags
--- old/pytest-runner-2.6.1/.hgtags 2015-07-29 21:01:43.000000000 +0200
+++ new/pytest-runner-2.9/.hgtags 2016-07-14 21:57:54.000000000 +0200
@@ -18,3 +18,8 @@
fe07ae9c3f076ebf3b716e9951de5492314159df 2.5.1
0304f39b40f791b81da8a14aed6e8910f798af14 2.6
cce8431d8b4d9441740a723c7c700d810a4662f8 2.6.1
+0cc61470c2a2fd5b0ed2c4c4ac7480bf68526f6e 2.6.2
+daf0974a5e9348b8c8e20e9ee227702edc5b6e75 2.6.3
+a1fa887922d237f915ba51f9022f4da983ceb32e 2.7
+21cfa346c8960f29f1a364d97ecbb9d1a7f6a3c0 2.7.1
+955536a145d5db5e4a2c23bf52fd575fbc595196 2.8
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/pytest-runner-2.6.1/.travis.yml
new/pytest-runner-2.9/.travis.yml
--- old/pytest-runner-2.6.1/.travis.yml 1970-01-01 01:00:00.000000000 +0100
+++ new/pytest-runner-2.9/.travis.yml 2016-07-14 21:57:54.000000000 +0200
@@ -0,0 +1,21 @@
+sudo: false
+language: python
+python:
+- 2.7
+- 3.5
+script:
+- pip install -U pytest
+- python setup.py test
+branches:
+ except:
+ - skeleton
+deploy:
+ provider: pypi
+ on:
+ tags: true
+ all_branches: true
+ python: 3.5
+ user: jaraco
+ distributions: release
+ password:
+ secure:
lZfYQx0ZrCf2FJ+348etKWfzTySB3BZYGd0ce5RFHN2BppcdkONyJfTs4rgdrFEn/WtOaKV3SkJYR09xvlr+4kbLibg7fXhueqZt0ZkhRBnoDE4SxCjICyFCmisG6O3zkrVosizch70/0MqseNanhgXOPhd5llCfQHIqLsa145BG4hM5kxAHPO3Rz2/HCObOTPe4HKj93RAK7lPIMZVN6omcWoG6ZB0QqK+i3LTUtmJ3gE6q/iHk3VF9cJs8xtn3hdo++Lhrboa2NIqf6fl8oxR1C24Wh8vBQ69uTNjmVnDFYMulTs5475jjgDBXPPgVz3CAqYAy/PI+NPw59ebK8MzlaMRK/h/xSrdhxW6K3WbBL71Dn2UGuejXHFC3IuCI832xwkuEupOcGLWz4r2uBnhbgXF63vZ2gYPqrCGHxvDpbtllTVyEeebP8BnFzZttxSn9rbhTP1O9Dn/9tRko8WskyXIR+/2JOA9KP5uT47yeHoFBBUS0GB1XdkGhBrJfQx2LhfHuI6bpzosMiMfJrVNZEg8k0I9XA0uwxDgZrdqKGMKBR6233MXiJg8NyUPRInCRGth4rufcq6kn+wsT9RvuSt9XOhGiYLwChjvHexUXrLGBgupu0Y80Oqcp3YkDG3WHUX++Z2zJSQovrb4BMdKS6Y4usQ8Df5SklIpMCf0=
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/pytest-runner-2.6.1/CHANGES.rst
new/pytest-runner-2.9/CHANGES.rst
--- old/pytest-runner-2.6.1/CHANGES.rst 1970-01-01 01:00:00.000000000 +0100
+++ new/pytest-runner-2.9/CHANGES.rst 2016-07-14 21:57:54.000000000 +0200
@@ -0,0 +1,79 @@
+2.9
+~~~
+
+* Added Trove Classifier indicating this package is part
+ of the pytest framework.
+
+2.8
+~~~
+
+* #16: Added a license file, required for membership to
+ pytest-dev.
+* Releases are now made automatically by pushing a
+ tagged release that passes tests on Python 3.5.
+
+2.7
+~~~
+
+* Moved hosting to Github.
+
+2.6
+~~~
+
+* Add support for un-named, environment-specific extras.
+
+2.5.1
+~~~~~
+
+* Restore Python 2.6 compatibility.
+
+2.5
+~~~
+
+* Moved hosting to `pytest-dev
+ <https://bitbucket.org/pytest-dev/pytest-runner>`_.
+
+2.4
+~~~
+
+* Added `documentation <https://pythonhosted.org/pytest-runner>`_.
+* Use setuptools_scm for version management and file discovery.
+* Updated internal packaging technique. README is now included
+ in the package metadata.
+
+2.3
+~~~
+
+* Use hgdistver for version management and file discovery.
+
+2.2
+~~~
+
+* Honor ``.eggs`` directory for transient downloads as introduced in Setuptools
+ 7.0.
+
+2.1
+~~~
+
+* The preferred invocation is now the 'pytest' command.
+
+2.0
+~~~
+
+* Removed support for the alternate usage. The recommended usage (as a
+ distutils command) is now the only supported usage.
+* Removed support for the --junitxml parameter to the ptr command. Clients
+ should pass the same parameter (and all other py.test arguments) to py.test
+ via the --addopts parameter.
+
+1.1
+~~~
+
+* Added support for --addopts to pass any arguments through to py.test.
+* Deprecated support for --junitxml. Use --addopts instead. --junitxml will be
+ removed in 2.0.
+
+1.0
+~~~
+
+Initial implementation.
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/pytest-runner-2.6.1/CHANGES.txt
new/pytest-runner-2.9/CHANGES.txt
--- old/pytest-runner-2.6.1/CHANGES.txt 2015-07-29 02:43:48.000000000 +0200
+++ new/pytest-runner-2.9/CHANGES.txt 1970-01-01 01:00:00.000000000 +0100
@@ -1,60 +0,0 @@
-2.6
-~~~
-
-* Add support for un-named, environment-specific extras.
-
-2.5.1
-~~~~~
-
-* Restore Python 2.6 compatibility.
-
-2.5
-~~~
-
-* Moved hosting to `pytest-dev
- <https://bitbucket.org/pytest-dev/pytest-runner>`_.
-
-2.4
-~~~
-
-* Added `documentation <https://pythonhosted.org/pytest-runner>`_.
-* Use setuptools_scm for version management and file discovery.
-* Updated internal packaging technique. README is now included
- in the package metadata.
-
-2.3
-~~~
-
-* Use hgdistver for version management and file discovery.
-
-2.2
-~~~
-
-* Honor ``.eggs`` directory for transient downloads as introduced in Setuptools
- 7.0.
-
-2.1
-~~~
-
-* The preferred invocation is now the 'pytest' command.
-
-2.0
-~~~
-
-* Removed support for the alternate usage. The recommended usage (as a
- distutils command) is now the only supported usage.
-* Removed support for the --junitxml parameter to the ptr command. Clients
- should pass the same parameter (and all other py.test arguments) to py.test
- via the --addopts parameter.
-
-1.1
-~~~
-
-* Added support for --addopts to pass any arguments through to py.test.
-* Deprecated support for --junitxml. Use --addopts instead. --junitxml will be
- removed in 2.0.
-
-1.0
-~~~
-
-Initial implementation.
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/pytest-runner-2.6.1/LICENSE
new/pytest-runner-2.9/LICENSE
--- old/pytest-runner-2.6.1/LICENSE 1970-01-01 01:00:00.000000000 +0100
+++ new/pytest-runner-2.9/LICENSE 2016-07-14 21:57:54.000000000 +0200
@@ -0,0 +1,21 @@
+The MIT License (MIT)
+
+Copyright (c) 2011-2016 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/pytest-runner-2.6.1/PKG-INFO
new/pytest-runner-2.9/PKG-INFO
--- old/pytest-runner-2.6.1/PKG-INFO 2015-07-29 21:01:50.000000000 +0200
+++ new/pytest-runner-2.9/PKG-INFO 2016-07-14 21:59:24.000000000 +0200
@@ -1,11 +1,11 @@
Metadata-Version: 1.1
Name: pytest-runner
-Version: 2.6.1
-Summary: Invoke py.test as distutils command with dependency resolution.
-Home-page: https://bitbucket.org/pytest-dev/pytest-runner
+Version: 2.9
+Summary: Invoke py.test as distutils command with dependency resolution
+Home-page: https://github.com/pytest-dev/pytest-runner
Author: Jason R. Coombs
Author-email: [email protected]
-License: MIT
+License: UNKNOWN
Description: pytest-runner
=============
@@ -20,13 +20,13 @@
- Include 'pytest' and any other testing requirements to
'tests_require'.
- Invoke tests with ``setup.py pytest``.
- Pass ``--index-url`` to have test requirements downloaded from an
alternate
- index URL.
+ index URL (unnecessary if specified for easy_install in setup.cfg).
- Pass additional py.test command-line options using ``--addopts``.
- Set permanent options for the pytest distutils command in the
``[pytest]``
section of setup.cfg.
- Set permanent options for the pytest run itself in the ``[pytest]``
section of pytest.ini or tox.ini. See `pytest 567
- <https://bitbucket.org/hpk42/pytest/issue/567>`_ for details on
+ <https://bitbucket.org/pytest-dev/pytest/issues/567/>`_ for details
on
why setup.cfg is inadequate.
- Optionally, set ``test=pytest`` in the ``[aliases]`` section of
setup.cfg
to cause ``setup.py test`` to invoke pytest.
@@ -50,7 +50,7 @@
required by the session before invoking pytest.
See the `jaraco.collections
- <https://bitbucket.org/jaraco/jaraco.collections/>`_ project
+ <https://github.com/jaraco/jaraco.collections>`_ project
for real-world usage.
Standalone Example
@@ -61,9 +61,13 @@
also be used to create standalone tests. Consider `this example
failure <https://gist.github.com/jaraco/d979a558bc0bf2194c23>`_,
reported in `jsonpickle #117
- <https://github.com/jsonpickle/jsonpickle/issues/117>`_.
+ <https://github.com/jsonpickle/jsonpickle/issues/117>`_
+ or `this MongoDB test
+ <https://gist.github.com/jaraco/0b9e482f5c0a1300dc9a>`_
+ demonstrating a technique that works even when dependencies
+ are required in the test.
- That single file may be cloned or downloaded and simply run on
+ Either example file may be cloned or downloaded and simply run on
any system with Python and Setuptools. It will download the
specified dependencies and run the tests. Afterward, the the
cloned directory can be removed and with it all trace of
@@ -109,3 +113,4 @@
Classifier: Programming Language :: Python :: 2.6
Classifier: Programming Language :: Python :: 2.7
Classifier: Programming Language :: Python :: 3
+Classifier: Framework :: Pytest
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/pytest-runner-2.6.1/README.rst
new/pytest-runner-2.9/README.rst
--- old/pytest-runner-2.6.1/README.rst 1970-01-01 01:00:00.000000000 +0100
+++ new/pytest-runner-2.9/README.rst 2016-07-14 21:57:54.000000000 +0200
@@ -0,0 +1,99 @@
+pytest-runner
+=============
+
+Setup scripts can use pytest-runner to add setup.py test support for pytest
+runner.
+
+Usage
+-----
+
+- Add 'pytest-runner' to your 'setup_requires'. Pin to '>=2.0,<3dev' (or
+ similar) to avoid pulling in incompatible versions.
+- Include 'pytest' and any other testing requirements to 'tests_require'.
+- Invoke tests with ``setup.py pytest``.
+- Pass ``--index-url`` to have test requirements downloaded from an alternate
+ index URL (unnecessary if specified for easy_install in setup.cfg).
+- Pass additional py.test command-line options using ``--addopts``.
+- Set permanent options for the pytest distutils command in the ``[pytest]``
+ section of setup.cfg.
+- Set permanent options for the pytest run itself in the ``[pytest]``
+ section of pytest.ini or tox.ini. See `pytest 567
+ <https://bitbucket.org/pytest-dev/pytest/issues/567/>`_ for details on
+ why setup.cfg is inadequate.
+- Optionally, set ``test=pytest`` in the ``[aliases]`` section of setup.cfg
+ to cause ``setup.py test`` to invoke pytest.
+
+Example
+-------
+
+The most simple usage looks like this in setup.py::
+
+ setup(
+ setup_requires=[
+ 'pytest-runner',
+ ],
+ tests_require=[
+ 'pytest',
+ ],
+ )
+
+Additional dependencies require to run the tests (e.g. mock or pytest
+plugins) may be added to tests_require and will be downloaded and
+required by the session before invoking pytest.
+
+See the `jaraco.collections
+<https://github.com/jaraco/jaraco.collections>`_ project
+for real-world usage.
+
+Standalone Example
+------------------
+
+Although ``pytest-runner`` is typically used to add pytest test
+runner support to maintained packages, ``pytest-runner`` may
+also be used to create standalone tests. Consider `this example
+failure <https://gist.github.com/jaraco/d979a558bc0bf2194c23>`_,
+reported in `jsonpickle #117
+<https://github.com/jsonpickle/jsonpickle/issues/117>`_
+or `this MongoDB test
+<https://gist.github.com/jaraco/0b9e482f5c0a1300dc9a>`_
+demonstrating a technique that works even when dependencies
+are required in the test.
+
+Either example file may be cloned or downloaded and simply run on
+any system with Python and Setuptools. It will download the
+specified dependencies and run the tests. Afterward, the the
+cloned directory can be removed and with it all trace of
+invoking the test. No other dependencies are needed and no
+system configuration is altered.
+
+Then, anyone trying to replicate the failure can do so easily
+and with all the power of pytest (rewritten assertions,
+rich comparisons, interactive debugging, extensibility through
+plugins, etc).
+
+As a result, the communication barrier for describing and
+replicating failures is made almost trivially low.
+
+Considerations
+--------------
+
+Conditional Requirement
+~~~~~~~~~~~~~~~~~~~~~~~
+
+Because it uses Setuptools setup_requires, pytest-runner will install itself
+on every invocation of setup.py. In some cases, this causes delays for
+invocations of setup.py that will never invoke pytest-runner. To help avoid
+this contingency, consider requiring pytest-runner only when pytest
+is invoked::
+
+ needs_pytest = {'pytest', 'test', 'ptr'}.intersection(sys.argv)
+ pytest_runner = ['pytest-runner'] if needs_pytest else []
+
+ # ...
+
+ setup(
+ #...
+ setup_requires=[
+ #... (other setup requirements)
+ ] + pytest_runner,
+ )
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/pytest-runner-2.6.1/README.txt
new/pytest-runner-2.9/README.txt
--- old/pytest-runner-2.6.1/README.txt 2015-07-29 01:56:02.000000000 +0200
+++ new/pytest-runner-2.9/README.txt 1970-01-01 01:00:00.000000000 +0100
@@ -1,95 +0,0 @@
-pytest-runner
-=============
-
-Setup scripts can use pytest-runner to add setup.py test support for pytest
-runner.
-
-Usage
------
-
-- Add 'pytest-runner' to your 'setup_requires'. Pin to '>=2.0,<3dev' (or
- similar) to avoid pulling in incompatible versions.
-- Include 'pytest' and any other testing requirements to 'tests_require'.
-- Invoke tests with ``setup.py pytest``.
-- Pass ``--index-url`` to have test requirements downloaded from an alternate
- index URL.
-- Pass additional py.test command-line options using ``--addopts``.
-- Set permanent options for the pytest distutils command in the ``[pytest]``
- section of setup.cfg.
-- Set permanent options for the pytest run itself in the ``[pytest]``
- section of pytest.ini or tox.ini. See `pytest 567
- <https://bitbucket.org/hpk42/pytest/issue/567>`_ for details on
- why setup.cfg is inadequate.
-- Optionally, set ``test=pytest`` in the ``[aliases]`` section of setup.cfg
- to cause ``setup.py test`` to invoke pytest.
-
-Example
--------
-
-The most simple usage looks like this in setup.py::
-
- setup(
- setup_requires=[
- 'pytest-runner',
- ],
- tests_require=[
- 'pytest',
- ],
- )
-
-Additional dependencies require to run the tests (e.g. mock or pytest
-plugins) may be added to tests_require and will be downloaded and
-required by the session before invoking pytest.
-
-See the `jaraco.collections
-<https://bitbucket.org/jaraco/jaraco.collections/>`_ project
-for real-world usage.
-
-Standalone Example
-------------------
-
-Although ``pytest-runner`` is typically used to add pytest test
-runner support to maintained packages, ``pytest-runner`` may
-also be used to create standalone tests. Consider `this example
-failure <https://gist.github.com/jaraco/d979a558bc0bf2194c23>`_,
-reported in `jsonpickle #117
-<https://github.com/jsonpickle/jsonpickle/issues/117>`_.
-
-That single file may be cloned or downloaded and simply run on
-any system with Python and Setuptools. It will download the
-specified dependencies and run the tests. Afterward, the the
-cloned directory can be removed and with it all trace of
-invoking the test. No other dependencies are needed and no
-system configuration is altered.
-
-Then, anyone trying to replicate the failure can do so easily
-and with all the power of pytest (rewritten assertions,
-rich comparisons, interactive debugging, extensibility through
-plugins, etc).
-
-As a result, the communication barrier for describing and
-replicating failures is made almost trivially low.
-
-Considerations
---------------
-
-Conditional Requirement
-~~~~~~~~~~~~~~~~~~~~~~~
-
-Because it uses Setuptools setup_requires, pytest-runner will install itself
-on every invocation of setup.py. In some cases, this causes delays for
-invocations of setup.py that will never invoke pytest-runner. To help avoid
-this contingency, consider requiring pytest-runner only when pytest
-is invoked::
-
- needs_pytest = {'pytest', 'test', 'ptr'}.intersection(sys.argv)
- pytest_runner = ['pytest-runner'] if needs_pytest else []
-
- # ...
-
- setup(
- #...
- setup_requires=[
- #... (other setup requirements)
- ] + pytest_runner,
- )
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/pytest-runner-2.6.1/docs/conf.py
new/pytest-runner-2.9/docs/conf.py
--- old/pytest-runner-2.6.1/docs/conf.py 2015-07-29 02:46:27.000000000
+0200
+++ new/pytest-runner-2.9/docs/conf.py 2016-07-14 21:57:54.000000000 +0200
@@ -1,19 +1,39 @@
-#!/usr/bin/env python3
-# -*- coding: utf-8 -*-
-
-import setuptools_scm
-
-extensions = [
- 'sphinx.ext.autodoc',
-]
-
-# General information about the project.
-project = 'pytest-runner'
-copyright = '2015 Jason R. Coombs'
-
-# The short X.Y version.
-version = setuptools_scm.get_version(root='..')
-# The full version, including alpha/beta/rc tags.
-release = version
-
-master_doc = 'index'
+#!/usr/bin/env python3
+# -*- coding: utf-8 -*-
+
+import setuptools_scm
+
+extensions = [
+ 'sphinx.ext.autodoc',
+ 'rst.linker',
+]
+
+# General information about the project.
+project = 'pytest-runner'
+copyright = '2015,2016 Jason R. Coombs'
+
+# The short X.Y version.
+version = setuptools_scm.get_version(root='..', relative_to=__file__)
+# The full version, including alpha/beta/rc tags.
+release = version
+
+master_doc = 'index'
+
+link_files = {
+ 'CHANGES.rst': dict(
+ using=dict(
+ GH='https://github.com',
+ project=project,
+ ),
+ replace=[
+ dict(
+ pattern=r"(Issue )?#(?P<issue>\d+)",
+ url='{GH}/pytest-dev/{project}/issues/{issue}',
+ ),
+ dict(
+
pattern=r"^(?m)((?P<scm_version>v?\d+(\.\d+){1,2}))\n[-=]+\n",
+ with_scm="{text}\n{rev[timestamp]:%d %b %Y}\n",
+ ),
+ ],
+ ),
+}
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/pytest-runner-2.6.1/docs/history.rst
new/pytest-runner-2.9/docs/history.rst
--- old/pytest-runner-2.6.1/docs/history.rst 2015-07-29 01:56:02.000000000
+0200
+++ new/pytest-runner-2.9/docs/history.rst 2016-07-14 21:57:54.000000000
+0200
@@ -1,8 +1,8 @@
-:tocdepth: 2
-
-.. _changes:
-
-History
-*******
-
-.. include:: ../CHANGES.txt
+:tocdepth: 2
+
+.. _changes:
+
+History
+*******
+
+.. include:: ../CHANGES (links).rst
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/pytest-runner-2.6.1/docs/index.rst
new/pytest-runner-2.9/docs/index.rst
--- old/pytest-runner-2.6.1/docs/index.rst 2015-07-29 01:56:02.000000000
+0200
+++ new/pytest-runner-2.9/docs/index.rst 2016-07-14 21:57:54.000000000
+0200
@@ -1,17 +1,17 @@
-Welcome to pytest-runner documentation!
-=======================================
-
-.. toctree::
- :maxdepth: 1
-
- history
-
-.. include:: ../README.txt
-
-Indices and tables
-==================
-
-* :ref:`genindex`
-* :ref:`modindex`
-* :ref:`search`
-
+Welcome to pytest-runner documentation!
+=======================================
+
+.. toctree::
+ :maxdepth: 1
+
+ history
+
+.. include:: ../README.rst
+
+Indices and tables
+==================
+
+* :ref:`genindex`
+* :ref:`modindex`
+* :ref:`search`
+
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/pytest-runner-2.6.1/ptr.py
new/pytest-runner-2.9/ptr.py
--- old/pytest-runner-2.6.1/ptr.py 2015-07-29 20:48:17.000000000 +0200
+++ new/pytest-runner-2.9/ptr.py 2016-07-14 21:57:54.000000000 +0200
@@ -23,6 +23,12 @@
class PyTest(orig.test):
+ """
+ >>> import setuptools
+ >>> dist = setuptools.Distribution()
+ >>> cmd = PyTest(dist)
+ """
+
user_options = [
('extras', None, "Install (all) setuptools extras when running
tests"),
('index-url=', None, "Specify an index url from which to
retrieve "
@@ -68,7 +74,7 @@
extras_require = self.distribution.extras_require or {}
for spec, reqs in extras_require.items():
name, sep, marker = spec.partition(':')
- if not self.marker_passes(marker):
+ if marker and not self.marker_passes(marker):
continue
# always include unnamed extras
if not name or self.extras:
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/pytest-runner-2.6.1/pytest.ini
new/pytest-runner-2.9/pytest.ini
--- old/pytest-runner-2.6.1/pytest.ini 2015-07-29 01:56:02.000000000 +0200
+++ new/pytest-runner-2.9/pytest.ini 2016-07-14 21:57:54.000000000 +0200
@@ -1,3 +1,4 @@
-[pytest]
-norecursedirs=*.egg .eggs dist build
-addopts=--doctest-modules
+[pytest]
+norecursedirs=*.egg .eggs dist build
+addopts=--doctest-modules
+doctest_optionflags=ALLOW_UNICODE ELLIPSIS
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/pytest-runner-2.6.1/pytest_runner.egg-info/PKG-INFO
new/pytest-runner-2.9/pytest_runner.egg-info/PKG-INFO
--- old/pytest-runner-2.6.1/pytest_runner.egg-info/PKG-INFO 2015-07-29
21:01:50.000000000 +0200
+++ new/pytest-runner-2.9/pytest_runner.egg-info/PKG-INFO 2016-07-14
21:59:24.000000000 +0200
@@ -1,11 +1,11 @@
Metadata-Version: 1.1
Name: pytest-runner
-Version: 2.6.1
-Summary: Invoke py.test as distutils command with dependency resolution.
-Home-page: https://bitbucket.org/pytest-dev/pytest-runner
+Version: 2.9
+Summary: Invoke py.test as distutils command with dependency resolution
+Home-page: https://github.com/pytest-dev/pytest-runner
Author: Jason R. Coombs
Author-email: [email protected]
-License: MIT
+License: UNKNOWN
Description: pytest-runner
=============
@@ -20,13 +20,13 @@
- Include 'pytest' and any other testing requirements to
'tests_require'.
- Invoke tests with ``setup.py pytest``.
- Pass ``--index-url`` to have test requirements downloaded from an
alternate
- index URL.
+ index URL (unnecessary if specified for easy_install in setup.cfg).
- Pass additional py.test command-line options using ``--addopts``.
- Set permanent options for the pytest distutils command in the
``[pytest]``
section of setup.cfg.
- Set permanent options for the pytest run itself in the ``[pytest]``
section of pytest.ini or tox.ini. See `pytest 567
- <https://bitbucket.org/hpk42/pytest/issue/567>`_ for details on
+ <https://bitbucket.org/pytest-dev/pytest/issues/567/>`_ for details
on
why setup.cfg is inadequate.
- Optionally, set ``test=pytest`` in the ``[aliases]`` section of
setup.cfg
to cause ``setup.py test`` to invoke pytest.
@@ -50,7 +50,7 @@
required by the session before invoking pytest.
See the `jaraco.collections
- <https://bitbucket.org/jaraco/jaraco.collections/>`_ project
+ <https://github.com/jaraco/jaraco.collections>`_ project
for real-world usage.
Standalone Example
@@ -61,9 +61,13 @@
also be used to create standalone tests. Consider `this example
failure <https://gist.github.com/jaraco/d979a558bc0bf2194c23>`_,
reported in `jsonpickle #117
- <https://github.com/jsonpickle/jsonpickle/issues/117>`_.
+ <https://github.com/jsonpickle/jsonpickle/issues/117>`_
+ or `this MongoDB test
+ <https://gist.github.com/jaraco/0b9e482f5c0a1300dc9a>`_
+ demonstrating a technique that works even when dependencies
+ are required in the test.
- That single file may be cloned or downloaded and simply run on
+ Either example file may be cloned or downloaded and simply run on
any system with Python and Setuptools. It will download the
specified dependencies and run the tests. Afterward, the the
cloned directory can be removed and with it all trace of
@@ -109,3 +113,4 @@
Classifier: Programming Language :: Python :: 2.6
Classifier: Programming Language :: Python :: 2.7
Classifier: Programming Language :: Python :: 3
+Classifier: Framework :: Pytest
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore'
old/pytest-runner-2.6.1/pytest_runner.egg-info/SOURCES.txt
new/pytest-runner-2.9/pytest_runner.egg-info/SOURCES.txt
--- old/pytest-runner-2.6.1/pytest_runner.egg-info/SOURCES.txt 2015-07-29
21:01:50.000000000 +0200
+++ new/pytest-runner-2.9/pytest_runner.egg-info/SOURCES.txt 2016-07-14
21:59:24.000000000 +0200
@@ -1,7 +1,10 @@
+.gitignore
.hgignore
.hgtags
-CHANGES.txt
-README.txt
+.travis.yml
+CHANGES.rst
+LICENSE
+README.rst
ptr.py
pytest.ini
setup.cfg
@@ -13,4 +16,5 @@
pytest_runner.egg-info/SOURCES.txt
pytest_runner.egg-info/dependency_links.txt
pytest_runner.egg-info/entry_points.txt
+pytest_runner.egg-info/namespace_packages.txt
pytest_runner.egg-info/top_level.txt
\ No newline at end of file
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore'
old/pytest-runner-2.6.1/pytest_runner.egg-info/namespace_packages.txt
new/pytest-runner-2.9/pytest_runner.egg-info/namespace_packages.txt
--- old/pytest-runner-2.6.1/pytest_runner.egg-info/namespace_packages.txt
1970-01-01 01:00:00.000000000 +0100
+++ new/pytest-runner-2.9/pytest_runner.egg-info/namespace_packages.txt
2016-07-14 21:59:24.000000000 +0200
@@ -0,0 +1 @@
+
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/pytest-runner-2.6.1/setup.cfg
new/pytest-runner-2.9/setup.cfg
--- old/pytest-runner-2.6.1/setup.cfg 2015-07-29 21:01:50.000000000 +0200
+++ new/pytest-runner-2.9/setup.cfg 2016-07-14 21:59:24.000000000 +0200
@@ -1,9 +1,12 @@
[aliases]
-release = sdist build_sphinx upload upload_docs
+release = clean --all sdist bdist_wheel build_sphinx upload upload_docs
test = pytest
+[wheel]
+universal = 1
+
[egg_info]
+tag_svn_revision = 0
tag_build =
tag_date = 0
-tag_svn_revision = 0
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/pytest-runner-2.6.1/setup.py
new/pytest-runner-2.9/setup.py
--- old/pytest-runner-2.6.1/setup.py 2015-07-29 01:56:02.000000000 +0200
+++ new/pytest-runner-2.9/setup.py 2016-07-14 21:57:54.000000000 +0200
@@ -1,53 +1,60 @@
-#!/usr/bin/env python
-# Generated by jaraco.develop 2.14
-# https://pypi.python.org/pypi/jaraco.develop
-
-import io
-import sys
-
-import setuptools
-
-with io.open('README.txt', encoding='utf-8') as readme:
- long_description = readme.read()
-
-needs_pytest = set(['pytest', 'test']).intersection(sys.argv)
-pytest_runner = ['pytest-runner'] if needs_pytest else []
-needs_sphinx = set(['release', 'build_sphinx',
'upload_docs']).intersection(sys.argv)
-sphinx = ['sphinx'] if needs_sphinx else []
-
-setup_params = dict(
- name='pytest-runner',
- use_scm_version=True,
- author="Jason R. Coombs",
- author_email="[email protected]",
- description="Invoke py.test as distutils command with dependency "
- "resolution.",
- long_description=long_description,
- url="https://bitbucket.org/pytest-dev/pytest-runner",
- py_modules=['ptr'],
- entry_points = {
- 'distutils.commands': [
- 'ptr = ptr:PyTest',
- 'pytest = ptr:PyTest',
- ],
- },
- install_requires=[
- ],
- setup_requires=[
- 'setuptools_scm',
- ] + pytest_runner + sphinx,
- tests_require=[
- 'pytest',
- ],
- license='MIT',
- classifiers=[
- "Development Status :: 5 - Production/Stable",
- "Intended Audience :: Developers",
- "License :: OSI Approved :: MIT License",
- "Programming Language :: Python :: 2.6",
- "Programming Language :: Python :: 2.7",
- "Programming Language :: Python :: 3",
- ],
-)
-if __name__ == '__main__':
- setuptools.setup(**setup_params)
+#!/usr/bin/env python
+
+# Project skeleton maintained at https://github.com/jaraco/skeleton
+
+import io
+import sys
+
+import setuptools
+
+with io.open('README.rst', encoding='utf-8') as readme:
+ long_description = readme.read()
+
+needs_pytest = set(['pytest', 'test']).intersection(sys.argv)
+pytest_runner = ['pytest_runner'] if needs_pytest else []
+needs_sphinx = set(['release', 'build_sphinx',
'upload_docs']).intersection(sys.argv)
+sphinx = ['sphinx', 'rst.linker'] if needs_sphinx else []
+needs_wheel = set(['release', 'bdist_wheel']).intersection(sys.argv)
+wheel = ['wheel'] if needs_wheel else []
+
+name = 'pytest-runner'
+description = 'Invoke py.test as distutils command with dependency resolution'
+
+setup_params = dict(
+ name=name,
+ use_scm_version=True,
+ author="Jason R. Coombs",
+ author_email="[email protected]",
+ description=description or name,
+ long_description=long_description,
+ url="https://github.com/pytest-dev/" + name,
+ namespace_packages=name.split('.')[:-1],
+ py_modules=['ptr'],
+ install_requires=[
+ ],
+ extras_require={
+ },
+ setup_requires=[
+ 'setuptools_scm>=1.9',
+ ] + pytest_runner + sphinx + wheel,
+ tests_require=[
+ 'pytest>=2.8',
+ ],
+ classifiers=[
+ "Development Status :: 5 - Production/Stable",
+ "Intended Audience :: Developers",
+ "License :: OSI Approved :: MIT License",
+ "Programming Language :: Python :: 2.6",
+ "Programming Language :: Python :: 2.7",
+ "Programming Language :: Python :: 3",
+ "Framework :: Pytest",
+ ],
+ entry_points = {
+ 'distutils.commands': [
+ 'ptr = ptr:PyTest',
+ 'pytest = ptr:PyTest',
+ ],
+ },
+)
+if __name__ == '__main__':
+ setuptools.setup(**setup_params)