Results 963 comments of Ned Batchelder

The problem here is not about `[paths]`. Your code isn't being measured by coverage.py in the first place. If you add COVERAGE_DEBUG=trace to your environment, you'll see: ``` Not tracing...

Just to be clear: I'm fully on-board with testing packages that have been installed. It just means you have to explain the situation to coverage.py, usually with ``--source=...``. @amykyta3 can...

@amykyta3 or, can you provide me with specific instruction to reproduce the problem?

*Original comment by* **Suriya Subramanian (Bitbucket: [suriya](https://bitbucket.org/suriya), GitHub: [suriya](https://github.com/suriya))** ---------------------------------------- Here's a public git repository demonstrating this bug: https://bitbucket.org/suriya/coverage-xml-bug You can view the result of a run here: https://bitbucket.org/suriya/coverage-xml-bug/addon/pipelines/home#!/results/1

@suriya Can you provide me with a reproducible case?

*Original comment by* **Suriya Subramanian (Bitbucket: [suriya](https://bitbucket.org/suriya), GitHub: [suriya](https://github.com/suriya))** ---------------------------------------- I am using coverage.py version 4.3.4. I see that only one file with a particular base name at a particular...

*Original comment by* **Alexandre Conrad (Bitbucket: [aconrad](https://bitbucket.org/aconrad), GitHub: [aconrad](https://github.com/aconrad))** ---------------------------------------- Also, pycobertura is affected by this change too. There should be a way to have a relative path to the...

*Original comment by* **Alex Gaynor (Bitbucket: [alex_gaynor](https://bitbucket.org/alex_gaynor), GitHub: Unknown)** ---------------------------------------- I'm not particularly convinced this change is correct, but looking at: https://bitbucket.org/ned/coveragepy/src/63dfe482a849e9cb0b82214242315a806a6a3d53/coverage/xmlreport.py?at=default&fileviewer=file-view-default#xmlreport.py-143:151 Our challenge is that we have two paths...

*Original comment by* **Alex Gaynor (Bitbucket: [alex_gaynor](https://bitbucket.org/alex_gaynor), GitHub: Unknown)** ---------------------------------------- This is hitting us on [`pyca/cryptography`](https://github.com/pyca/cryptography). Can be reproduced with: ``` $ git clone https://github.com/pyca/cryptography $ cd cryptography $ tox...

*Original comment by* **Dirk Thomas (Bitbucket: [dirk-thomas](https://bitbucket.org/dirk-thomas), GitHub: [dirk-thomas](https://github.com/dirk-thomas))** ---------------------------------------- In order to avoid the ambiguity (while still keep the information of the sources basepath and the filename within that...