Hello community,

here is the log from the commit of package python-pytest-cov for 
openSUSE:Factory checked in at 2020-08-25 12:40:16
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/python-pytest-cov (Old)
 and      /work/SRC/openSUSE:Factory/.python-pytest-cov.new.3399 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "python-pytest-cov"

Tue Aug 25 12:40:16 2020 rev:18 rq:828525 version:2.10.1

Changes:
--------
--- /work/SRC/openSUSE:Factory/python-pytest-cov/python-pytest-cov.changes      
2020-06-30 21:54:14.762346848 +0200
+++ 
/work/SRC/openSUSE:Factory/.python-pytest-cov.new.3399/python-pytest-cov.changes
    2020-08-25 12:40:45.357436958 +0200
@@ -1,0 +2,9 @@
+Fri Aug 21 14:16:07 UTC 2020 - Marketa Calabkova <[email protected]>
+
+- Update to 2.10.1
+  * Support for ``pytest-xdist`` 2.0, which breaks compatibility with 
``pytest-xdist`` before 1.22.3 (from 2017).
+  * Fixed the ``LocalPath has no attribute startswith`` failure that occurred 
when using the ``pytester`` plugin
+    in inline mode.
+  * Dropped support for Python 3 < 3.4, Pytest < 3.5 and Coverage < 4.4.
+
+-------------------------------------------------------------------

Old:
----
  pytest-cov-2.10.0.tar.gz

New:
----
  pytest-cov-2.10.1.tar.gz

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Other differences:
------------------
++++++ python-pytest-cov.spec ++++++
--- /var/tmp/diff_new_pack.tdqE7e/_old  2020-08-25 12:40:46.385437152 +0200
+++ /var/tmp/diff_new_pack.tdqE7e/_new  2020-08-25 12:40:46.389437153 +0200
@@ -18,7 +18,7 @@
 
 %{?!python_module:%define python_module() python-%{**} python3-%{**}}
 Name:           python-pytest-cov
-Version:        2.10.0
+Version:        2.10.1
 Release:        0
 Summary:        Pytest plugin for coverage reporting
 License:        MIT

++++++ pytest-cov-2.10.0.tar.gz -> pytest-cov-2.10.1.tar.gz ++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/pytest-cov-2.10.0/.appveyor.yml 
new/pytest-cov-2.10.1/.appveyor.yml
--- old/pytest-cov-2.10.0/.appveyor.yml 1970-01-01 01:00:00.000000000 +0100
+++ new/pytest-cov-2.10.1/.appveyor.yml 2020-08-14 17:48:42.000000000 +0200
@@ -0,0 +1,33 @@
+# NOTE: this file is auto-generated via ci/bootstrap.py 
(ci/templates/.appveyor.yml).
+version: '{branch}-{build}'
+build: off
+environment:
+  matrix:
+    - TOXENV: check
+    - TOXENV: 
'py27-pytest46-xdist27-coverage45,py27-pytest46-xdist27-coverage52'
+    - TOXENV: 
'py35-pytest46-xdist27-coverage45,py35-pytest46-xdist27-coverage52'
+    - TOXENV: 
'py36-pytest46-xdist27-coverage45,py36-pytest46-xdist27-coverage52,py36-pytest46-xdist33-coverage45,py36-pytest46-xdist33-coverage52,py36-pytest54-xdist33-coverage45,py36-pytest54-xdist33-coverage52,py36-pytest60-xdist200-coverage52'
+    - TOXENV: 
'py37-pytest46-xdist27-coverage45,py37-pytest46-xdist27-coverage52,py37-pytest46-xdist33-coverage45,py37-pytest46-xdist33-coverage52,py37-pytest54-xdist33-coverage45,py37-pytest54-xdist33-coverage52,py37-pytest60-xdist200-coverage52'
+    - TOXENV: 
'pypy-pytest46-xdist27-coverage45,pypy-pytest46-xdist27-coverage52'
+
+init:
+  - ps: echo $env:TOXENV
+  - ps: ls C:\Python*
+install:
+  - IF "%TOXENV:~0,5%" == "pypy-" choco install --no-progress python.pypy
+  - IF "%TOXENV:~0,6%" == "pypy3-" choco install --no-progress pypy3
+  - SET PATH=C:\tools\pypy\pypy;%PATH%
+  - C:\Python37\python -m pip install --progress-bar=off tox 
-rci/requirements.txt
+
+test_script:
+  - cmd /E:ON /V:ON /C .\ci\appveyor-with-compiler.cmd C:\Python37\python -m 
tox
+
+on_failure:
+  - ps: dir "env:"
+  - ps: get-content .tox\*\log\*
+artifacts:
+  - path: dist\*
+
+### To enable remote debugging uncomment this (also, see: 
http://www.appveyor.com/docs/how-to/rdp-to-build-worker):
+# on_finish:
+#   - ps: $blockRdp = $true; iex ((new-object 
net.webclient).DownloadString('https://raw.githubusercontent.com/appveyor/ci/master/scripts/enable-rdp.ps1'))
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/pytest-cov-2.10.0/.bumpversion.cfg 
new/pytest-cov-2.10.1/.bumpversion.cfg
--- old/pytest-cov-2.10.0/.bumpversion.cfg      2020-06-12 15:46:01.000000000 
+0200
+++ new/pytest-cov-2.10.1/.bumpversion.cfg      2020-08-14 18:11:40.000000000 
+0200
@@ -1,13 +1,21 @@
 [bumpversion]
-current_version = 2.10.0
+current_version = 2.10.1
 commit = True
 tag = True
 
 [bumpversion:file:setup.py]
+search = version='{current_version}'
+replace = version='{new_version}'
 
 [bumpversion:file:README.rst]
+search = v{current_version}.
+replace = v{new_version}.
 
 [bumpversion:file:docs/conf.py]
+search = version = release = '{current_version}'
+replace = version = release = '{new_version}'
 
 [bumpversion:file:src/pytest_cov/__init__.py]
+search = __version__ = '{current_version}'
+replace = __version__ = '{new_version}'
 
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/pytest-cov-2.10.0/.cookiecutterrc 
new/pytest-cov-2.10.1/.cookiecutterrc
--- old/pytest-cov-2.10.0/.cookiecutterrc       2019-01-06 19:11:51.000000000 
+0100
+++ new/pytest-cov-2.10.1/.cookiecutterrc       2020-08-14 17:43:50.000000000 
+0200
@@ -1,36 +1,56 @@
 # Generated by cookiepatcher, a small shim around cookiecutter (pip install 
cookiepatcher)
 
 cookiecutter:
-    appveyor: 'yes'
-    c_extension_cython: 'no'
-    c_extension_optional: 'no'
-    c_extension_support: 'no'
-    codacy: 'yes'
-    codeclimate: 'yes'
-    codecov: 'no'
-    command_line_interface: 'no'
-    command_line_interface_bin_name: pytest-cov
-    coveralls: 'no'
+    _extensions:
+    -   jinja2_time.TimeExtension
+    _template: /home/ionel/open-source/cookiecutter-pylibrary
+    allow_tests_inside_package: no
+    appveyor: yes
+    c_extension_function: '-'
+    c_extension_module: '-'
+    c_extension_optional: no
+    c_extension_support: no
+    c_extension_test_pypi: no
+    c_extension_test_pypi_username: '-'
+    codacy: no
+    codacy_projectid: '[Get ID from 
https://app.codacy.com/app/ionelmc/pytest-cov/settings]'
+    codeclimate: no
+    codecov: no
+    command_line_interface: no
+    command_line_interface_bin_name: '-'
+    coveralls: no
+    coveralls_token: '[Required for Appveyor, take it from 
https://coveralls.io/github/ionelmc/pytest-cov]'
     distribution_name: pytest-cov
     email: [email protected]
     full_name: Ionel Cristian Mărieș
-    github_username: pytest-dev
-    landscape: 'yes'
+    landscape: no
+    license: MIT license
+    linter: flake8
     package_name: pytest_cov
+    pre_commit: yes
     project_name: pytest-cov
-    project_short_description: This plugin produces coverage reports. It 
supports
-        centralised testing and distributed testing in both load and each 
modes. It
-        also supports coverage of subprocesses.
-    release_date: '2016-10-10'
+    project_short_description: This plugin produces coverage reports. It 
supports centralised testing and distributed testing in both load and each 
modes. It also supports coverage of subprocesses.
+    pypi_badge: yes
+    pypi_disable_upload: no
+    release_date: '2020-06-12'
+    repo_hosting: github.com
+    repo_hosting_domain: github.com
     repo_name: pytest-cov
-    requiresio: 'yes'
-    scrutinizer: 'yes'
-    sphinx_doctest: 'no'
+    repo_username: pytest-dev
+    requiresio: yes
+    scrutinizer: no
+    setup_py_uses_setuptools_scm: no
+    setup_py_uses_test_runner: no
+    sphinx_docs: yes
+    sphinx_docs_hosting: https://pytest-cov.readthedocs.io/
+    sphinx_doctest: no
     sphinx_theme: sphinx-py3doc-enhanced-theme
-    test_matrix_configurator: 'no'
-    test_matrix_separate_coverage: 'no'
+    test_matrix_configurator: no
+    test_matrix_separate_coverage: no
     test_runner: pytest
-    travis: 'yes'
-    version: 2.4.0
+    travis: yes
+    travis_osx: no
+    version: 2.10.0
     website: http://blog.ionelmc.ro
-    year: now
+    year_from: '2010'
+    year_to: '2020'
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/pytest-cov-2.10.0/.coveragerc 
new/pytest-cov-2.10.1/.coveragerc
--- old/pytest-cov-2.10.0/.coveragerc   2019-01-06 19:11:51.000000000 +0100
+++ new/pytest-cov-2.10.1/.coveragerc   1970-01-01 01:00:00.000000000 +0100
@@ -1,12 +0,0 @@
-[paths]
-source = src
-
-[run]
-branch = True
-source = src
-parallel = true
-
-[report]
-show_missing = true
-precision = 2
-omit = *migrations*
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/pytest-cov-2.10.0/.editorconfig 
new/pytest-cov-2.10.1/.editorconfig
--- old/pytest-cov-2.10.0/.editorconfig 2019-01-06 19:11:51.000000000 +0100
+++ new/pytest-cov-2.10.1/.editorconfig 2020-08-14 17:43:50.000000000 +0200
@@ -1,4 +1,4 @@
-# see http://editorconfig.org
+# see https://editorconfig.org/
 root = true
 
 [*]
@@ -11,3 +11,6 @@
 
 [*.{bat,cmd,ps1}]
 end_of_line = crlf
+
+[*.{yml,yaml}]
+indent_size = 2
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' 
old/pytest-cov-2.10.0/.github/ISSUE_TEMPLATE/bug_report.md 
new/pytest-cov-2.10.1/.github/ISSUE_TEMPLATE/bug_report.md
--- old/pytest-cov-2.10.0/.github/ISSUE_TEMPLATE/bug_report.md  2020-01-12 
20:40:03.000000000 +0100
+++ new/pytest-cov-2.10.1/.github/ISSUE_TEMPLATE/bug_report.md  2020-08-14 
17:43:50.000000000 +0200
@@ -29,4 +29,3 @@
 def foobar():
     pass
 ```
-
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/pytest-cov-2.10.0/.gitignore 
new/pytest-cov-2.10.1/.gitignore
--- old/pytest-cov-2.10.0/.gitignore    2019-01-06 19:11:51.000000000 +0100
+++ new/pytest-cov-2.10.1/.gitignore    2020-08-14 17:43:50.000000000 +0200
@@ -1,4 +1,5 @@
 *.py[cod]
+__pycache__
 
 # C extensions
 *.so
@@ -21,6 +22,7 @@
 lib64
 venv*/
 pyvenv*/
+pip-wheel-metadata/
 
 # Installer logs
 pip-log.txt
@@ -29,6 +31,7 @@
 .coverage
 .tox
 .coverage.*
+.pytest_cache/
 nosetests.xml
 coverage.xml
 htmlcov
@@ -59,6 +62,10 @@
 .env
 .cache
 .pytest
+.benchmarks
 .bootstrap
 .appveyor.token
 *.bak
+
+# Mypy Cache
+.mypy_cache/
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/pytest-cov-2.10.0/.pre-commit-config.yaml 
new/pytest-cov-2.10.1/.pre-commit-config.yaml
--- old/pytest-cov-2.10.0/.pre-commit-config.yaml       1970-01-01 
01:00:00.000000000 +0100
+++ new/pytest-cov-2.10.1/.pre-commit-config.yaml       2020-08-14 
17:43:50.000000000 +0200
@@ -0,0 +1,20 @@
+# To install the git pre-commit hook run:
+#   pre-commit install
+# To update the pre-commit hooks run:
+#   pre-commit install-hooks
+exclude: '^(src/.*\.pth|\.tox|ci/templates|\.bumpversion\.cfg)(/|$)'
+repos:
+  - repo: https://github.com/pre-commit/pre-commit-hooks
+    rev: master
+    hooks:
+      - id: trailing-whitespace
+      - id: end-of-file-fixer
+      - id: debug-statements
+  - repo: https://github.com/timothycrosley/isort
+    rev: master
+    hooks:
+      - id: isort
+  - repo: https://gitlab.com/pycqa/flake8
+    rev: master
+    hooks:
+      - id: flake8
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/pytest-cov-2.10.0/.readthedocs.yml 
new/pytest-cov-2.10.1/.readthedocs.yml
--- old/pytest-cov-2.10.0/.readthedocs.yml      2020-05-21 11:57:47.000000000 
+0200
+++ new/pytest-cov-2.10.1/.readthedocs.yml      2020-08-14 17:43:50.000000000 
+0200
@@ -7,3 +7,5 @@
   version: 3
   install:
     - requirements: docs/requirements.txt
+    - method: pip
+      path: .
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/pytest-cov-2.10.0/.travis.yml 
new/pytest-cov-2.10.1/.travis.yml
--- old/pytest-cov-2.10.0/.travis.yml   2020-05-22 16:19:11.000000000 +0200
+++ new/pytest-cov-2.10.1/.travis.yml   2020-08-14 17:48:42.000000000 +0200
@@ -22,59 +22,67 @@
     - stage: tests
       env: TOXENV=py27-pytest46-xdist27-coverage45
       python: '2.7'
-    - env: TOXENV=py27-pytest46-xdist27-coverage51
+    - env: TOXENV=py27-pytest46-xdist27-coverage52
       python: '2.7'
     - env: TOXENV=py35-pytest46-xdist27-coverage45
       python: '3.5'
-    - env: TOXENV=py35-pytest46-xdist27-coverage51
+    - env: TOXENV=py35-pytest46-xdist27-coverage52
       python: '3.5'
     - env: TOXENV=py36-pytest46-xdist27-coverage45
       python: '3.6'
-    - env: TOXENV=py36-pytest46-xdist27-coverage51
+    - env: TOXENV=py36-pytest46-xdist27-coverage52
       python: '3.6'
     - env: TOXENV=py37-pytest46-xdist27-coverage45
       python: '3.7'
-    - env: TOXENV=py37-pytest46-xdist27-coverage51
+    - env: TOXENV=py37-pytest46-xdist27-coverage52
       python: '3.7'
     - env: TOXENV=pypy-pytest46-xdist27-coverage45
       python: 'pypy'
-    - env: TOXENV=pypy-pytest46-xdist27-coverage51
+    - env: TOXENV=pypy-pytest46-xdist27-coverage52
       python: 'pypy'
     - env: TOXENV=pypy3-pytest46-xdist27-coverage45
       python: 'pypy3'
-    - env: TOXENV=pypy3-pytest46-xdist27-coverage51
+    - env: TOXENV=pypy3-pytest46-xdist27-coverage52
       python: 'pypy3'
-    - env: TOXENV=py36-pytest46-xdist32-coverage45
+    - env: TOXENV=py36-pytest46-xdist33-coverage45
       python: '3.6'
-    - env: TOXENV=py36-pytest46-xdist32-coverage51
+    - env: TOXENV=py36-pytest46-xdist33-coverage52
       python: '3.6'
-    - env: TOXENV=py36-pytest54-xdist32-coverage45
+    - env: TOXENV=py36-pytest54-xdist33-coverage45
       python: '3.6'
-    - env: TOXENV=py36-pytest54-xdist32-coverage51
+    - env: TOXENV=py36-pytest54-xdist33-coverage52
       python: '3.6'
-    - env: TOXENV=py37-pytest46-xdist32-coverage45
+    - env: TOXENV=py37-pytest46-xdist33-coverage45
       python: '3.7'
-    - env: TOXENV=py37-pytest46-xdist32-coverage51
+    - env: TOXENV=py37-pytest46-xdist33-coverage52
       python: '3.7'
-    - env: TOXENV=py37-pytest54-xdist32-coverage45
+    - env: TOXENV=py37-pytest54-xdist33-coverage45
       python: '3.7'
-    - env: TOXENV=py37-pytest54-xdist32-coverage51
+    - env: TOXENV=py37-pytest54-xdist33-coverage52
       python: '3.7'
-    - env: TOXENV=py38-pytest46-xdist32-coverage45
+    - env: TOXENV=py38-pytest46-xdist33-coverage45
       python: '3.8'
-    - env: TOXENV=py38-pytest46-xdist32-coverage51
+    - env: TOXENV=py38-pytest46-xdist33-coverage52
       python: '3.8'
-    - env: TOXENV=py38-pytest54-xdist32-coverage45
+    - env: TOXENV=py38-pytest54-xdist33-coverage45
       python: '3.8'
-    - env: TOXENV=py38-pytest54-xdist32-coverage51
+    - env: TOXENV=py38-pytest54-xdist33-coverage52
       python: '3.8'
-    - env: TOXENV=pypy3-pytest46-xdist32-coverage45
+    - env: TOXENV=pypy3-pytest46-xdist33-coverage45
       python: 'pypy3'
-    - env: TOXENV=pypy3-pytest46-xdist32-coverage51
+    - env: TOXENV=pypy3-pytest46-xdist33-coverage52
       python: 'pypy3'
-    - env: TOXENV=pypy3-pytest54-xdist32-coverage45
+    - env: TOXENV=pypy3-pytest54-xdist33-coverage45
       python: 'pypy3'
-    - env: TOXENV=pypy3-pytest54-xdist32-coverage51
+    - env: TOXENV=pypy3-pytest54-xdist33-coverage52
+      python: 'pypy3'
+    - env: TOXENV=py36-pytest60-xdist200-coverage52
+      python: '3.6'
+    - env: TOXENV=py37-pytest60-xdist200-coverage52
+      python: '3.7'
+    - env: TOXENV=py38-pytest60-xdist200-coverage52
+      python: '3.8'
+    - env: TOXENV=pypy3-pytest60-xdist200-coverage52
       python: 'pypy3'
 
     - stage: examples
@@ -91,7 +99,7 @@
   - uname -a
   - lsb_release -a
 install:
-  - pip install tox
+  - python -mpip install --progress-bar=off tox -rci/requirements.txt
   - virtualenv --version
   - easy_install --version
   - pip --version
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/pytest-cov-2.10.0/AUTHORS.rst 
new/pytest-cov-2.10.1/AUTHORS.rst
--- old/pytest-cov-2.10.0/AUTHORS.rst   2020-01-12 20:40:03.000000000 +0100
+++ new/pytest-cov-2.10.1/AUTHORS.rst   2020-07-24 15:02:14.000000000 +0200
@@ -38,3 +38,4 @@
 * Hugo van Kemenade - https://github.com/hugovk
 * Michael Manganiello - https://github.com/adamantike
 * Anders Hovmöller - https://github.com/boxed
+* Zac Hatfield-Dodds - https://zhd.dev
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/pytest-cov-2.10.0/CHANGELOG.rst 
new/pytest-cov-2.10.1/CHANGELOG.rst
--- old/pytest-cov-2.10.0/CHANGELOG.rst 2020-06-12 15:45:20.000000000 +0200
+++ new/pytest-cov-2.10.1/CHANGELOG.rst 2020-08-14 18:10:59.000000000 +0200
@@ -1,6 +1,14 @@
 Changelog
 =========
 
+2.10.1 (2020-08-14)
+-------------------
+
+* Support for ``pytest-xdist`` 2.0, which breaks compatibility with 
``pytest-xdist`` before 1.22.3 (from 2017).
+  Contributed by Zac Hatfield-Dodds in `#412 
<https://github.com/pytest-dev/pytest-cov/pull/412>`_.
+* Fixed the ``LocalPath has no attribute startswith`` failure that occurred 
when using the ``pytester`` plugin
+  in inline mode.
+
 2.10.0 (2020-06-12)
 -------------------
 
@@ -124,7 +132,7 @@
 2.6.0 (2018-09-03)
 ------------------
 
-* Dropped support for Python < 3.4, Pytest < 3.5 and Coverage < 4.4.
+* Dropped support for Python 3 < 3.4, Pytest < 3.5 and Coverage < 4.4.
 * Fixed some documentation formatting. Contributed by Jean Jordaan and Julian.
 * Added an example with ``addopts`` in documentation. Contributed by Samuel 
Giffard in
   `#195 <https://github.com/pytest-dev/pytest-cov/pull/195>`_.
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/pytest-cov-2.10.0/CONTRIBUTING.rst 
new/pytest-cov-2.10.1/CONTRIBUTING.rst
--- old/pytest-cov-2.10.0/CONTRIBUTING.rst      2020-01-12 16:13:10.000000000 
+0100
+++ new/pytest-cov-2.10.1/CONTRIBUTING.rst      2020-08-14 17:43:50.000000000 
+0200
@@ -41,7 +41,7 @@
    (look for the "Fork" button).
 2. Clone your fork locally::
 
-    git clone [email protected]:your_name_here/pytest-cov.git
+    git clone [email protected]:YOURGITHUBNAME/pytest-cov.git
 
 3. Create a branch for local development::
 
@@ -49,7 +49,7 @@
 
    Now you can make your changes locally.
 
-4. When you're done making changes, run all the checks, doc builder and spell 
checker with `tox <http://tox.readthedocs.io/en/latest/install.html>`_ one 
command::
+4. When you're done making changes run all the checks and docs builder with 
`tox <https://tox.readthedocs.io/en/latest/install.html>`_ one command::
 
     tox
 
@@ -85,6 +85,6 @@
 
     tox -e envname -- pytest -k test_myfeature
 
