Skip to content
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

Upgrade to latest version of coverage #262

Merged
merged 1 commit into from May 25, 2022

Conversation

anishathalye
Copy link
Member

@anishathalye anishathalye commented May 19, 2022

The issue with coverage==6.3 has been fixed: nedbat/coveragepy#1310 (comment).

@anishathalye
Copy link
Member Author

coverage==6.4 has been released, so we can merge this now.

@anishathalye anishathalye marked this pull request as draft May 23, 2022 00:57
@anishathalye
Copy link
Member Author

Oops, turns out that coverage 6.x dropped support for Python 3.6, so we need to think about how to handle that. We probably want to continue supporting 3.6, so maybe we stick with the old version of coverage for now?

The issue that was introduced in coverage 6.3 has been fixed:
nedbat/coveragepy#1310 (comment).
We can't just upgrade to `coverage` or `coverage>=6.4` because the
former could install bad versions of coverage (e.g. 6.3), and the latter
is unsupported on Python 3.6, which we want to continue supporting.

This patch just bans coverage 6.3 / 6.3.x, so with Python 3.7+, we'll
use the latest version of coverage, and with Python 3.6, we'll use the
latest supported version of coverage that's not a 6.3 release.
@codecov
Copy link

codecov bot commented May 23, 2022

Codecov Report

Merging #262 (b35085b) into master (6bd6c07) will not change coverage.
The diff coverage is n/a.

@@           Coverage Diff           @@
##           master     #262   +/-   ##
=======================================
  Coverage   96.79%   96.79%           
=======================================
  Files          12       12           
  Lines         905      905           
  Branches      167      167           
=======================================
  Hits          876      876           
  Misses         11       11           
  Partials       18       18           

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 6bd6c07...b35085b. Read the comment docs.

@anishathalye anishathalye marked this pull request as ready for review May 23, 2022 12:30
@anishathalye
Copy link
Member Author

In working shape now, should be good to merge.

@anishathalye anishathalye changed the title Upgrade to coverage>=6.4 Upgrade to latest version of coverage May 23, 2022
@jwmueller jwmueller self-requested a review May 25, 2022 06:21
Copy link
Member

@jwmueller jwmueller left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks for bumping the version!

@jwmueller jwmueller merged commit 25b5a95 into cleanlab:master May 25, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Process hang with Coverage 6.3
2 participants