Hello community,
here is the log from the commit of package python3-pytest-cov for
openSUSE:Factory checked in at 2016-08-25 09:50:25
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/python3-pytest-cov (Old)
and /work/SRC/openSUSE:Factory/.python3-pytest-cov.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "python3-pytest-cov"
Changes:
--------
--- /work/SRC/openSUSE:Factory/python3-pytest-cov/python3-pytest-cov.changes
2016-07-18 21:22:05.000000000 +0200
+++
/work/SRC/openSUSE:Factory/.python3-pytest-cov.new/python3-pytest-cov.changes
2016-08-25 09:50:27.000000000 +0200
@@ -1,0 +2,11 @@
+Sat Aug 20 17:42:43 UTC 2016 - [email protected]
+
+- update to version 2.3.1:
+ * Fixed regression causing spurious errors when xdist was used. See
+ #124.
+ * Fixed DeprecationWarning about incorrect addoption
+ use. Contributed by Florian Bruhin in PR#127.
+ * Fixed deprecated use of funcarg fixture API. Contributed by Daniel
+ Hahler in PR#125.
+
+-------------------------------------------------------------------
Old:
----
pytest-cov-2.3.0.tar.gz
New:
----
pytest-cov-2.3.1.tar.gz
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ python3-pytest-cov.spec ++++++
--- /var/tmp/diff_new_pack.RljUQq/_old 2016-08-25 09:50:28.000000000 +0200
+++ /var/tmp/diff_new_pack.RljUQq/_new 2016-08-25 09:50:28.000000000 +0200
@@ -17,7 +17,7 @@
Name: python3-pytest-cov
-Version: 2.3.0
+Version: 2.3.1
Release: 0
Summary: Pytest plugin for coverage reporting
License: MIT
++++++ pytest-cov-2.3.0.tar.gz -> pytest-cov-2.3.1.tar.gz ++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/pytest-cov-2.3.0/.bumpversion.cfg
new/pytest-cov-2.3.1/.bumpversion.cfg
--- old/pytest-cov-2.3.0/.bumpversion.cfg 2016-07-05 21:54:31.000000000
+0200
+++ new/pytest-cov-2.3.1/.bumpversion.cfg 2016-08-07 22:09:52.000000000
+0200
@@ -1,5 +1,5 @@
[bumpversion]
-current_version = 2.3.0
+current_version = 2.3.1
commit = True
tag = True
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/pytest-cov-2.3.0/.travis.yml
new/pytest-cov-2.3.1/.travis.yml
--- old/pytest-cov-2.3.0/.travis.yml 2016-06-01 11:13:14.000000000 +0200
+++ new/pytest-cov-2.3.1/.travis.yml 2016-08-07 16:47:09.000000000 +0200
@@ -11,57 +11,99 @@
- TOXENV=py26-27-37
- TOXENV=py26-27-40
- TOXENV=py26-27-41
+ - TOXENV=py26-27-42
- TOXENV=py26-28-37
- TOXENV=py26-28-40
- TOXENV=py26-28-41
+ - TOXENV=py26-28-42
- TOXENV=py26-29-37
- TOXENV=py26-29-40
- TOXENV=py26-29-41
+ - TOXENV=py26-29-42
+ - TOXENV=py26-30-37
+ - TOXENV=py26-30-40
+ - TOXENV=py26-30-41
+ - TOXENV=py26-30-42
- TOXENV=py27-27-37
- TOXENV=py27-27-40
- TOXENV=py27-27-41
+ - TOXENV=py27-27-42
- TOXENV=py27-28-37
- TOXENV=py27-28-40
- TOXENV=py27-28-41
+ - TOXENV=py27-28-42
- TOXENV=py27-29-37
- TOXENV=py27-29-40
- TOXENV=py27-29-41
+ - TOXENV=py27-29-42
+ - TOXENV=py27-30-37
+ - TOXENV=py27-30-40
+ - TOXENV=py27-30-41
+ - TOXENV=py27-30-42
- TOXENV=py33-27-37
- TOXENV=py33-27-40
- TOXENV=py33-27-41
+ - TOXENV=py33-27-42
- TOXENV=py33-28-37
- TOXENV=py33-28-40
- TOXENV=py33-28-41
+ - TOXENV=py33-28-42
- TOXENV=py33-29-37
- TOXENV=py33-29-40
- TOXENV=py33-29-41
+ - TOXENV=py33-29-42
+ - TOXENV=py33-30-37
+ - TOXENV=py33-30-40
+ - TOXENV=py33-30-41
+ - TOXENV=py33-30-42
- TOXENV=py34-27-37
- TOXENV=py34-27-40
- TOXENV=py34-27-41
+ - TOXENV=py34-27-42
- TOXENV=py34-28-37
- TOXENV=py34-28-40
- TOXENV=py34-28-41
+ - TOXENV=py34-28-42
- TOXENV=py34-29-37
- TOXENV=py34-29-40
- TOXENV=py34-29-41
+ - TOXENV=py34-29-42
+ - TOXENV=py34-30-37
+ - TOXENV=py34-30-40
+ - TOXENV=py34-30-41
+ - TOXENV=py34-30-42
- TOXENV=py35-27-37
- TOXENV=py35-27-40
- TOXENV=py35-27-41
+ - TOXENV=py35-27-42
- TOXENV=py35-28-37
- TOXENV=py35-28-40
- TOXENV=py35-28-41
+ - TOXENV=py35-28-42
- TOXENV=py35-29-37
- TOXENV=py35-29-40
- TOXENV=py35-29-41
+ - TOXENV=py35-29-42
+ - TOXENV=py35-30-37
+ - TOXENV=py35-30-40
+ - TOXENV=py35-30-41
+ - TOXENV=py35-30-42
- TOXENV=pypy-27-37
- TOXENV=pypy-27-40
- TOXENV=pypy-27-41
+ - TOXENV=pypy-27-42
- TOXENV=pypy-28-37
- TOXENV=pypy-28-40
- TOXENV=pypy-28-41
+ - TOXENV=pypy-28-42
- TOXENV=pypy-29-37
- TOXENV=pypy-29-40
- TOXENV=pypy-29-41
+ - TOXENV=pypy-29-42
+ - TOXENV=pypy-30-37
+ - TOXENV=pypy-30-40
+ - TOXENV=pypy-30-41
+ - TOXENV=pypy-30-42
before_install:
- python --version
- uname -a
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/pytest-cov-2.3.0/CHANGELOG.rst
new/pytest-cov-2.3.1/CHANGELOG.rst
--- old/pytest-cov-2.3.0/CHANGELOG.rst 2016-07-05 21:54:04.000000000 +0200
+++ new/pytest-cov-2.3.1/CHANGELOG.rst 2016-08-07 16:46:41.000000000 +0200
@@ -1,6 +1,16 @@
Changelog
=========
+2.3.1 (2016-08-07)
+------------------
+
+* Fixed regression causing spurious errors when xdist was used. See `#124
+ <https://github.com/pytest-dev/pytest-cov/issues/124>`_.
+* Fixed DeprecationWarning about incorrect `addoption` use. Contributed by
Florian Bruhin in `PR#127
+ <https://github.com/pytest-dev/pytest-cov/pull/127>`_.
+* Fixed deprecated use of funcarg fixture API. Contributed by Daniel Hahler in
`PR#125
+ <https://github.com/pytest-dev/pytest-cov/pull/125>`_.
+
2.3.0 (2016-07-05)
------------------
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/pytest-cov-2.3.0/PKG-INFO
new/pytest-cov-2.3.1/PKG-INFO
--- old/pytest-cov-2.3.0/PKG-INFO 2016-07-05 21:54:49.000000000 +0200
+++ new/pytest-cov-2.3.1/PKG-INFO 2016-08-07 22:10:37.000000000 +0200
@@ -1,6 +1,6 @@
Metadata-Version: 1.1
Name: pytest-cov
-Version: 2.3.0
+Version: 2.3.1
Summary: Pytest plugin for measuring coverage.
Home-page: https://github.com/pytest-dev/pytest-cov
Author: Marc Schlaich
@@ -340,6 +340,16 @@
Changelog
=========
+ 2.3.1 (2016-08-07)
+ ------------------
+
+ * Fixed regression causing spurious errors when xdist was used. See
`#124
+ <https://github.com/pytest-dev/pytest-cov/issues/124>`_.
+ * Fixed DeprecationWarning about incorrect `addoption` use.
Contributed by Florian Bruhin in `PR#127
+ <https://github.com/pytest-dev/pytest-cov/pull/127>`_.
+ * Fixed deprecated use of funcarg fixture API. Contributed by Daniel
Hahler in `PR#125
+ <https://github.com/pytest-dev/pytest-cov/pull/125>`_.
+
2.3.0 (2016-07-05)
------------------
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/pytest-cov-2.3.0/appveyor.yml
new/pytest-cov-2.3.1/appveyor.yml
--- old/pytest-cov-2.3.0/appveyor.yml 2016-06-01 11:13:14.000000000 +0200
+++ new/pytest-cov-2.3.1/appveyor.yml 2016-08-07 16:47:09.000000000 +0200
@@ -3,367 +3,30 @@
cache:
- '%LOCALAPPDATA%\pip\Cache'
environment:
- global:
- WITH_COMPILER: 'cmd /E:ON /V:ON /C .\ci\appveyor-with-compiler.cmd'
matrix:
- TOXENV: check
- PYTHON_HOME: C:\Python27
- PYTHON_VERSION: '2.7'
- PYTHON_ARCH: '32'
-
- - TOXENV: 'py27-27-37'
- TOXPYTHON: C:\Python27\python.exe
- PYTHON_HOME: C:\Python27
- PYTHON_VERSION: '2.7'
- PYTHON_ARCH: '32'
-
- - TOXENV: 'py27-27-37'
- TOXPYTHON: C:\Python27-x64\python.exe
- WINDOWS_SDK_VERSION: v7.0
- PYTHON_HOME: C:\Python27-x64
- PYTHON_VERSION: '2.7'
- PYTHON_ARCH: '64'
-
- - TOXENV: 'py27-27-40'
- TOXPYTHON: C:\Python27\python.exe
- PYTHON_HOME: C:\Python27
- PYTHON_VERSION: '2.7'
- PYTHON_ARCH: '32'
-
- - TOXENV: 'py27-27-40'
- TOXPYTHON: C:\Python27-x64\python.exe
- WINDOWS_SDK_VERSION: v7.0
- PYTHON_HOME: C:\Python27-x64
- PYTHON_VERSION: '2.7'
- PYTHON_ARCH: '64'
-
- - TOXENV: 'py27-27-41'
- TOXPYTHON: C:\Python27\python.exe
- PYTHON_HOME: C:\Python27
- PYTHON_VERSION: '2.7'
- PYTHON_ARCH: '32'
-
- - TOXENV: 'py27-27-41'
- TOXPYTHON: C:\Python27-x64\python.exe
- WINDOWS_SDK_VERSION: v7.0
- PYTHON_HOME: C:\Python27-x64
- PYTHON_VERSION: '2.7'
- PYTHON_ARCH: '64'
-
- - TOXENV: 'py27-28-37'
- TOXPYTHON: C:\Python27\python.exe
- PYTHON_HOME: C:\Python27
- PYTHON_VERSION: '2.7'
- PYTHON_ARCH: '32'
-
- - TOXENV: 'py27-28-37'
- TOXPYTHON: C:\Python27-x64\python.exe
- WINDOWS_SDK_VERSION: v7.0
- PYTHON_HOME: C:\Python27-x64
- PYTHON_VERSION: '2.7'
- PYTHON_ARCH: '64'
-
- - TOXENV: 'py27-28-40'
- TOXPYTHON: C:\Python27\python.exe
- PYTHON_HOME: C:\Python27
- PYTHON_VERSION: '2.7'
- PYTHON_ARCH: '32'
-
- - TOXENV: 'py27-28-40'
- TOXPYTHON: C:\Python27-x64\python.exe
- WINDOWS_SDK_VERSION: v7.0
- PYTHON_HOME: C:\Python27-x64
- PYTHON_VERSION: '2.7'
- PYTHON_ARCH: '64'
-
- - TOXENV: 'py27-28-41'
- TOXPYTHON: C:\Python27\python.exe
- PYTHON_HOME: C:\Python27
- PYTHON_VERSION: '2.7'
- PYTHON_ARCH: '32'
-
- - TOXENV: 'py27-28-41'
- TOXPYTHON: C:\Python27-x64\python.exe
- WINDOWS_SDK_VERSION: v7.0
- PYTHON_HOME: C:\Python27-x64
- PYTHON_VERSION: '2.7'
- PYTHON_ARCH: '64'
-
- - TOXENV: 'py27-29-37'
- TOXPYTHON: C:\Python27\python.exe
- PYTHON_HOME: C:\Python27
- PYTHON_VERSION: '2.7'
- PYTHON_ARCH: '32'
-
- - TOXENV: 'py27-29-37'
- TOXPYTHON: C:\Python27-x64\python.exe
- WINDOWS_SDK_VERSION: v7.0
- PYTHON_HOME: C:\Python27-x64
- PYTHON_VERSION: '2.7'
- PYTHON_ARCH: '64'
-
- - TOXENV: 'py27-29-40'
- TOXPYTHON: C:\Python27\python.exe
- PYTHON_HOME: C:\Python27
- PYTHON_VERSION: '2.7'
- PYTHON_ARCH: '32'
-
- - TOXENV: 'py27-29-40'
- TOXPYTHON: C:\Python27-x64\python.exe
- WINDOWS_SDK_VERSION: v7.0
- PYTHON_HOME: C:\Python27-x64
- PYTHON_VERSION: '2.7'
- PYTHON_ARCH: '64'
-
- - TOXENV: 'py27-29-41'
- TOXPYTHON: C:\Python27\python.exe
- PYTHON_HOME: C:\Python27
- PYTHON_VERSION: '2.7'
- PYTHON_ARCH: '32'
-
- - TOXENV: 'py27-29-41'
- TOXPYTHON: C:\Python27-x64\python.exe
- WINDOWS_SDK_VERSION: v7.0
- PYTHON_HOME: C:\Python27-x64
- PYTHON_VERSION: '2.7'
- PYTHON_ARCH: '64'
-
- - TOXENV: 'py34-27-37'
- TOXPYTHON: C:\Python34\python.exe
- PYTHON_HOME: C:\Python34
- PYTHON_VERSION: '3.4'
- PYTHON_ARCH: '32'
-
- - TOXENV: 'py34-27-37'
- TOXPYTHON: C:\Python34-x64\python.exe
- WINDOWS_SDK_VERSION: v7.1
- PYTHON_HOME: C:\Python34-x64
- PYTHON_VERSION: '3.4'
- PYTHON_ARCH: '64'
-
- - TOXENV: 'py34-27-40'
- TOXPYTHON: C:\Python34\python.exe
- PYTHON_HOME: C:\Python34
- PYTHON_VERSION: '3.4'
- PYTHON_ARCH: '32'
-
- - TOXENV: 'py34-27-40'
- TOXPYTHON: C:\Python34-x64\python.exe
- WINDOWS_SDK_VERSION: v7.1
- PYTHON_HOME: C:\Python34-x64
- PYTHON_VERSION: '3.4'
- PYTHON_ARCH: '64'
-
- - TOXENV: 'py34-27-41'
- TOXPYTHON: C:\Python34\python.exe
- PYTHON_HOME: C:\Python34
- PYTHON_VERSION: '3.4'
- PYTHON_ARCH: '32'
-
- - TOXENV: 'py34-27-41'
- TOXPYTHON: C:\Python34-x64\python.exe
- WINDOWS_SDK_VERSION: v7.1
- PYTHON_HOME: C:\Python34-x64
- PYTHON_VERSION: '3.4'
- PYTHON_ARCH: '64'
-
- - TOXENV: 'py34-28-37'
- TOXPYTHON: C:\Python34\python.exe
- PYTHON_HOME: C:\Python34
- PYTHON_VERSION: '3.4'
- PYTHON_ARCH: '32'
-
- - TOXENV: 'py34-28-37'
- TOXPYTHON: C:\Python34-x64\python.exe
- WINDOWS_SDK_VERSION: v7.1
- PYTHON_HOME: C:\Python34-x64
- PYTHON_VERSION: '3.4'
- PYTHON_ARCH: '64'
-
- - TOXENV: 'py34-28-40'
- TOXPYTHON: C:\Python34\python.exe
- PYTHON_HOME: C:\Python34
- PYTHON_VERSION: '3.4'
- PYTHON_ARCH: '32'
-
- - TOXENV: 'py34-28-40'
- TOXPYTHON: C:\Python34-x64\python.exe
- WINDOWS_SDK_VERSION: v7.1
- PYTHON_HOME: C:\Python34-x64
- PYTHON_VERSION: '3.4'
- PYTHON_ARCH: '64'
-
- - TOXENV: 'py34-28-41'
- TOXPYTHON: C:\Python34\python.exe
- PYTHON_HOME: C:\Python34
- PYTHON_VERSION: '3.4'
- PYTHON_ARCH: '32'
-
- - TOXENV: 'py34-28-41'
- TOXPYTHON: C:\Python34-x64\python.exe
- WINDOWS_SDK_VERSION: v7.1
- PYTHON_HOME: C:\Python34-x64
- PYTHON_VERSION: '3.4'
- PYTHON_ARCH: '64'
-
- - TOXENV: 'py34-29-37'
- TOXPYTHON: C:\Python34\python.exe
- PYTHON_HOME: C:\Python34
- PYTHON_VERSION: '3.4'
- PYTHON_ARCH: '32'
-
- - TOXENV: 'py34-29-37'
- TOXPYTHON: C:\Python34-x64\python.exe
- WINDOWS_SDK_VERSION: v7.1
- PYTHON_HOME: C:\Python34-x64
- PYTHON_VERSION: '3.4'
- PYTHON_ARCH: '64'
-
- - TOXENV: 'py34-29-40'
- TOXPYTHON: C:\Python34\python.exe
- PYTHON_HOME: C:\Python34
- PYTHON_VERSION: '3.4'
- PYTHON_ARCH: '32'
-
- - TOXENV: 'py34-29-40'
- TOXPYTHON: C:\Python34-x64\python.exe
- WINDOWS_SDK_VERSION: v7.1
- PYTHON_HOME: C:\Python34-x64
- PYTHON_VERSION: '3.4'
- PYTHON_ARCH: '64'
-
- - TOXENV: 'py34-29-41'
- TOXPYTHON: C:\Python34\python.exe
- PYTHON_HOME: C:\Python34
- PYTHON_VERSION: '3.4'
- PYTHON_ARCH: '32'
-
- - TOXENV: 'py34-29-41'
- TOXPYTHON: C:\Python34-x64\python.exe
- WINDOWS_SDK_VERSION: v7.1
- PYTHON_HOME: C:\Python34-x64
- PYTHON_VERSION: '3.4'
- PYTHON_ARCH: '64'
-
- - TOXENV: 'py35-27-37'
- TOXPYTHON: C:\Python35\python.exe
- PYTHON_HOME: C:\Python35
- PYTHON_VERSION: '3.5'
- PYTHON_ARCH: '32'
-
- - TOXENV: 'py35-27-37'
- TOXPYTHON: C:\Python35-x64\python.exe
- PYTHON_HOME: C:\Python35-x64
- PYTHON_VERSION: '3.5'
- PYTHON_ARCH: '64'
-
- - TOXENV: 'py35-27-40'
- TOXPYTHON: C:\Python35\python.exe
- PYTHON_HOME: C:\Python35
- PYTHON_VERSION: '3.5'
- PYTHON_ARCH: '32'
-
- - TOXENV: 'py35-27-40'
- TOXPYTHON: C:\Python35-x64\python.exe
- PYTHON_HOME: C:\Python35-x64
- PYTHON_VERSION: '3.5'
- PYTHON_ARCH: '64'
-
- - TOXENV: 'py35-27-41'
- TOXPYTHON: C:\Python35\python.exe
- PYTHON_HOME: C:\Python35
- PYTHON_VERSION: '3.5'
- PYTHON_ARCH: '32'
-
- - TOXENV: 'py35-27-41'
- TOXPYTHON: C:\Python35-x64\python.exe
- PYTHON_HOME: C:\Python35-x64
- PYTHON_VERSION: '3.5'
- PYTHON_ARCH: '64'
-
- - TOXENV: 'py35-28-37'
- TOXPYTHON: C:\Python35\python.exe
- PYTHON_HOME: C:\Python35
- PYTHON_VERSION: '3.5'
- PYTHON_ARCH: '32'
-
- - TOXENV: 'py35-28-37'
- TOXPYTHON: C:\Python35-x64\python.exe
- PYTHON_HOME: C:\Python35-x64
- PYTHON_VERSION: '3.5'
- PYTHON_ARCH: '64'
-
- - TOXENV: 'py35-28-40'
- TOXPYTHON: C:\Python35\python.exe
- PYTHON_HOME: C:\Python35
- PYTHON_VERSION: '3.5'
- PYTHON_ARCH: '32'
-
- - TOXENV: 'py35-28-40'
- TOXPYTHON: C:\Python35-x64\python.exe
- PYTHON_HOME: C:\Python35-x64
- PYTHON_VERSION: '3.5'
- PYTHON_ARCH: '64'
-
- - TOXENV: 'py35-28-41'
- TOXPYTHON: C:\Python35\python.exe
- PYTHON_HOME: C:\Python35
- PYTHON_VERSION: '3.5'
- PYTHON_ARCH: '32'
-
- - TOXENV: 'py35-28-41'
- TOXPYTHON: C:\Python35-x64\python.exe
- PYTHON_HOME: C:\Python35-x64
- PYTHON_VERSION: '3.5'
- PYTHON_ARCH: '64'
-
- - TOXENV: 'py35-29-37'
- TOXPYTHON: C:\Python35\python.exe
- PYTHON_HOME: C:\Python35
- PYTHON_VERSION: '3.5'
- PYTHON_ARCH: '32'
-
- - TOXENV: 'py35-29-37'
- TOXPYTHON: C:\Python35-x64\python.exe
- PYTHON_HOME: C:\Python35-x64
- PYTHON_VERSION: '3.5'
- PYTHON_ARCH: '64'
-
- - TOXENV: 'py35-29-40'
- TOXPYTHON: C:\Python35\python.exe
- PYTHON_HOME: C:\Python35
- PYTHON_VERSION: '3.5'
- PYTHON_ARCH: '32'
-
- - TOXENV: 'py35-29-40'
- TOXPYTHON: C:\Python35-x64\python.exe
- PYTHON_HOME: C:\Python35-x64
- PYTHON_VERSION: '3.5'
- PYTHON_ARCH: '64'
-
- - TOXENV: 'py35-29-41'
- TOXPYTHON: C:\Python35\python.exe
- PYTHON_HOME: C:\Python35
- PYTHON_VERSION: '3.5'
- PYTHON_ARCH: '32'
-
- - TOXENV: 'py35-29-41'
- TOXPYTHON: C:\Python35-x64\python.exe
- PYTHON_HOME: C:\Python35-x64
- PYTHON_VERSION: '3.5'
- PYTHON_ARCH: '64'
+ - TOXENV:
'py26-27-37,py26-27-40,py26-27-41,py26-27-42,py26-28-37,py26-28-40,py26-28-41,py26-28-42,py26-29-37,py26-29-40,py26-29-41,py26-29-42,py26-30-37,py26-30-40,py26-30-41,py26-30-42'
+ - TOXENV:
'py27-27-37,py27-27-40,py27-27-41,py27-27-42,py27-28-37,py27-28-40,py27-28-41,py27-28-42,py27-29-37,py27-29-40,py27-29-41,py27-29-42,py27-30-37,py27-30-40,py27-30-41,py27-30-42'
+ - TOXENV:
'py34-27-37,py34-27-40,py34-27-41,py34-27-42,py34-28-37,py34-28-40,py34-28-41,py34-28-42,py34-29-37,py34-29-40,py34-29-41,py34-29-42,py34-30-37,py34-30-40,py34-30-41,py34-30-42'
+ - TOXENV:
'py35-27-37,py35-27-40,py35-27-41,py35-27-42,py35-28-37,py35-28-40,py35-28-41,py35-28-42,py35-29-37,py35-29-40,py35-29-41,py35-29-42,py35-30-37,py35-30-40,py35-30-41,py35-30-42'
+ - TOXENV:
'pypy-27-37,pypy-27-40,pypy-27-41,pypy-27-42,pypy-28-37,pypy-28-40,pypy-28-41,pypy-28-42,pypy-29-37,pypy-29-40,pypy-29-41,pypy-29-42,pypy-30-37,pypy-30-40,pypy-30-41,pypy-30-42'
init:
- ps: echo $env:TOXENV
- ps: ls C:\Python*
install:
- - python -u ci\appveyor-bootstrap.py
- - '%PYTHON_HOME%\Scripts\virtualenv --version'
- - '%PYTHON_HOME%\Scripts\easy_install --version'
- - '%PYTHON_HOME%\Scripts\pip --version'
- - '%PYTHON_HOME%\Scripts\tox --version'
+ # install pypy using choco (redirect to a file and write to console in case
+ # choco install returns non-zero, because choco install python.pypy is too
+ # noisy)
+ - choco install python.pypy > pypy-inst.log 2>&1 || (type pypy-inst.log &
exit /b 1)
+ - set PATH=C:\tools\pypy\pypy;%PATH% # so tox can find pypy
+ - echo PyPy installed
+ - pypy --version
+
+ - C:\Python35\python -m pip install tox
+
test_script:
- - '%WITH_COMPILER% %PYTHON_HOME%\Scripts\tox'
+ - C:\Python35\python -m tox
on_failure:
- ps: dir "env:"
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/pytest-cov-2.3.0/ci/appveyor-bootstrap.py
new/pytest-cov-2.3.1/ci/appveyor-bootstrap.py
--- old/pytest-cov-2.3.0/ci/appveyor-bootstrap.py 2016-01-11
03:24:59.000000000 +0100
+++ new/pytest-cov-2.3.1/ci/appveyor-bootstrap.py 1970-01-01
01:00:00.000000000 +0100
@@ -1,117 +0,0 @@
-"""
-AppVeyor will at least have few Pythons around so there's no point of
implementing a bootstrapper in PowerShell.
-
-This is a port of
https://github.com/pypa/python-packaging-user-guide/blob/master/source/code/install.ps1
-with various fixes and improvements that just weren't feasible to implement in
PowerShell.
-"""
-from __future__ import print_function
-from os import environ
-from os.path import exists
-from subprocess import check_call
-
-try:
- from urllib.request import urlretrieve
-except ImportError:
- from urllib import urlretrieve
-
-BASE_URL = "https://www.python.org/ftp/python/"
-GET_PIP_URL = "https://bootstrap.pypa.io/get-pip.py"
-GET_PIP_PATH = "C:\get-pip.py"
-URLS = {
- ("2.6", "64"): BASE_URL + "2.6.6/python-2.6.6.amd64.msi",
- ("2.6", "32"): BASE_URL + "2.6.6/python-2.6.6.msi",
- ("2.7", "64"): BASE_URL + "2.7.10/python-2.7.10.amd64.msi",
- ("2.7", "32"): BASE_URL + "2.7.10/python-2.7.10.msi",
- # NOTE: no .msi installer for 3.3.6
- ("3.3", "64"): BASE_URL + "3.3.3/python-3.3.3.amd64.msi",
- ("3.3", "32"): BASE_URL + "3.3.3/python-3.3.3.msi",
- ("3.4", "64"): BASE_URL + "3.4.3/python-3.4.3.amd64.msi",
- ("3.4", "32"): BASE_URL + "3.4.3/python-3.4.3.msi",
- ("3.5", "64"): BASE_URL + "3.5.0/python-3.5.0-amd64.exe",
- ("3.5", "32"): BASE_URL + "3.5.0/python-3.5.0.exe",
-}
-INSTALL_CMD = {
- # Commands are allowed to fail only if they are not the last command. Eg:
uninstall (/x) allowed to fail.
- "2.6": [["msiexec.exe", "/L*+!", "install.log", "/qn", "/x", "{path}"],
- ["msiexec.exe", "/L*+!", "install.log", "/qn", "/i", "{path}",
"TARGETDIR={home}"]],
- "2.7": [["msiexec.exe", "/L*+!", "install.log", "/qn", "/x", "{path}"],
- ["msiexec.exe", "/L*+!", "install.log", "/qn", "/i", "{path}",
"TARGETDIR={home}"]],
- "3.3": [["msiexec.exe", "/L*+!", "install.log", "/qn", "/x", "{path}"],
- ["msiexec.exe", "/L*+!", "install.log", "/qn", "/i", "{path}",
"TARGETDIR={home}"]],
- "3.4": [["msiexec.exe", "/L*+!", "install.log", "/qn", "/x", "{path}"],
- ["msiexec.exe", "/L*+!", "install.log", "/qn", "/i", "{path}",
"TARGETDIR={home}"]],
- "3.5": [["{path}", "/quiet", "TargetDir={home}"]],
-}
-
-
-def download_file(url, path):
- print("Downloading: {} (into {})".format(url, path))
- progress = [0, 0]
-
- def report(count, size, total):
- progress[0] = count * size
- if progress[0] - progress[1] > 1000000:
- progress[1] = progress[0]
- print("Downloaded {:,}/{:,} ...".format(progress[1], total))
-
- dest, _ = urlretrieve(url, path, reporthook=report)
- return dest
-
-
-def install_python(version, arch, home):
- print("Installing Python", version, "for", arch, "bit architecture to",
home)
- if exists(home):
- return
-
- path = download_python(version, arch)
- print("Installing", path, "to", home)
- success = False
- for cmd in INSTALL_CMD[version]:
- cmd = [part.format(home=home, path=path) for part in cmd]
- print("Running:", " ".join(cmd))
- try:
- check_call(cmd)
- except Exception as exc:
- print("Failed command", cmd, "with:", exc)
- if exists("install.log"):
- with open("install.log") as fh:
- print(fh.read())
- else:
- success = True
- if success:
- print("Installation complete!")
- else:
- print("Installation failed")
-
-
-def download_python(version, arch):
- for _ in range(3):
- try:
- return download_file(URLS[version, arch], "installer.exe")
- except Exception as exc:
- print("Failed to download:", exc)
- print("Retrying ...")
-
-
-def install_pip(home):
- pip_path = home + "/Scripts/pip.exe"
- python_path = home + "/python.exe"
- if exists(pip_path):
- print("pip already installed.")
- else:
- print("Installing pip...")
- download_file(GET_PIP_URL, GET_PIP_PATH)
- print("Executing:", python_path, GET_PIP_PATH)
- check_call([python_path, GET_PIP_PATH])
-
-
-def install_packages(home, *packages):
- cmd = [home + "/Scripts/pip.exe", "install"]
- cmd.extend(packages)
- check_call(cmd)
-
-
-if __name__ == "__main__":
- install_python(environ['PYTHON_VERSION'], environ['PYTHON_ARCH'],
environ['PYTHON_HOME'])
- install_pip(environ['PYTHON_HOME'])
- install_packages(environ['PYTHON_HOME'], "setuptools>=18.0.1", "wheel",
"tox", "virtualenv>=13.1.0")
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/pytest-cov-2.3.0/ci/appveyor-with-compiler.cmd
new/pytest-cov-2.3.1/ci/appveyor-with-compiler.cmd
--- old/pytest-cov-2.3.0/ci/appveyor-with-compiler.cmd 2016-01-11
03:24:59.000000000 +0100
+++ new/pytest-cov-2.3.1/ci/appveyor-with-compiler.cmd 1970-01-01
01:00:00.000000000 +0100
@@ -1,46 +0,0 @@
-:: To build extensions for 64 bit Python 3, we need to configure environment
-:: variables to use the MSVC 2010 C++ compilers from GRMSDKX_EN_DVD.iso of:
-:: MS Windows SDK for Windows 7 and .NET Framework 4 (SDK v7.1)
-::
-:: To build extensions for 64 bit Python 2, we need to configure environment
-:: variables to use the MSVC 2008 C++ compilers from GRMSDKX_EN_DVD.iso of:
-:: MS Windows SDK for Windows 7 and .NET Framework 3.5 (SDK v7.0)
-::
-:: 32 bit builds do not require specific environment configurations.
-::
-:: Note: this script needs to be run with the /E:ON and /V:ON flags for the
-:: cmd interpreter, at least for (SDK v7.0)
-::
-:: More details at:
-:: https://github.com/cython/cython/wiki/64BitCythonExtensionsOnWindows
-:: http://stackoverflow.com/a/13751649/163740
-::
-:: Author: Olivier Grisel
-:: License: CC0 1.0 Universal:
http://creativecommons.org/publicdomain/zero/1.0/
-SET COMMAND_TO_RUN=%*
-SET WIN_SDK_ROOT=C:\Program Files\Microsoft SDKs\Windows
-SET WIN_WDK="c:\Program Files (x86)\Windows Kits\10\Include\wdf"
-ECHO SDK: %WINDOWS_SDK_VERSION% ARCH: %PYTHON_ARCH%
-
-
-IF "%PYTHON_VERSION%"=="3.5" (
- IF EXIST %WIN_WDK% (
- REM See:
https://connect.microsoft.com/VisualStudio/feedback/details/1610302/
- REN %WIN_WDK% 0wdf
- )
- GOTO main
-)
-
-IF "%PYTHON_ARCH%"=="32" (
- GOTO main
-)
-
-SET DISTUTILS_USE_SDK=1
-SET MSSdk=1
-"%WIN_SDK_ROOT%\%WINDOWS_SDK_VERSION%\Setup\WindowsSdkVer.exe" -q
-version:%WINDOWS_SDK_VERSION%
-CALL "%WIN_SDK_ROOT%\%WINDOWS_SDK_VERSION%\Bin\SetEnv.cmd" /x64 /release
-
-:main
-
-ECHO Executing: %COMMAND_TO_RUN%
-CALL %COMMAND_TO_RUN% || EXIT 1
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/pytest-cov-2.3.0/ci/bootstrap.py
new/pytest-cov-2.3.1/ci/bootstrap.py
--- old/pytest-cov-2.3.0/ci/bootstrap.py 2016-01-11 03:24:59.000000000
+0100
+++ new/pytest-cov-2.3.1/ci/bootstrap.py 2016-08-06 17:13:59.000000000
+0200
@@ -45,9 +45,12 @@
tox_environments = [line.strip() for line in
subprocess.check_output(['tox', '--listenvs']).splitlines()]
tox_environments = [line for line in tox_environments if line not in
['clean', 'report', 'docs', 'check']]
+ template_vars = {'tox_environments': tox_environments}
+ for py_ver in '26 27 33 34 35 py'.split():
+ template_vars['py%s_environments' % py_ver] = [x for x in
tox_environments if x.startswith('py' + py_ver)]
for name in os.listdir(join("ci", "templates")):
with open(join(base_path, name), "w") as fh:
-
fh.write(jinja.get_template(name).render(tox_environments=tox_environments))
+ fh.write(jinja.get_template(name).render(**template_vars))
print("Wrote {}".format(name))
print("DONE.")
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/pytest-cov-2.3.0/ci/templates/appveyor.yml
new/pytest-cov-2.3.1/ci/templates/appveyor.yml
--- old/pytest-cov-2.3.0/ci/templates/appveyor.yml 2016-01-11
03:24:59.000000000 +0100
+++ new/pytest-cov-2.3.1/ci/templates/appveyor.yml 2016-08-06
17:13:59.000000000 +0200
@@ -3,44 +3,30 @@
cache:
- '%LOCALAPPDATA%\pip\Cache'
environment:
- global:
- WITH_COMPILER: 'cmd /E:ON /V:ON /C .\ci\appveyor-with-compiler.cmd'
matrix:
- TOXENV: check
- PYTHON_HOME: C:\Python27
- PYTHON_VERSION: '2.7'
- PYTHON_ARCH: '32'
+ - TOXENV: '{{ py26_environments|join(",") }}'
+ - TOXENV: '{{ py27_environments|join(",") }}'
+ - TOXENV: '{{ py34_environments|join(",") }}'
+ - TOXENV: '{{ py35_environments|join(",") }}'
+ - TOXENV: '{{ pypy_environments|join(",") }}'
-{% for env in tox_environments %}{% if env.startswith(('py27', 'py34',
'py35')) %}
- - TOXENV: '{{ env }}{% if 'cover' in env %},codecov{% endif %}'
- TOXPYTHON: C:\Python{{ env[2:4] }}\python.exe
- PYTHON_HOME: C:\Python{{ env[2:4] }}
- PYTHON_VERSION: '{{ env[2] }}.{{ env[3] }}'
- PYTHON_ARCH: '32'
-
- - TOXENV: '{{ env }}{% if 'cover' in env %},codecov{% endif %}'
- TOXPYTHON: C:\Python{{ env[2:4] }}-x64\python.exe
- {%- if env.startswith(('py2', 'py33', 'py34')) %}
-
- WINDOWS_SDK_VERSION: v7.{{ '1' if env.startswith('py3') else '0' }}
- {%- endif %}
-
- PYTHON_HOME: C:\Python{{ env[2:4] }}-x64
- PYTHON_VERSION: '{{ env[2] }}.{{ env[3] }}'
- PYTHON_ARCH: '64'
-
-{% endif %}{% endfor %}
init:
- ps: echo $env:TOXENV
- ps: ls C:\Python*
install:
- - python -u ci\appveyor-bootstrap.py
- - '%PYTHON_HOME%\Scripts\virtualenv --version'
- - '%PYTHON_HOME%\Scripts\easy_install --version'
- - '%PYTHON_HOME%\Scripts\pip --version'
- - '%PYTHON_HOME%\Scripts\tox --version'
+ # install pypy using choco (redirect to a file and write to console in case
+ # choco install returns non-zero, because choco install python.pypy is too
+ # noisy)
+ - choco install python.pypy > pypy-inst.log 2>&1 || (type pypy-inst.log &
exit /b 1)
+ - set PATH=C:\tools\pypy\pypy;%PATH% # so tox can find pypy
+ - echo PyPy installed
+ - pypy --version
+
+ - C:\Python35\python -m pip install tox
+
test_script:
- - '%WITH_COMPILER% %PYTHON_HOME%\Scripts\tox'
+ - C:\Python35\python -m tox
on_failure:
- ps: dir "env:"
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/pytest-cov-2.3.0/docs/conf.py
new/pytest-cov-2.3.1/docs/conf.py
--- old/pytest-cov-2.3.0/docs/conf.py 2016-07-05 21:54:31.000000000 +0200
+++ new/pytest-cov-2.3.1/docs/conf.py 2016-08-07 22:09:52.000000000 +0200
@@ -25,7 +25,7 @@
year = '2016'
author = 'pytest-cov contributors'
copyright = '{0}, {1}'.format(year, author)
-version = release = '2.3.0'
+version = release = '2.3.1'
pygments_style = 'trac'
templates_path = ['.']
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/pytest-cov-2.3.0/setup.py
new/pytest-cov-2.3.1/setup.py
--- old/pytest-cov-2.3.0/setup.py 2016-07-05 21:54:31.000000000 +0200
+++ new/pytest-cov-2.3.1/setup.py 2016-08-07 22:09:52.000000000 +0200
@@ -82,7 +82,7 @@
setup(
name='pytest-cov',
- version='2.3.0',
+ version='2.3.1',
license='MIT',
description='Pytest plugin for measuring coverage.',
long_description='%s\n%s' % (read('README.rst'),
re.sub(':[a-z]+:`~?(.*?)`', r'``\1``', read('CHANGELOG.rst'))),
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/pytest-cov-2.3.0/src/pytest_cov/__init__.py
new/pytest-cov-2.3.1/src/pytest_cov/__init__.py
--- old/pytest-cov-2.3.0/src/pytest_cov/__init__.py 2016-07-05
21:54:31.000000000 +0200
+++ new/pytest-cov-2.3.1/src/pytest_cov/__init__.py 2016-08-07
22:09:52.000000000 +0200
@@ -1 +1 @@
-__version__ = "2.3.0"
+__version__ = "2.3.1"
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/pytest-cov-2.3.0/src/pytest_cov/plugin.py
new/pytest-cov-2.3.1/src/pytest_cov/plugin.py
--- old/pytest-cov-2.3.0/src/pytest_cov/plugin.py 2016-06-20
21:48:45.000000000 +0200
+++ new/pytest-cov-2.3.1/src/pytest_cov/plugin.py 2016-08-06
18:07:31.000000000 +0200
@@ -68,7 +68,7 @@
group.addoption('--no-cov-on-fail', action='store_true', default=False,
help='do not report coverage if test run fails, '
'default: False')
- group.addoption('--cov-fail-under', action='store', metavar='MIN',
type='int',
+ group.addoption('--cov-fail-under', action='store', metavar='MIN',
type=int,
help='Fail if the total coverage is less than MIN.')
group.addoption('--cov-append', action='store_true', default=False,
help='do not delete coverage but append to current, '
@@ -165,11 +165,13 @@
if self.options.cov_fail_under is None and hasattr(cov_config,
'fail_under'):
self.options.cov_fail_under = cov_config.fail_under
+ def _is_slave(self, session):
+ return hasattr(session.config, 'slaveinput')
+
def pytest_sessionstart(self, session):
"""At session start determine our implementation and delegate to it."""
self.pid = os.getpid()
- is_slave = hasattr(session.config, 'slaveinput')
- if is_slave:
+ if self._is_slave(session):
nodeid = session.config.slaveinput.get('slaveid',
getattr(session, 'nodeid'))
self.start(engine.DistSlave, session.config, nodeid)
@@ -211,7 +213,7 @@
if self.cov_controller is not None:
self.cov_controller.finish()
- if self._should_report():
+ if not self._is_slave(session) and self._should_report():
try:
self.cov_total = self.cov_controller.summary(self.cov_report)
except CoverageException as exc:
@@ -254,10 +256,9 @@
self.cov = None
-def pytest_funcarg__cov(request):
- """A pytest funcarg that provides access to the underlying coverage
- object.
- """
[email protected]
+def cov(request):
+ """A pytest fixture to provide access to the underlying coverage object."""
# Check with hasplugin to avoid getplugin exception in older pytest.
if request.config.pluginmanager.hasplugin('_cov'):
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/pytest-cov-2.3.0/src/pytest_cov.egg-info/PKG-INFO
new/pytest-cov-2.3.1/src/pytest_cov.egg-info/PKG-INFO
--- old/pytest-cov-2.3.0/src/pytest_cov.egg-info/PKG-INFO 2016-07-05
21:54:48.000000000 +0200
+++ new/pytest-cov-2.3.1/src/pytest_cov.egg-info/PKG-INFO 2016-08-07
22:10:36.000000000 +0200
@@ -1,6 +1,6 @@
Metadata-Version: 1.1
Name: pytest-cov
-Version: 2.3.0
+Version: 2.3.1
Summary: Pytest plugin for measuring coverage.
Home-page: https://github.com/pytest-dev/pytest-cov
Author: Marc Schlaich
@@ -340,6 +340,16 @@
Changelog
=========
+ 2.3.1 (2016-08-07)
+ ------------------
+
+ * Fixed regression causing spurious errors when xdist was used. See
`#124
+ <https://github.com/pytest-dev/pytest-cov/issues/124>`_.
+ * Fixed DeprecationWarning about incorrect `addoption` use.
Contributed by Florian Bruhin in `PR#127
+ <https://github.com/pytest-dev/pytest-cov/pull/127>`_.
+ * Fixed deprecated use of funcarg fixture API. Contributed by Daniel
Hahler in `PR#125
+ <https://github.com/pytest-dev/pytest-cov/pull/125>`_.
+
2.3.0 (2016-07-05)
------------------
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/pytest-cov-2.3.0/src/pytest_cov.egg-info/SOURCES.txt
new/pytest-cov-2.3.1/src/pytest_cov.egg-info/SOURCES.txt
--- old/pytest-cov-2.3.0/src/pytest_cov.egg-info/SOURCES.txt 2016-07-05
21:54:49.000000000 +0200
+++ new/pytest-cov-2.3.1/src/pytest_cov.egg-info/SOURCES.txt 2016-08-07
22:10:37.000000000 +0200
@@ -13,8 +13,6 @@
setup.cfg
setup.py
tox.ini
-ci/appveyor-bootstrap.py
-ci/appveyor-with-compiler.cmd
ci/bootstrap.py
ci/templates/.travis.yml
ci/templates/appveyor.yml
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/pytest-cov-2.3.0/tests/test_pytest_cov.py
new/pytest-cov-2.3.1/tests/test_pytest_cov.py
--- old/pytest-cov-2.3.0/tests/test_pytest_cov.py 2016-06-20
21:48:45.000000000 +0200
+++ new/pytest-cov-2.3.1/tests/test_pytest_cov.py 2016-08-07
21:03:13.000000000 +0200
@@ -3,6 +3,7 @@
import subprocess
import sys
from distutils.version import StrictVersion
+from itertools import chain
import coverage
import py
@@ -447,15 +448,17 @@
result = testdir.runpytest('-v',
'--cov=%s' % script.dirpath(),
'--cov-report=term-missing',
- '-n', '5',
+ '-n', '5', '-s',
script)
result.stdout.fnmatch_lines([
'*- coverage: platform *, python * -*',
'test_dist_combine_racecondition* 2002 * 0 * 100%*',
'*1000 passed*'
])
- for line in result.stdout.lines:
+
+ for line in chain(result.stdout.lines, result.stderr.lines):
assert 'The following slaves failed to return coverage data' not in
line
+ assert 'INTERNALERROR' not in line
assert result.ret == 0
@@ -670,6 +673,7 @@
assert not matching_lines
[email protected]("'dev' in pytest.__version__")
def test_dist_missing_data(testdir):
venv_path = os.path.join(str(testdir.tmpdir), 'venv')
virtualenv.create_environment(venv_path)
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/pytest-cov-2.3.0/tox.ini new/pytest-cov-2.3.1/tox.ini
--- old/pytest-cov-2.3.0/tox.ini 2016-06-01 11:13:08.000000000 +0200
+++ new/pytest-cov-2.3.1/tox.ini 2016-08-07 16:42:32.000000000 +0200
@@ -3,7 +3,7 @@
[tox]
envlist =
check,
- {py26,py27,py33,py34,py35,pypy}-{27,28,29}-{37,40,41},
+ {py26,py27,py33,py34,py35,pypy}-{27,28,29,30}-{37,40,41,42},
docs
[testenv]
@@ -24,10 +24,12 @@
27: pytest==2.7.3
28: pytest==2.8.7
29: pytest==2.9.2
+ 30:
https://github.com/pytest-dev/pytest/archive/ac5c39e5340d541a37266ae85d9138afcdcaab39.zip
pytest-capturelog
37: coverage==3.7.1
40: coverage==4.0.3
41: coverage==4.1
+ 42: coverage==4.2
virtualenv
pytest-xdist==1.14
27: pytest-cache==1.0.0