-
Notifications
You must be signed in to change notification settings - Fork 211
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Tests fails with coverage 6.5.0 #570
Comments
bmwiedemann
pushed a commit
to bmwiedemann/openSUSE
that referenced
this issue
Nov 28, 2022
https://build.opensuse.org/request/show/1038610 by user dgarcia + dimstar_suse - Disable failing tests (test_contexts) that fails because of the new version of python-coverage, gh#pytest-dev/pytest-cov#570 - Remove support-coverage-62.patch - Remove support-setuptools60.patch - Update to 4.0.0: * --cov-fail-under no longer causes pytest --collect-only to fail Contributed by Zac Hatfield-Dodds in #511. * Dropped support for multiprocessing (mostly because issue 82408). This feature was mostly working but very broken in certain scenarios and made the test suite very flaky and slow. * There is builtin multiprocessing support in coverage and you can migrate to that. All you need is this in your .coveragerc: [run] concurrency = multiprocessing parallel = true sigterm = true * Fixed deprecation in setup.py by trying to i
Open
This is fixed on main with d9789af. The issue won't be present in the next release. |
ngie-eign
added a commit
to ngie-eign/freebsd-ports
that referenced
this issue
Mar 13, 2023
Summary: This is required so py-pytest-cov is functional with newer versions of py-pytest-xdist [1]. Backport patches from upstream commit to [selectively] add 3.11 support to make some of the tests not fail when run with newer versions of coverage.py [2]. While here, appease portlint by shifting where variables (`CONFLICTS`, etc) are defined. 1. pytest-dev/pytest-cov#422 2. pytest-dev/pytest-cov#570 PR: 269360 Co-Authored-With: Yuri Victorovich <[email protected]> Test Plan: `make test` passes with this change. Reviewers: dbaio Subscribers: mat, yuri Differential Revision: https://reviews.freebsd.org/D39035
ngie-eign
added a commit
to ngie-eign/freebsd-ports
that referenced
this issue
Mar 24, 2023
Summary: This is required so py-pytest-cov is functional with newer versions of py-pytest-xdist [1]. Backport patches from upstream commit to [selectively] add 3.11 support to make some of the tests not fail when run with newer versions of coverage.py [2]. While here, appease portlint by shifting where variables (`CONFLICTS`, etc) are defined. 1. pytest-dev/pytest-cov#422 2. pytest-dev/pytest-cov#570 PR: 269360 Co-Authored-With: Yuri Victorovich <[email protected]> Test Plan: `make test` passes with this change. Reviewers: dbaio Subscribers: mat, yuri Differential Revision: https://reviews.freebsd.org/D39035
Will there be a release soon? Thanks. |
ngie-eign
added a commit
to ngie-eign/freebsd-ports
that referenced
this issue
May 6, 2023
Summary: This is required so py-pytest-cov is functional with newer versions of py-pytest-xdist [1]. Backport patches from upstream commit to [selectively] add 3.11 support to make some of the tests not fail when run with newer versions of coverage.py [2]. While here, appease portlint by shifting where variables (`CONFLICTS`, etc) are defined. 1. pytest-dev/pytest-cov#422 2. pytest-dev/pytest-cov#570 PR: 269360 Co-Authored-With: Yuri Victorovich <[email protected]> Test Plan: `make test` passes with this change. Reviewers: dbaio Subscribers: mat, yuri Differential Revision: https://reviews.freebsd.org/D39035
Yes there will, just need to find some time. Cross fingers for weekend :-) |
ngie-eign
added a commit
to ngie-eign/freebsd-ports
that referenced
this issue
Jun 23, 2023
Summary: This is required so py-pytest-cov is functional with newer versions of py-pytest-xdist [1]. Backport patches from upstream commit to [selectively] add 3.11 support to make some of the tests not fail when run with newer versions of coverage.py [2]. While here, appease portlint by shifting where variables (`CONFLICTS`, etc) are defined. 1. pytest-dev/pytest-cov#422 2. pytest-dev/pytest-cov#570 PR: 269360 Co-Authored-With: Yuri Victorovich <[email protected]> Test Plan: `make test` passes with this change. Reviewers: dbaio Subscribers: mat, yuri Differential Revision: https://reviews.freebsd.org/D39035
ngie-eign
added a commit
to ngie-eign/freebsd-ports
that referenced
this issue
Jul 27, 2023
Summary: This is required so py-pytest-cov is functional with newer versions of py-pytest-xdist [1]. Backport patches from upstream commit to [selectively] add 3.11 support to make some of the tests not fail when run with newer versions of coverage.py [2]. While here, appease portlint by shifting where variables (`CONFLICTS`, etc) are defined. 1. pytest-dev/pytest-cov#422 2. pytest-dev/pytest-cov#570 PR: 269360 Co-Authored-With: Yuri Victorovich <[email protected]> Test Plan: `make test` passes with this change. Reviewers: dbaio Subscribers: mat, yuri Differential Revision: https://reviews.freebsd.org/D39035
ngie-eign
added a commit
to ngie-eign/freebsd-ports
that referenced
this issue
Aug 4, 2023
Summary: This is required so py-pytest-cov is functional with newer versions of py-pytest-xdist [1]. Backport patches from upstream commit to [selectively] add 3.11 support to make some of the tests not fail when run with newer versions of coverage.py [2]. While here, appease portlint by shifting where variables (`CONFLICTS`, etc) are defined. 1. pytest-dev/pytest-cov#422 2. pytest-dev/pytest-cov#570 PR: 269360 Co-Authored-With: Yuri Victorovich <[email protected]> Test Plan: `make test` passes with this change. Reviewers: dbaio Subscribers: mat, yuri Differential Revision: https://reviews.freebsd.org/D39035
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Summary
test_contexts
fails with the latest release ofcoverage == 6.5.0
.Versions
A tox run is visible in my fork: https://github.com/danigm/pytest-cov/actions/runs/3563407946/jobs/5986157416
This is the output:
The text was updated successfully, but these errors were encountered: