# \#python

**URL:** https://community.codecov.com/tag/python/1.md

[Latest](https://community.codecov.com/latest.md) · [Categories](https://community.codecov.com/categories.md) · [Tags](https://community.codecov.com/tags.md)

---

## [Wrong coverage number in badge with flags](https://community.codecov.com/t/wrong-coverage-number-in-badge-with-flags/3975)

<div class="topic-metadata">

**Author:** [@mick](https://community.codecov.com/u/mick)\
**Replies:** 10\
**Last updated:** [August 31, 2023, 8:45pm UTC](https://community.codecov.com/t/wrong-coverage-number-in-badge-with-flags/3975 "2023-08-31T20:45:43Z")

</div>

Before submitting a topic, please confirm the following I have searched for similar issues before creating this topic. I have verified that my repository is using the Codecov GitHub app, if using GitHub I have valid…

---

## [Error "There was an error processing coverage reports."](https://community.codecov.com/t/error-there-was-an-error-processing-coverage-reports/3255)

<div class="topic-metadata">

**Author:** [@mjcaley](https://community.codecov.com/u/mjcaley)\
**Replies:** 6\
**Last updated:** [July 25, 2023, 2:50pm UTC](https://community.codecov.com/t/error-there-was-an-error-processing-coverage-reports/3255 "2023-07-25T14:50:06Z")

</div>

Please search for similar issues before creating a ticket. All fields below are required. Description “There was an error processing coverage reports.” when using CodeCov GitHub action. Commit SHAs 149baede5cf893ed848…

---

## [Unable to view coverage report in codecov](https://community.codecov.com/t/unable-to-view-coverage-report-in-codecov/4361)

<div class="topic-metadata">

**Author:** [@alekb](https://community.codecov.com/u/alekb)\
**Replies:** 2\
**Last updated:** [June 8, 2023, 8:43am UTC](https://community.codecov.com/t/unable-to-view-coverage-report-in-codecov/4361 "2023-06-08T08:43:00Z")

</div>

Before submitting a topic, please confirm the following I have searched for similar issues before creating this topic. I have verified that my repository is using the Codecov GitHub app, if using GitHub I have valid…

---

## [Cannot make Codecov work with Github Actions as it fails to upload reports or run correctly](https://community.codecov.com/t/cannot-make-codecov-work-with-github-actions-as-it-fails-to-upload-reports-or-run-correctly/4341)

<div class="topic-metadata">

**Author:** [@Alex66](https://community.codecov.com/u/Alex66)\
**Replies:** 2\
**Last updated:** [May 26, 2023, 1:45pm UTC](https://community.codecov.com/t/cannot-make-codecov-work-with-github-actions-as-it-fails-to-upload-reports-or-run-correctly/4341 "2023-05-26T13:45:21Z")

</div>

Before submitting a topic, please confirm the following I have searched for similar issues before creating this topic. I have verified that my repository is using the Codecov GitHub app, if using GitHub I have valid…

---

## [Parallel coverage in Python handles @click function definitions differently than single run coverage](https://community.codecov.com/t/parallel-coverage-in-python-handles-click-function-definitions-differently-than-single-run-coverage/4306)

<div class="topic-metadata">

**Author:** [@joanise](https://community.codecov.com/u/joanise)\
**Replies:** 4\
**Last updated:** [May 2, 2023, 9:03pm UTC](https://community.codecov.com/t/parallel-coverage-in-python-handles-click-function-definitions-differently-than-single-run-coverage/4306 "2023-05-02T21:03:52Z")

</div>

Before submitting a topic, please confirm the following \[x \] I have searched for similar issues before creating this topic. \[x \] I have verified that my repository is using the Codecov GitHub app, if using GitHub \[n/a …

---

## [Codecov website can not show line by line coverage](https://community.codecov.com/t/codecov-website-can-not-show-line-by-line-coverage/3809)

<div class="topic-metadata">

**Author:** [@mscheltienne](https://community.codecov.com/u/mscheltienne)\
**Replies:** 5\
**Last updated:** [May 1, 2023, 7:04pm UTC](https://community.codecov.com/t/codecov-website-can-not-show-line-by-line-coverage/3809 "2023-05-01T19:04:02Z")

</div>

Description On the Codecov website, the coverage looks properly displayed, but once you select the file, it displays this error: There was a problem getting the source code from your provider. Unable to show line by li…

---

## [Codecov yanked from PyPI (all versions)](https://community.codecov.com/t/codecov-yanked-from-pypi-all-versions/4259)

<div class="topic-metadata">

**Author:** [@timmc-edx](https://community.codecov.com/u/timmc-edx)\
**Replies:** 21\
**Last updated:** [April 21, 2023, 4:16pm UTC](https://community.codecov.com/t/codecov-yanked-from-pypi-all-versions/4259 "2023-04-21T16:16:43Z")

</div>

This morning our builds started failing, and it appears that all versions of the codecov package have been yanked from PyPI: https://pypi.org/project/codecov/. There is only version “0.0.0a2”, published as of 2023-04-12 …

---

## [Can I see line-by-line coverage in File explorer uploaded from a specific flag, or a subset of flags?](https://community.codecov.com/t/can-i-see-line-by-line-coverage-in-file-explorer-uploaded-from-a-specific-flag-or-a-subset-of-flags/4251)

<div class="topic-metadata">

**Author:** [@jdanek](https://community.codecov.com/u/jdanek)\
**Replies:** 3\
**Last updated:** [April 11, 2023, 7:23am UTC](https://community.codecov.com/t/can-i-see-line-by-line-coverage-in-file-explorer-uploaded-from-a-specific-flag-or-a-subset-of-flags/4251 "2023-04-11T07:23:42Z")

</div>

Description While reading Carryforward Flags, I saw a screenshot on that page, which suggested to me that on the “File explorer” tab, I should be able to select flags to show coverage from. For example. When I have f…

---

## [Codecov-action failing to properly upload with Dependabot](https://community.codecov.com/t/codecov-action-failing-to-properly-upload-with-dependabot/3900)

<div class="topic-metadata">

**Author:** [@BobDotCom](https://community.codecov.com/u/BobDotCom)\
**Replies:** 10\
**Last updated:** [April 5, 2023, 2:13pm UTC](https://community.codecov.com/t/codecov-action-failing-to-properly-upload-with-dependabot/3900 "2023-04-05T14:13:18Z")

</div>

Before submitting a topic, please confirm the following I have searched for similar issues before creating this topic. I have verified that my repository is using the Codecov GitHub app, if using GitHub I have valid…

---

## [Problem getting the source code from your provider. Unable to show line by line coverage](https://community.codecov.com/t/problem-getting-the-source-code-from-your-provider-unable-to-show-line-by-line-coverage/4128)

<div class="topic-metadata">

**Author:** [@GenieTim](https://community.codecov.com/u/GenieTim)\
**Replies:** 6\
**Last updated:** [March 23, 2023, 7:48am UTC](https://community.codecov.com/t/problem-getting-the-source-code-from-your-provider-unable-to-show-line-by-line-coverage/4128 "2023-03-23T07:48:04Z")

</div>

Before submitting a topic, please confirm the following I have searched for similar issues before creating this topic. I have verified that my repository is using the Codecov GitHub app, if using GitHub I have valid…

---

## [Codecov GitHub app does not report back in GitHub PRs anymore](https://community.codecov.com/t/codecov-github-app-does-not-report-back-in-github-prs-anymore/4209)

<div class="topic-metadata">

**Author:** [@glemaitre](https://community.codecov.com/u/glemaitre)\
**Replies:** 3\
**Last updated:** [March 20, 2023, 7:02pm UTC](https://community.codecov.com/t/codecov-github-app-does-not-report-back-in-github-prs-anymore/4209 "2023-03-20T19:02:18Z")

</div>

Before submitting a topic, please confirm the following I have searched for similar issues before creating this topic. I have verified that my repository is using the Codecov GitHub app, if using GitHub I have valid…

---

## [Multiple coverage reports for the same repo](https://community.codecov.com/t/multiple-coverage-reports-for-the-same-repo/4206)

<div class="topic-metadata">

**Author:** [@baruchoxman](https://community.codecov.com/u/baruchoxman)\
**Replies:** 2\
**Last updated:** [March 16, 2023, 7:27pm UTC](https://community.codecov.com/t/multiple-coverage-reports-for-the-same-repo/4206 "2023-03-16T19:27:21Z")

</div>

Hi, We’re using a monorepo for both server (python) and client (typescript) code (residing in different paths in the repo). Each has a separate build and testing process, and is uploading its own coverage report. I se…

---

## [Reported change in coverage when no code changes made](https://community.codecov.com/t/reported-change-in-coverage-when-no-code-changes-made/1346)

<div class="topic-metadata">

**Author:** [@obi1kenobi](https://community.codecov.com/u/obi1kenobi)\
**Replies:** 9\
**Last updated:** [March 13, 2023, 10:32pm UTC](https://community.codecov.com/t/reported-change-in-coverage-when-no-code-changes-made/1346 "2023-03-13T22:32:32Z")

</div>

Description While debugging an unexplained coverage change in another PR (#803 of the same repo, if curious) I created Create codecov.yml slightly relaxing patch coverage rule by obi1kenobi · Pull Request #806 · kensho-t…

---

## [Something broke ca. 25 days ago. How can I find out what exactly?](https://community.codecov.com/t/something-broke-ca-25-days-ago-how-can-i-find-out-what-exactly/4020)

<div class="topic-metadata">

**Author:** [@GenieTim](https://community.codecov.com/u/GenieTim)\
**Replies:** 4\
**Last updated:** [January 16, 2023, 8:41pm UTC](https://community.codecov.com/t/something-broke-ca-25-days-ago-how-can-i-find-out-what-exactly/4020 "2023-01-16T20:41:21Z")

</div>

Description A month ago, my codecov setup was working properly. It includes both C++ tests (with CMake, Catch2, gcov) and Python tests. In a commit 25 days ago, that did not include any changes to CI or CMake or gcov o…

---

## [\# pragma: no cover is still being covered](https://community.codecov.com/t/pragma-no-cover-is-still-being-covered/1128)

<div class="topic-metadata">

**Author:** [@roniemartinez](https://community.codecov.com/u/roniemartinez)\
**Replies:** 5\
**Last updated:** [November 26, 2022, 8:14pm UTC](https://community.codecov.com/t/pragma-no-cover-is-still-being-covered/1128 "2022-11-26T20:14:29Z")

</div>

Description Code coverage failed from 100% to 37% because CodeCov is still covering “#pragma: no cover”. Example can be found here: Codecov Manually running tests locally and generating HTML report shows it is 100% cove…

---

## [Some files in coverage report not appearing in Codecov](https://community.codecov.com/t/some-files-in-coverage-report-not-appearing-in-codecov/3971)

<div class="topic-metadata">

**Author:** [@scottclowe](https://community.codecov.com/u/scottclowe)\
**Replies:** 1\
**Last updated:** [November 15, 2022, 10:16pm UTC](https://community.codecov.com/t/some-files-in-coverage-report-not-appearing-in-codecov/3971 "2022-11-15T22:16:56Z")

</div>

Before submitting a topic, please confirm the following I have searched for similar issues before creating this topic. Related issues: Codecov not discovering files when uploaded in CI Missing files in codecov (but n…

---

## [Files missing from report](https://community.codecov.com/t/files-missing-from-report/3902)

<div class="topic-metadata">

**Author:** [@fjetter](https://community.codecov.com/u/fjetter)\
**Replies:** 9\
**Last updated:** [November 10, 2022, 7:31pm UTC](https://community.codecov.com/t/files-missing-from-report/3902 "2022-11-10T19:31:25Z")

</div>

Before submitting a topic, please confirm the following I have searched for similar issues before creating this topic. I have verified that my repository is using the Codecov GitHub app, if using GitHub I have valid…

---

## [Problem getting repo contents from GitHub](https://community.codecov.com/t/problem-getting-repo-contents-from-github/3914)

<div class="topic-metadata">

**Author:** [@mochipon](https://community.codecov.com/u/mochipon)\
**Replies:** 1\
**Last updated:** [October 14, 2022, 10:42pm UTC](https://community.codecov.com/t/problem-getting-repo-contents-from-github/3914 "2022-10-14T22:42:22Z")

</div>

Before submitting a topic, please confirm the following I have searched for similar issues before creating this topic. I have verified that my repository is using the Codecov GitHub app, if using GitHub I have valid…

---

## [There was an error processing coverage reports. - always empty](https://community.codecov.com/t/there-was-an-error-processing-coverage-reports-always-empty/3794)

<div class="topic-metadata">

**Author:** [@ixje](https://community.codecov.com/u/ixje)\
**Replies:** 2\
**Last updated:** [August 15, 2022, 2:28am UTC](https://community.codecov.com/t/there-was-an-error-processing-coverage-reports-always-empty/3794 "2022-08-15T02:28:33Z")

</div>

Before submitting a topic, please confirm the following I have searched for similar issues before creating this topic. I have verified that my repository is using the Codecov GitHub app, if using GitHub I have fille…

---

## [Team bot vs github app](https://community.codecov.com/t/team-bot-vs-github-app/3607)

<div class="topic-metadata">

**Author:** [@subbyte](https://community.codecov.com/u/subbyte)\
**Replies:** 2\
**Last updated:** [May 4, 2022, 2:08pm UTC](https://community.codecov.com/t/team-bot-vs-github-app/3607 "2022-05-04T14:08:27Z")

</div>

Description We are setting codecov bots for a GitHub organization: Open Cybersecurity Alliance · GitHub And we would like to get some advice about team bot vs github app. After reading the team bot instructions, it loo…

---

## [Help with path fixing (configuration does not seem to take effect)](https://community.codecov.com/t/help-with-path-fixing-configuration-does-not-seem-to-take-effect/3468)

<div class="topic-metadata">

**Author:** [@abravalheri](https://community.codecov.com/u/abravalheri)\
**Replies:** 2\
**Last updated:** [January 26, 2022, 8:45am UTC](https://community.codecov.com/t/help-with-path-fixing-configuration-does-not-seem-to-take-effect/3468 "2022-01-26T08:45:17Z")

</div>

Description Hello I am experimenting with a complicated CI setup where I need to move the folder where my code resides before running the tests to force the test suite to run against the packaged/installed version of the…

---

## [Codecov report zero coverage for the code but full coverage for the tests](https://community.codecov.com/t/codecov-report-zero-coverage-for-the-code-but-full-coverage-for-the-tests/3392)

<div class="topic-metadata">

**Author:** [@xiki-tempula](https://community.codecov.com/u/xiki-tempula)\
**Replies:** 8\
**Last updated:** [December 15, 2021, 7:49pm UTC](https://community.codecov.com/t/codecov-report-zero-coverage-for-the-code-but-full-coverage-for-the-tests/3392 "2021-12-15T19:49:03Z")

</div>

Description I have a repo where locally, the test would run and the coverage is fine when running pytest -v --cov qforce --cov-report=xml --color=yes qforce/tests However, in the codecov, only the tests has been covere…

---

## [Understands covergage for Python w/ Pytest](https://community.codecov.com/t/understands-covergage-for-python-w-pytest/3357)

<div class="topic-metadata">

**Author:** [@amor71](https://community.codecov.com/u/amor71)\
**Replies:** 2\
**Last updated:** [November 23, 2021, 3:30pm UTC](https://community.codecov.com/t/understands-covergage-for-python-w-pytest/3357 "2021-11-23T15:30:23Z")

</div>

Hello Community, I am an OSS package owner and I’m trying to use codecov to understand my unit-tests (Python w/ Pytest) gaps. I’ve had codecov configured for a while, but didn’t pay enough attention to it until recently…

---

## [Pytest-cov xml files cause Codecov processing to fail without an error message](https://community.codecov.com/t/pytest-cov-xml-files-cause-codecov-processing-to-fail-without-an-error-message/3180)

<div class="topic-metadata">

**Author:** [@berndie](https://community.codecov.com/u/berndie)\
**Replies:** 6\
**Last updated:** [October 23, 2021, 1:59pm UTC](https://community.codecov.com/t/pytest-cov-xml-files-cause-codecov-processing-to-fail-without-an-error-message/3180 "2021-10-23T13:59:42Z")

</div>

Description In my project, I’m using github actions to generate coverage reports (with pytest-cov) in xml format. I’m using version 2 of your github action. The action seems to identify and upload the report just fine, b…

---

## ["There was an error processing coverage reports." with github actions and pytest](https://community.codecov.com/t/there-was-an-error-processing-coverage-reports-with-github-actions-and-pytest/3279)

<div class="topic-metadata">

**Author:** [@V3lop5](https://community.codecov.com/u/V3lop5)\
**Replies:** 4\
**Last updated:** [October 19, 2021, 3:27pm UTC](https://community.codecov.com/t/there-was-an-error-processing-coverage-reports-with-github-actions-and-pytest/3279 "2021-10-19T15:27:24Z")

</div>

Description I use the latest version of codecov github action trying to upload the coverage.xml generated by pytest. On Codecov I receive the error message " There was an error processing coverage reports." Commit SHAs 8…

---

## [Codecov-patch fails on master consinstently](https://community.codecov.com/t/codecov-patch-fails-on-master-consinstently/3105)

<div class="topic-metadata">

**Author:** [@tchar](https://community.codecov.com/u/tchar)\
**Replies:** 1\
**Last updated:** [October 1, 2021, 3:34pm UTC](https://community.codecov.com/t/codecov-patch-fails-on-master-consinstently/3105 "2021-10-01T15:34:25Z")

</div>

Description Hello I am experiencing issues with codecov-patch. I have found other issues wanting to turn it of. The thing is I don’t want to turn it off, I just want to figure out why it keeps failing. Here is an exampl…

---

## [Get Codecov uploader working with local environment](https://community.codecov.com/t/get-codecov-uploader-working-with-local-environment/3228)

<div class="topic-metadata">

**Author:** [@philippemnoel](https://community.codecov.com/u/philippemnoel)\
**Replies:** 3\
**Last updated:** [September 28, 2021, 7:06pm UTC](https://community.codecov.com/t/get-codecov-uploader-working-with-local-environment/3228 "2021-09-28T19:06:47Z")

</div>

Hi, I’m trying to use the new Codecov uploader to upload coverage run for a Python codebase running within Heroku CI. Since it’s not in GitHub Actions, it fails to retrieve the commit hash. We don’t use self-hosted ente…

---

## [Error: No coverage files located](https://community.codecov.com/t/error-no-coverage-files-located/3028)

<div class="topic-metadata">

**Author:** [@josejimenezluna](https://community.codecov.com/u/josejimenezluna)\
**Replies:** 8\
**Last updated:** [August 18, 2021, 6:47pm UTC](https://community.codecov.com/t/error-no-coverage-files-located/3028 "2021-08-18T18:47:34Z")

</div>

Description Codecov fails to locate .coverage file. If specified with the -f flag, it reports “There was an error processing coverage reports.” The coverage reports are generated via pytest-cov, and build succeeds. This …

---

## [No files found to upload on python projects](https://community.codecov.com/t/no-files-found-to-upload-on-python-projects/3139)

<div class="topic-metadata">

**Author:** [@marksweb](https://community.codecov.com/u/marksweb)\
**Replies:** 3\
**Last updated:** [August 18, 2021, 5:40pm UTC](https://community.codecov.com/t/no-files-found-to-upload-on-python-projects/3139 "2021-08-18T17:40:32Z")

</div>

I did find the same issue in another topic, but Tom asked me to raise a new one. Description I’ve created a coverage github action, but after running coverage with pytest, there’s no files found to upload; Commit SHAs 8…

---

## [Code showing as not covered despite coverage in workflows recorded as 100%](https://community.codecov.com/t/code-showing-as-not-covered-despite-coverage-in-workflows-recorded-as-100/3092)

<div class="topic-metadata">

**Author:** [@glassnotes](https://community.codecov.com/u/glassnotes)\
**Replies:** 1\
**Last updated:** [August 18, 2021, 5:15am UTC](https://community.codecov.com/t/code-showing-as-not-covered-despite-coverage-in-workflows-recorded-as-100/3092 "2021-08-18T05:15:39Z")

</div>

Description Coverage in one of the PRs in our repo is not being correctly reported. The test suite logs show 100% coverage of the problematic file (and we obtain 100% coverage running locally), but codecov is reporting l…

[Next page](https://community.codecov.com/tag/python/1.md?match_all_tags=true&page=1&tags%5B%5D=python)