-To run all the test environments in *parallel* (you need to ``pip install 
detox``)::
+To run the test environments in *parallel*::
 
-    detox
+    tox -p auto
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/pytest-cov-2.10.0/MANIFEST.in 
new/pytest-cov-2.10.1/MANIFEST.in
--- old/pytest-cov-2.10.0/MANIFEST.in   2020-05-22 19:11:28.000000000 +0200
+++ new/pytest-cov-2.10.1/MANIFEST.in   2020-08-14 17:43:50.000000000 +0200
@@ -14,9 +14,6 @@
 include .coveragerc
 include .cookiecutterrc
 include .editorconfig
-include .isort.cfg
-include .pylintrc
-include .readthedocs.yml
 
 include AUTHORS.rst
 include CHANGELOG.rst
@@ -24,6 +21,6 @@
 include LICENSE
 include README.rst
 
-include tox.ini .travis.yml appveyor.yml
+include tox.ini .travis.yml .appveyor.yml .readthedocs.yml 
.pre-commit-config.yaml
 
-global-exclude *.py[cod] __pycache__ *.so .coverage
+global-exclude *.py[cod] __pycache__/* *.so *.dylib .coverage .coverage.*
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/pytest-cov-2.10.0/PKG-INFO 
new/pytest-cov-2.10.1/PKG-INFO
--- old/pytest-cov-2.10.0/PKG-INFO      2020-06-12 15:46:10.620056400 +0200
+++ new/pytest-cov-2.10.1/PKG-INFO      2020-08-14 18:11:52.281863000 +0200
@@ -1,6 +1,6 @@
 Metadata-Version: 2.1
 Name: pytest-cov
-Version: 2.10.0
+Version: 2.10.1
 Summary: Pytest plugin for measuring coverage.
 Home-page: https://github.com/pytest-dev/pytest-cov
 Author: Marc Schlaich
@@ -27,7 +27,7 @@
             :target: https://readthedocs.org/projects/pytest-cov
             :alt: Documentation Status
         
-        .. |travis| image:: 
https://travis-ci.org/pytest-dev/pytest-cov.svg?branch=master
+        .. |travis| image:: 
https://api.travis-ci.org/pytest-dev/pytest-cov.svg?branch=master
             :alt: Travis-CI Build Status
             :target: https://travis-ci.org/pytest-dev/pytest-cov
         
@@ -41,26 +41,26 @@
         
         .. |version| image:: https://img.shields.io/pypi/v/pytest-cov.svg
             :alt: PyPI Package latest release
-            :target: https://pypi.python.org/pypi/pytest-cov
+            :target: https://pypi.org/project/pytest-cov
         
         .. |conda-forge| image:: 
https://img.shields.io/conda/vn/conda-forge/pytest-cov.svg
             :target: https://anaconda.org/conda-forge/pytest-cov
         
-        .. |commits-since| image:: 
https://img.shields.io/github/commits-since/pytest-dev/pytest-cov/v2.10.0.svg
+        .. |commits-since| image:: 
https://img.shields.io/github/commits-since/pytest-dev/pytest-cov/v2.10.1.svg
             :alt: Commits since latest release
-            :target: 
https://github.com/pytest-dev/pytest-cov/compare/v2.10.0...master
+            :target: 
https://github.com/pytest-dev/pytest-cov/compare/v2.10.1...master
         
         .. |wheel| image:: https://img.shields.io/pypi/wheel/pytest-cov.svg
             :alt: PyPI Wheel
-            :target: https://pypi.python.org/pypi/pytest-cov
+            :target: https://pypi.org/project/pytest-cov
         
         .. |supported-versions| image:: 
https://img.shields.io/pypi/pyversions/pytest-cov.svg
             :alt: Supported versions
-            :target: https://pypi.python.org/pypi/pytest-cov
+            :target: https://pypi.org/project/pytest-cov
         
         .. |supported-implementations| image:: 
https://img.shields.io/pypi/implementation/pytest-cov.svg
             :alt: Supported implementations
-            :target: https://pypi.python.org/pypi/pytest-cov
+            :target: https://pypi.org/project/pytest-cov
         
         .. end-badges
         
@@ -177,6 +177,14 @@
         Changelog
         =========
         
+        2.10.1 (2020-08-14)
+        -------------------
+        
+        * Support for ``pytest-xdist`` 2.0, which breaks compatibility with 
``pytest-xdist`` before 1.22.3 (from 2017).
+          Contributed by Zac Hatfield-Dodds in `#412 
<https://github.com/pytest-dev/pytest-cov/pull/412>`_.
+        * Fixed the ``LocalPath has no attribute startswith`` failure that 
occurred when using the ``pytester`` plugin
+          in inline mode.
+        
         2.10.0 (2020-06-12)
         -------------------
         
@@ -300,7 +308,7 @@
         2.6.0 (2018-09-03)
         ------------------
         
-        * Dropped support for Python < 3.4, Pytest < 3.5 and Coverage < 4.4.
+        * Dropped support for Python 3 < 3.4, Pytest < 3.5 and Coverage < 4.4.
         * Fixed some documentation formatting. Contributed by Jean Jordaan and 
Julian.
         * Added an example with ``addopts`` in documentation. Contributed by 
Samuel Giffard in
           `#195 <https://github.com/pytest-dev/pytest-cov/pull/195>`_.
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/pytest-cov-2.10.0/README.rst 
new/pytest-cov-2.10.1/README.rst
--- old/pytest-cov-2.10.0/README.rst    2020-06-12 15:46:01.000000000 +0200
+++ new/pytest-cov-2.10.1/README.rst    2020-08-14 18:11:40.000000000 +0200
@@ -19,7 +19,7 @@
     :target: https://readthedocs.org/projects/pytest-cov
     :alt: Documentation Status
 
-.. |travis| image:: 
https://travis-ci.org/pytest-dev/pytest-cov.svg?branch=master
+.. |travis| image:: 
https://api.travis-ci.org/pytest-dev/pytest-cov.svg?branch=master
     :alt: Travis-CI Build Status
     :target: https://travis-ci.org/pytest-dev/pytest-cov
 
@@ -33,26 +33,26 @@
 
 .. |version| image:: https://img.shields.io/pypi/v/pytest-cov.svg
     :alt: PyPI Package latest release
-    :target: https://pypi.python.org/pypi/pytest-cov
+    :target: https://pypi.org/project/pytest-cov
 
 .. |conda-forge| image:: 
https://img.shields.io/conda/vn/conda-forge/pytest-cov.svg
     :target: https://anaconda.org/conda-forge/pytest-cov
 
-.. |commits-since| image:: 
https://img.shields.io/github/commits-since/pytest-dev/pytest-cov/v2.10.0.svg
+.. |commits-since| image:: 
https://img.shields.io/github/commits-since/pytest-dev/pytest-cov/v2.10.1.svg
     :alt: Commits since latest release
-    :target: https://github.com/pytest-dev/pytest-cov/compare/v2.10.0...master
+    :target: https://github.com/pytest-dev/pytest-cov/compare/v2.10.1...master
 
 .. |wheel| image:: https://img.shields.io/pypi/wheel/pytest-cov.svg
     :alt: PyPI Wheel
-    :target: https://pypi.python.org/pypi/pytest-cov
+    :target: https://pypi.org/project/pytest-cov
 
 .. |supported-versions| image:: 
https://img.shields.io/pypi/pyversions/pytest-cov.svg
     :alt: Supported versions
-    :target: https://pypi.python.org/pypi/pytest-cov
+    :target: https://pypi.org/project/pytest-cov
 
 .. |supported-implementations| image:: 
https://img.shields.io/pypi/implementation/pytest-cov.svg
     :alt: Supported implementations
-    :target: https://pypi.python.org/pypi/pytest-cov
+    :target: https://pypi.org/project/pytest-cov
 
 .. end-badges
 
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/pytest-cov-2.10.0/appveyor.yml 
new/pytest-cov-2.10.1/appveyor.yml
--- old/pytest-cov-2.10.0/appveyor.yml  2020-05-22 16:19:11.000000000 +0200
+++ new/pytest-cov-2.10.1/appveyor.yml  1970-01-01 01:00:00.000000000 +0100
@@ -1,34 +0,0 @@
-# NOTE: this file is auto-generated via ci/bootstrap.py 
(ci/templates/appveyor.yml).
-version: '{branch}-{build}'
-build: off
-environment:
-  matrix:
-    - TOXENV: check
-    - TOXENV: 
'py27-pytest46-xdist27-coverage45,py27-pytest46-xdist27-coverage51'
-    - TOXENV: 
'py35-pytest46-xdist27-coverage45,py35-pytest46-xdist27-coverage51'
-    - TOXENV: 
'py36-pytest46-xdist27-coverage45,py36-pytest46-xdist27-coverage51,py36-pytest46-xdist32-coverage45,py36-pytest46-xdist32-coverage51,py36-pytest54-xdist32-coverage45,py36-pytest54-xdist32-coverage51'
-    - TOXENV: 
'py37-pytest46-xdist27-coverage45,py37-pytest46-xdist27-coverage51,py37-pytest46-xdist32-coverage45,py37-pytest46-xdist32-coverage51,py37-pytest54-xdist32-coverage45,py37-pytest54-xdist32-coverage51'
-    - TOXENV: 
'pypy-pytest46-xdist27-coverage45,pypy-pytest46-xdist27-coverage51'
-
-init:
-  - ps: echo $env:TOXENV
-  - ps: ls C:\Python*
-install:
-  - IF "%TOXENV:~0,5%" == "pypy-" choco install --no-progress python.pypy
-  - IF "%TOXENV:~0,6%" == "pypy3-" choco install --no-progress pypy3
-  - SET PATH=C:\tools\pypy\pypy;%PATH%
-  - C:\Python37\python -m pip install -U "virtualenv>=16.5.0"
-  - C:\Python37\python -m pip install tox
-
-test_script:
-  - C:\Python37\python -m tox
-
-on_failure:
-  - ps: dir "env:"
-  - ps: get-content .tox\*\log\*
-artifacts:
-  - path: dist\*
-
-### To enable remote debugging uncomment this (also, see: 
http://www.appveyor.com/docs/how-to/rdp-to-build-worker):
-# on_finish:
-#   - ps: $blockRdp = $true; iex ((new-object 
net.webclient).DownloadString('https://raw.githubusercontent.com/appveyor/ci/master/scripts/enable-rdp.ps1'))
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/pytest-cov-2.10.0/ci/appveyor-with-compiler.cmd 
new/pytest-cov-2.10.1/ci/appveyor-with-compiler.cmd
--- old/pytest-cov-2.10.0/ci/appveyor-with-compiler.cmd 1970-01-01 
01:00:00.000000000 +0100
+++ new/pytest-cov-2.10.1/ci/appveyor-with-compiler.cmd 2020-08-14 
17:43:50.000000000 +0200
@@ -0,0 +1,23 @@
+:: Very simple setup:
+:: - if WINDOWS_SDK_VERSION is set then activate the SDK.
+:: - disable the WDK if it's around.
+
+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 EXIST %WIN_WDK% (
+    REM See: 
https://connect.microsoft.com/VisualStudio/feedback/details/1610302/
+    REN %WIN_WDK% 0wdf
+)
+IF "%WINDOWS_SDK_VERSION%"=="" 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.10.0/ci/bootstrap.py 
new/pytest-cov-2.10.1/ci/bootstrap.py
--- old/pytest-cov-2.10.0/ci/bootstrap.py       2020-01-12 19:10:07.000000000 
+0100
+++ new/pytest-cov-2.10.1/ci/bootstrap.py       2020-08-14 17:43:50.000000000 
+0200
@@ -20,6 +20,7 @@
     print("+", *args)
     subprocess.check_call(args)
 
+
 def exec_in_env():
     env_path = join(base_path, ".tox", "bootstrap")
     if sys.platform == "win32":
@@ -47,6 +48,7 @@
     print("+ exec", python_executable, __file__, "--no-env")
     os.execv(python_executable, [python_executable, __file__, "--no-env"])
 
+
 def main():
     import jinja2
 
@@ -79,6 +81,7 @@
         print("Wrote {}".format(name))
     print("DONE.")
 
+
 if __name__ == "__main__":
     args = sys.argv[1:]
     if args == ["--no-env"]:
@@ -88,4 +91,3 @@
     else:
         print("Unexpected arguments {0}".format(args), file=sys.stderr)
         sys.exit(1)
-
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/pytest-cov-2.10.0/ci/requirements.txt 
new/pytest-cov-2.10.1/ci/requirements.txt
--- old/pytest-cov-2.10.0/ci/requirements.txt   1970-01-01 01:00:00.000000000 
+0100
+++ new/pytest-cov-2.10.1/ci/requirements.txt   2020-08-14 17:43:50.000000000 
+0200
@@ -0,0 +1,4 @@
+virtualenv>=16.6.0
+pip>=19.1.1
+setuptools>=18.0.1
+six>=1.14.0
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/pytest-cov-2.10.0/ci/templates/.appveyor.yml 
new/pytest-cov-2.10.1/ci/templates/.appveyor.yml
--- old/pytest-cov-2.10.0/ci/templates/.appveyor.yml    1970-01-01 
01:00:00.000000000 +0100
+++ new/pytest-cov-2.10.1/ci/templates/.appveyor.yml    2020-08-14 
17:43:50.000000000 +0200
@@ -0,0 +1,32 @@
+version: '{branch}-{build}'
+build: off
+environment:
+  matrix:
+    - TOXENV: check
+    - TOXENV: '{{ py27_environments|join(",") }}'
+    - TOXENV: '{{ py35_environments|join(",") }}'
+    - TOXENV: '{{ py36_environments|join(",") }}'
+    - TOXENV: '{{ py37_environments|join(",") }}'
+    - TOXENV: '{{ pypy_environments|join(",") }}'
+
+init:
+  - ps: echo $env:TOXENV
+  - ps: ls C:\Python*
+install:
+  - IF "%TOXENV:~0,5%" == "pypy-" choco install --no-progress python.pypy
+  - IF "%TOXENV:~0,6%" == "pypy3-" choco install --no-progress pypy3
+  - SET PATH=C:\tools\pypy\pypy;%PATH%
+  - C:\Python37\python -m pip install --progress-bar=off tox 
-rci/requirements.txt
+
+test_script:
+  - cmd /E:ON /V:ON /C .\ci\appveyor-with-compiler.cmd C:\Python37\python -m 
tox
+
+on_failure:
+  - ps: dir "env:"
+  - ps: get-content .tox\*\log\*
+artifacts:
+  - path: dist\*
+
+### To enable remote debugging uncomment this (also, see: 
http://www.appveyor.com/docs/how-to/rdp-to-build-worker):
+# on_finish:
+#   - ps: $blockRdp = $true; iex ((new-object 
net.webclient).DownloadString('https://raw.githubusercontent.com/appveyor/ci/master/scripts/enable-rdp.ps1'))
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/pytest-cov-2.10.0/ci/templates/.travis.yml 
new/pytest-cov-2.10.1/ci/templates/.travis.yml
--- old/pytest-cov-2.10.0/ci/templates/.travis.yml      2020-05-10 
20:22:06.000000000 +0200
+++ new/pytest-cov-2.10.1/ci/templates/.travis.yml      2020-08-14 
17:43:50.000000000 +0200
@@ -45,7 +45,7 @@
   - uname -a
   - lsb_release -a
 install:
-  - pip install tox
+  - python -mpip install --progress-bar=off tox -rci/requirements.txt
   - virtualenv --version
   - easy_install --version
   - pip --version
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/pytest-cov-2.10.0/ci/templates/appveyor.yml 
new/pytest-cov-2.10.1/ci/templates/appveyor.yml
--- old/pytest-cov-2.10.0/ci/templates/appveyor.yml     2020-05-22 
16:18:21.000000000 +0200
+++ new/pytest-cov-2.10.1/ci/templates/appveyor.yml     1970-01-01 
01:00:00.000000000 +0100
@@ -1,33 +0,0 @@
-version: '{branch}-{build}'
-build: off
-environment:
-  matrix:
-    - TOXENV: check
-    - TOXENV: '{{ py27_environments|join(",") }}'
-    - TOXENV: '{{ py35_environments|join(",") }}'
-    - TOXENV: '{{ py36_environments|join(",") }}'
-    - TOXENV: '{{ py37_environments|join(",") }}'
-    - TOXENV: '{{ pypy_environments|join(",") }}'
-
-init:
-  - ps: echo $env:TOXENV
-  - ps: ls C:\Python*
-install:
-  - IF "%TOXENV:~0,5%" == "pypy-" choco install --no-progress python.pypy
-  - IF "%TOXENV:~0,6%" == "pypy3-" choco install --no-progress pypy3
-  - SET PATH=C:\tools\pypy\pypy;%PATH%
-  - C:\Python37\python -m pip install -U "virtualenv>=16.5.0"
-  - C:\Python37\python -m pip install tox
-
-test_script:
-  - C:\Python37\python -m tox
-
-on_failure:
-  - ps: dir "env:"
-  - ps: get-content .tox\*\log\*
-artifacts:
-  - path: dist\*
-
-### To enable remote debugging uncomment this (also, see: 
http://www.appveyor.com/docs/how-to/rdp-to-build-worker):
-# on_finish:
-#   - ps: $blockRdp = $true; iex ((new-object 
net.webclient).DownloadString('https://raw.githubusercontent.com/appveyor/ci/master/scripts/enable-rdp.ps1'))
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/pytest-cov-2.10.0/docs/conf.py 
new/pytest-cov-2.10.1/docs/conf.py
--- old/pytest-cov-2.10.0/docs/conf.py  2020-06-12 15:46:01.000000000 +0200
+++ new/pytest-cov-2.10.1/docs/conf.py  2020-08-14 18:11:40.000000000 +0200
@@ -3,6 +3,7 @@
 
 import os
 
+import sphinx_py3doc_enhanced_theme
 
 extensions = [
     'sphinx.ext.autodoc',
@@ -25,7 +26,7 @@
 year = '2016'
 author = 'pytest-cov contributors'
 copyright = '{}, {}'.format(year, author)
-version = release = '2.10.0'
+version = release = '2.10.1'
 
 pygments_style = 'trac'
 templates_path = ['.']
@@ -33,7 +34,7 @@
     'issue': ('https://github.com/pytest-dev/pytest-cov/issues/%s', '#'),
     'pr': ('https://github.com/pytest-dev/pytest-cov/pull/%s', 'PR #'),
 }
-import sphinx_py3doc_enhanced_theme
+
 html_theme = "sphinx_py3doc_enhanced_theme"
 html_theme_path = [sphinx_py3doc_enhanced_theme.get_html_theme_path()]
 html_theme_options = {
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/pytest-cov-2.10.0/docs/index.rst 
new/pytest-cov-2.10.1/docs/index.rst
--- old/pytest-cov-2.10.0/docs/index.rst        2020-01-12 19:10:07.000000000 
+0100
+++ new/pytest-cov-2.10.1/docs/index.rst        2020-08-14 17:43:50.000000000 
+0200
@@ -27,4 +27,3 @@
 * :ref:`genindex`
 * :ref:`modindex`
 * :ref:`search`
-
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/pytest-cov-2.10.0/examples/adhoc-layout/setup.py 
new/pytest-cov-2.10.1/examples/adhoc-layout/setup.py
--- old/pytest-cov-2.10.0/examples/adhoc-layout/setup.py        2019-03-25 
14:17:13.000000000 +0100
+++ new/pytest-cov-2.10.1/examples/adhoc-layout/setup.py        2020-08-14 
17:43:50.000000000 +0200
@@ -1,5 +1,5 @@
-from setuptools import setup, find_packages
-
+from setuptools import find_packages
+from setuptools import setup
 
 setup(
     name='example',
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/pytest-cov-2.10.0/examples/src-layout/setup.py 
new/pytest-cov-2.10.1/examples/src-layout/setup.py
--- old/pytest-cov-2.10.0/examples/src-layout/setup.py  2019-09-02 
17:15:30.000000000 +0200
+++ new/pytest-cov-2.10.1/examples/src-layout/setup.py  2020-08-14 
17:43:50.000000000 +0200
@@ -1,5 +1,5 @@
-from setuptools import setup, find_packages
-
+from setuptools import find_packages
+from setuptools import setup
 
 setup(
     name='example',
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/pytest-cov-2.10.0/setup.cfg 
new/pytest-cov-2.10.1/setup.cfg
--- old/pytest-cov-2.10.0/setup.cfg     2020-06-12 15:46:10.620056400 +0200
+++ new/pytest-cov-2.10.1/setup.cfg     2020-08-14 18:11:52.281863000 +0200
@@ -3,6 +3,7 @@
 
 [flake8]
 max-line-length = 140
+exclude = .tox,.eggs,ci/templates,build,dist
 
 [tool:pytest]
 testpaths = tests
@@ -12,12 +13,13 @@
        --strict
        -p pytester
 
-[isort]
+[tool:isort]
 force_single_line = True
 line_length = 120
 known_first_party = pytest_cov
 default_section = THIRDPARTY
 forced_separate = test_pytest_cov
+skip = .tox,.eggs,ci/templates,build,dist
 
 [egg_info]
 tag_build = 
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/pytest-cov-2.10.0/setup.py 
new/pytest-cov-2.10.1/setup.py
--- old/pytest-cov-2.10.0/setup.py      2020-06-12 15:46:01.000000000 +0200
+++ new/pytest-cov-2.10.1/setup.py      2020-08-14 18:11:40.000000000 +0200
@@ -22,10 +22,11 @@
 
 
 def read(*names, **kwargs):
-    return io.open(
+    with io.open(
         join(dirname(__file__), *names),
         encoding=kwargs.get('encoding', 'utf8')
-    ).read()
+    ) as fh:
+        return fh.read()
 
 
 class BuildWithPTH(build):
@@ -84,7 +85,7 @@
 
 setup(
     name='pytest-cov',
-    version='2.10.0',
+    version='2.10.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.10.0/src/pytest_cov/__init__.py 
new/pytest-cov-2.10.1/src/pytest_cov/__init__.py
--- old/pytest-cov-2.10.0/src/pytest_cov/__init__.py    2020-06-12 
15:46:01.000000000 +0200
+++ new/pytest-cov-2.10.1/src/pytest_cov/__init__.py    2020-08-14 
18:11:40.000000000 +0200
@@ -1,2 +1,2 @@
 """pytest-cov: avoid already-imported warning: PYTEST_DONT_REWRITE."""
-__version__ = "2.10.0"
+__version__ = "__version__ = '2.10.1'"
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/pytest-cov-2.10.0/src/pytest_cov/compat.py 
new/pytest-cov-2.10.1/src/pytest_cov/compat.py
--- old/pytest-cov-2.10.0/src/pytest_cov/compat.py      2020-01-12 
20:39:58.000000000 +0100
+++ new/pytest-cov-2.10.1/src/pytest_cov/compat.py      2020-07-12 
14:51:53.000000000 +0200
@@ -29,22 +29,3 @@
     @testsfailed.setter
     def testsfailed(self, value):
         setattr(self._session, self._attr, value)
-
-
-def _attrgetter(attr):
-    """
-    Return a callable object that fetches attr from its operand.
-
-    Unlike operator.attrgetter, the returned callable supports an extra two
-    arg form for a default.
-    """
-    def fn(obj, *args):
-        return getattr(obj, attr, *args)
-
-    return fn
-
-
-worker = 'slave'  # for compatability with pytest-xdist<=1.22.0
-workerid = worker + 'id'
-workerinput = _attrgetter(worker + 'input')
-workeroutput = _attrgetter(worker + 'output')
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/pytest-cov-2.10.0/src/pytest_cov/engine.py 
new/pytest-cov-2.10.1/src/pytest_cov/engine.py
--- old/pytest-cov-2.10.0/src/pytest_cov/engine.py      2020-05-22 
19:11:28.000000000 +0200
+++ new/pytest-cov-2.10.1/src/pytest_cov/engine.py      2020-07-12 
14:51:53.000000000 +0200
@@ -11,8 +11,6 @@
 from coverage.data import CoverageData
 
 from .compat import StringIO
-from .compat import workerinput
-from .compat import workeroutput
 from .embed import cleanup
 
 
@@ -271,7 +269,7 @@
     def configure_node(self, node):
         """Workers need to know if they are collocated and what files have 
moved."""
 
-        workerinput(node).update({
+        node.workerinput.update({
             'cov_master_host': socket.gethostname(),
             'cov_master_topdir': self.topdir,
             'cov_master_rsync_roots': [str(root) for root in 
node.nodemanager.roots],
@@ -282,7 +280,7 @@
 
         # If worker doesn't return any data then it is likely that this
         # plugin didn't get activated on the worker side.
-        output = workeroutput(node, {})
+        output = getattr(node, 'workeroutput', {})
         if 'cov_worker_node_id' not in output:
             self.failed_workers.append(node)
             return
@@ -341,12 +339,12 @@
         cleanup()
 
         # Determine whether we are collocated with master.
-        self.is_collocated = (socket.gethostname() == 
workerinput(self.config)['cov_master_host'] and
-                              self.topdir == 
workerinput(self.config)['cov_master_topdir'])
+        self.is_collocated = (socket.gethostname() == 
self.config.workerinput['cov_master_host'] and
+                              self.topdir == 
self.config.workerinput['cov_master_topdir'])
 
         # If we are not collocated then rewrite master paths to worker paths.
         if not self.is_collocated:
-            master_topdir = workerinput(self.config)['cov_master_topdir']
+            master_topdir = self.config.workerinput['cov_master_topdir']
             worker_topdir = self.topdir
             if self.cov_source is not None:
                 self.cov_source = [source.replace(master_topdir, worker_topdir)
@@ -375,7 +373,7 @@
 
             # If we are collocated then just inform the master of our
             # data file to indicate that we have finished.
-            workeroutput(self.config)['cov_worker_node_id'] = self.nodeid
+            self.config.workeroutput['cov_worker_node_id'] = self.nodeid
         else:
             self.cov.combine()
             self.cov.save()
@@ -391,7 +389,7 @@
             else:
                 data = self.cov.get_data().dumps()
 
-            workeroutput(self.config).update({
+            self.config.workeroutput.update({
                 'cov_worker_path': self.topdir,
                 'cov_worker_node_id': self.nodeid,
                 'cov_worker_data': data,
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/pytest-cov-2.10.0/src/pytest_cov/plugin.py 
new/pytest-cov-2.10.1/src/pytest_cov/plugin.py
--- old/pytest-cov-2.10.0/src/pytest_cov/plugin.py      2020-06-12 
15:42:05.000000000 +0200
+++ new/pytest-cov-2.10.1/src/pytest_cov/plugin.py      2020-07-12 
14:51:53.000000000 +0200
@@ -115,6 +115,7 @@
     options = early_config.known_args_namespace
     no_cov = options.no_cov_should_warn = False
     for arg in args:
+        arg = str(arg)
         if arg == '--no-cov':
             no_cov = True
         elif arg.startswith('--cov') and no_cov:
@@ -203,7 +204,7 @@
             self.options.cov_fail_under = cov_config.fail_under
 
     def _is_worker(self, session):
-        return compat.workerinput(session.config, None) is not None
+        return getattr(session.config, 'workerinput', None) is not None
 
     def pytest_sessionstart(self, session):
         """At session start determine our implementation and delegate to it."""
@@ -220,8 +221,7 @@
         self.pid = os.getpid()
         if self._is_worker(session):
             nodeid = (
-                compat.workerinput(session.config)
-                .get(compat.workerid, getattr(session, 'nodeid'))
+                session.config.workerinput.get('workerid', getattr(session, 
'nodeid'))
             )
             self.start(engine.DistWorker, session.config, nodeid)
         elif not self._started:
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/pytest-cov-2.10.0/src/pytest_cov.egg-info/PKG-INFO 
new/pytest-cov-2.10.1/src/pytest_cov.egg-info/PKG-INFO
--- old/pytest-cov-2.10.0/src/pytest_cov.egg-info/PKG-INFO      2020-06-12 
15:46:10.000000000 +0200
+++ new/pytest-cov-2.10.1/src/pytest_cov.egg-info/PKG-INFO      2020-08-14 
18:11:52.000000000 +0200
@@ -1,6 +1,6 @@
 Metadata-Version: 2.1
 Name: pytest-cov
-Version: 2.10.0
+Version: 2.10.1
 Summary: Pytest plugin for measuring coverage.
 Home-page: https://github.com/pytest-dev/pytest-cov
 Author: Marc Schlaich
@@ -27,7 +27,7 @@
             :target: https://readthedocs.org/projects/pytest-cov
             :alt: Documentation Status
         
-        .. |travis| image:: 
https://travis-ci.org/pytest-dev/pytest-cov.svg?branch=master
+        .. |travis| image:: 
https://api.travis-ci.org/pytest-dev/pytest-cov.svg?branch=master
             :alt: Travis-CI Build Status
             :target: https://travis-ci.org/pytest-dev/pytest-cov
         
@@ -41,26 +41,26 @@
         
         .. |version| image:: https://img.shields.io/pypi/v/pytest-cov.svg
             :alt: PyPI Package latest release
-            :target: https://pypi.python.org/pypi/pytest-cov
+            :target: https://pypi.org/project/pytest-cov
         
         .. |conda-forge| image:: 
https://img.shields.io/conda/vn/conda-forge/pytest-cov.svg
             :target: https://anaconda.org/conda-forge/pytest-cov
         
-        .. |commits-since| image:: 
https://img.shields.io/github/commits-since/pytest-dev/pytest-cov/v2.10.0.svg
+        .. |commits-since| image:: 
https://img.shields.io/github/commits-since/pytest-dev/pytest-cov/v2.10.1.svg
             :alt: Commits since latest release
-            :target: 
https://github.com/pytest-dev/pytest-cov/compare/v2.10.0...master
+            :target: 
https://github.com/pytest-dev/pytest-cov/compare/v2.10.1...master
         
         .. |wheel| image:: https://img.shields.io/pypi/wheel/pytest-cov.svg
             :alt: PyPI Wheel
-            :target: https://pypi.python.org/pypi/pytest-cov
+            :target: https://pypi.org/project/pytest-cov
         
         .. |supported-versions| image:: 
https://img.shields.io/pypi/pyversions/pytest-cov.svg
             :alt: Supported versions
-            :target: https://pypi.python.org/pypi/pytest-cov
+            :target: https://pypi.org/project/pytest-cov
         
         .. |supported-implementations| image:: 
https://img.shields.io/pypi/implementation/pytest-cov.svg
             :alt: Supported implementations
-            :target: https://pypi.python.org/pypi/pytest-cov
+            :target: https://pypi.org/project/pytest-cov
         
         .. end-badges
         
@@ -177,6 +177,14 @@
         Changelog
         =========
         
+        2.10.1 (2020-08-14)
+        -------------------
+        
+        * Support for ``pytest-xdist`` 2.0, which breaks compatibility with 
``pytest-xdist`` before 1.22.3 (from 2017).
+          Contributed by Zac Hatfield-Dodds in `#412 
<https://github.com/pytest-dev/pytest-cov/pull/412>`_.
+        * Fixed the ``LocalPath has no attribute startswith`` failure that 
occurred when using the ``pytester`` plugin
+          in inline mode.
+        
         2.10.0 (2020-06-12)
         -------------------
         
@@ -300,7 +308,7 @@
         2.6.0 (2018-09-03)
         ------------------
         
-        * Dropped support for Python < 3.4, Pytest < 3.5 and Coverage < 4.4.
+        * Dropped support for Python 3 < 3.4, Pytest < 3.5 and Coverage < 4.4.
         * Fixed some documentation formatting. Contributed by Jean Jordaan and 
Julian.
         * Added an example with ``addopts`` in documentation. Contributed by 
Samuel Giffard in
           `#195 <https://github.com/pytest-dev/pytest-cov/pull/195>`_.
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' 
old/pytest-cov-2.10.0/src/pytest_cov.egg-info/SOURCES.txt 
new/pytest-cov-2.10.1/src/pytest_cov.egg-info/SOURCES.txt
--- old/pytest-cov-2.10.0/src/pytest_cov.egg-info/SOURCES.txt   2020-06-12 
15:46:10.000000000 +0200
+++ new/pytest-cov-2.10.1/src/pytest_cov.egg-info/SOURCES.txt   2020-08-14 
18:11:52.000000000 +0200
@@ -1,8 +1,9 @@
+.appveyor.yml
 .bumpversion.cfg
 .cookiecutterrc
-.coveragerc
 .editorconfig
 .gitignore
+.pre-commit-config.yaml
 .readthedocs.yml
 .travis.yml
 AUTHORS.rst
@@ -11,16 +12,17 @@
 LICENSE
 MANIFEST.in
 README.rst
-appveyor.yml
 setup.cfg
 setup.py
 tox.ini
 .github/ISSUE_TEMPLATE/bug_report.md
 .github/ISSUE_TEMPLATE/feature_request.md
 .github/ISSUE_TEMPLATE/support_request.md
+ci/appveyor-with-compiler.cmd
 ci/bootstrap.py
+ci/requirements.txt
+ci/templates/.appveyor.yml
 ci/templates/.travis.yml
-ci/templates/appveyor.yml
 docs/authors.rst
 docs/changelog.rst
 docs/conf.py
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/pytest-cov-2.10.0/tests/test_pytest_cov.py 
new/pytest-cov-2.10.1/tests/test_pytest_cov.py
--- old/pytest-cov-2.10.0/tests/test_pytest_cov.py      2020-06-12 
15:42:05.000000000 +0200
+++ new/pytest-cov-2.10.1/tests/test_pytest_cov.py      2020-07-24 
15:02:15.000000000 +0200
@@ -19,7 +19,6 @@
 from six import exec_
 
 import pytest_cov.plugin
-from pytest_cov import compat
 
 try:
     from StringIO import StringIO
@@ -28,7 +27,7 @@
 
 coverage, platform      # required for skipif mark on 
test_cov_min_from_coveragerc
 
-max_worker_restart_0 = "--max-" + compat.worker + "-restart=0"
+max_worker_restart_0 = "--max-worker-restart=0"
 
 SCRIPT = '''
 import sys, helper
@@ -2108,3 +2107,9 @@
         '*argument --cov-context: Contexts are only supported with coverage.py 
>= 5.x',
     ])
     assert result.ret != 0
+
+
+def test_issue_417(testdir):
+    # https://github.com/pytest-dev/pytest-cov/issues/417
+    whatever = testdir.maketxtfile(whatever="")
+    testdir.inline_genitems(whatever)
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/pytest-cov-2.10.0/tox.ini 
new/pytest-cov-2.10.1/tox.ini
--- old/pytest-cov-2.10.0/tox.ini       2020-05-21 11:22:57.000000000 +0200
+++ new/pytest-cov-2.10.1/tox.ini       2020-08-14 17:48:38.000000000 +0200
@@ -3,8 +3,9 @@
 [tox]
 envlist =
     check
-    py{27,35,36,37,py,py3}-pytest46-xdist27-coverage{45,51}
-    py{36,37,38,py3}-pytest{46,54}-xdist32-coverage{45,51}
+    py{27,35,36,37,py,py3}-pytest46-xdist27-coverage{45,52}
+    py{36,37,38,py3}-pytest{46,54}-xdist33-coverage{45,52}
+    py{36,37,38,py3}-pytest{60}-xdist200-coverage{52}
     docs
 
 [testenv]
@@ -15,16 +16,22 @@
     # Use env vars for (optional) pinning of deps.
     pytest46:  _DEP_PYTEST=pytest==4.6.10
     pytest53:  _DEP_PYTEST=pytest==5.3.2
-    pytest54:  _DEP_PYTEST=pytest==5.4.2
+    pytest54:  _DEP_PYTEST=pytest==5.4.3
+    pytest60:  _DEP_PYTEST=pytest==6.0.1
 
     xdist27: _DEP_PYTESTXDIST=pytest-xdist==1.27.0
     xdist29: _DEP_PYTESTXDIST=pytest-xdist==1.29.0
     xdist31: _DEP_PYTESTXDIST=pytest-xdist==1.31.0
     xdist32: _DEP_PYTESTXDIST=pytest-xdist==1.32.0
+    xdist33: _DEP_PYTESTXDIST=pytest-xdist==1.33.0
+    xdist34: _DEP_PYTESTXDIST=pytest-xdist==1.34.0
+    xdist200: _DEP_PYTESTXDIST=pytest-xdist==2.0.0
+    xdistdev: 
_DEP_PYTESTXDIST=git+https://github.com/pytest-dev/pytest-xdist.git#egg=pytest-xdist
 
     coverage45: _DEP_COVERAGE=coverage==4.5.4
     coverage50: _DEP_COVERAGE=coverage==5.0.4
     coverage51: _DEP_COVERAGE=coverage==5.1
+    coverage52: _DEP_COVERAGE=coverage==5.2.1
     # For testing against a coverage.py working tree.
     coveragedev: _DEP_COVERAGE=-e{env:COVERAGE_HOME}
 passenv =
@@ -69,4 +76,4 @@
     python setup.py check --strict --metadata --restructuredtext
     check-manifest {toxinidir}
     flake8 src tests setup.py
-    isort --check-only --diff --recursive src tests setup.py
+    isort --check-only --diff src tests setup.py


Reply via email to