Skip to content

Dependencies issue on CI with pytest and codecov #2917

@vfdev-5

Description

@vfdev-5

All CI jobs are failing due to dependencies issue:

Requirement already satisfied: numpy in /opt/hostedtoolcache/Python/3.8.16/x64/lib/python3.8/site-packages (from -r requirements-dev.txt (line 2)) (1.24.2)
Collecting pytest
  Using cached pytest-7.3.0-py3-none-any.whl (320 kB)
ERROR: Could not find a version that satisfies the requirement codecov (from versions: none)
ERROR: No matching distribution found for codecov

Hypothesis: pytest has released a new version that is incompatible with pytest-cov plug-in.
This a wrong hypothesis. Another one: Issue is related to codecov/python-standard#31

TODO:

  • figure out (and confirm above hypothesis) why there is this issue and report the conclusion here
  • Send a PR with a fix

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions