Skip to content

covimerage.CoveragePlugin not supported with PyTracer after upgrade to ubuntu 24.04 #104

Description

@bstaletic

YouCompleteMe has been using covimerage for years.
I'm trying to upgrade our CI to ubuntu 24.04 and am getting this error when running coverage:

coverage.py warning: Plugin file tracers (covimerage.CoveragePlugin) aren't supported with PyTracer

We have this in our test_requirements.txt:

coverage              <5.0
click                 <8.0.0
covimerage            >= 0.2.0

The click and coverage constraints were added to get covimerage working properly.
YCM pull request can be found here:
ycm-core/YouCompleteMe#4260

Comparing the CI logs for master and for my pull request, there is a difference in what pip spits out when installing coverage.

Master:

Building wheels for collected packages: coverage
  Building wheel for coverage (setup.py): started
  Building wheel for coverage (setup.py): finished with status 'done'
  Created wheel for coverage: filename=coverage-4.5.4-cp310-cp310-linux_x86_64.whl size=206478 sha256=7a52431a3d484347b24316972c7e5dc2835f8077195383b8d2e58415e1532c95
  Stored in directory: /root/.cache/pip/wheels/24/3b/59/8b5b481efbac60694af4d7d281e8b27461384fcbd51ae53c8e
Successfully built coverage

Pull request

Building wheels for collected packages: coverage
  Building wheel for coverage (setup.py): started
  Building wheel for coverage (setup.py): finished with status 'done'
  Created wheel for coverage: filename=coverage-4.5.4-py3-none-any.whl size=170500 sha256=cfc74044c055dc6b6888ccaf26f72c8f1f852202ca8ae29a64adb504a28972c0
  Stored in directory: /root/.cache/pip/wheels/4e/09/63/e527151646074292e08bbcf04b648bd99319503c98f64eee20
Successfully built coverage

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions