<feed xmlns='http://www.w3.org/2005/Atom'>
<title>delta/python-coveragepy-git.git/tests/test_parser.py, branch pr/1567</title>
<subtitle>github.com: nedbat/coveragepy.git
</subtitle>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/python-coveragepy-git.git/'/>
<entry>
<title>style: remove needless trailing commas</title>
<updated>2023-01-27T00:07:54+00:00</updated>
<author>
<name>Ned Batchelder</name>
<email>ned@nedbatchelder.com</email>
</author>
<published>2023-01-27T00:07:54+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/python-coveragepy-git.git/commit/?id=2d628d40d60f967f135a8c21a62a000716c45054'/>
<id>2d628d40d60f967f135a8c21a62a000716c45054</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>mypy: test_parser.py test_phystokens.py test_process.py test_report.py test_results.py test_setup.py</title>
<updated>2023-01-08T02:25:42+00:00</updated>
<author>
<name>Ned Batchelder</name>
<email>ned@nedbatchelder.com</email>
</author>
<published>2023-01-08T02:25:42+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/python-coveragepy-git.git/commit/?id=13218037401dc30f05fd3a16a2cd52ee882fd1c4'/>
<id>13218037401dc30f05fd3a16a2cd52ee882fd1c4</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>fix: adjust some PyPy behaviors. #1515</title>
<updated>2022-12-27T12:20:49+00:00</updated>
<author>
<name>Ned Batchelder</name>
<email>ned@nedbatchelder.com</email>
</author>
<published>2022-12-27T11:57:18+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/python-coveragepy-git.git/commit/?id=5af6270dd72f2a217823a32bf7141d3f7c1a2a92'/>
<id>5af6270dd72f2a217823a32bf7141d3f7c1a2a92</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>refactor: no need for special handling of compiling unicode source</title>
<updated>2022-11-06T21:16:04+00:00</updated>
<author>
<name>Ned Batchelder</name>
<email>ned@nedbatchelder.com</email>
</author>
<published>2022-11-06T20:51:44+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/python-coveragepy-git.git/commit/?id=556344babd5210c093eba547d1b15489843f4359'/>
<id>556344babd5210c093eba547d1b15489843f4359</id>
<content type='text'>
This was a holdover from Python 2 days.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
This was a holdover from Python 2 days.
</pre>
</div>
</content>
</entry>
<entry>
<title>fix: `class` statements shouldn't be branches. #1449</title>
<updated>2022-09-27T00:27:16+00:00</updated>
<author>
<name>Ned Batchelder</name>
<email>ned@nedbatchelder.com</email>
</author>
<published>2022-09-26T23:21:41+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/python-coveragepy-git.git/commit/?id=fd36918609a18bd36a7e2c3b208220cf25c0957d'/>
<id>fd36918609a18bd36a7e2c3b208220cf25c0957d</id>
<content type='text'>
Revert "refactor: we no longer need to treat 'class' lines specially"

This reverts commit 79f9f4575321fafc2ef770e3255f874db3d4b037.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Revert "refactor: we no longer need to treat 'class' lines specially"

This reverts commit 79f9f4575321fafc2ef770e3255f874db3d4b037.
</pre>
</div>
</content>
</entry>
<entry>
<title>fix: don't cache a failed parse</title>
<updated>2022-08-21T13:43:27+00:00</updated>
<author>
<name>Ned Batchelder</name>
<email>ned@nedbatchelder.com</email>
</author>
<published>2022-08-21T13:35:30+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/python-coveragepy-git.git/commit/?id=3703bae58b53efec3314bc07b9de157049ad8b70'/>
<id>3703bae58b53efec3314bc07b9de157049ad8b70</id>
<content type='text'>
Found by OSS-Fuzz: https://bugs.chromium.org/p/oss-fuzz/issues/detail?id=50381
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Found by OSS-Fuzz: https://bugs.chromium.org/p/oss-fuzz/issues/detail?id=50381
</pre>
</div>
</content>
</entry>
<entry>
<title>test: xfail decorator tests that fail on PyPy 3.8 (7.3.10alpha)</title>
<updated>2022-05-21T14:05:14+00:00</updated>
<author>
<name>Ned Batchelder</name>
<email>ned@nedbatchelder.com</email>
</author>
<published>2022-05-21T13:52:21+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/python-coveragepy-git.git/commit/?id=d4c09f9084cbe771a177b0d62d3a365427a9e2fb'/>
<id>d4c09f9084cbe771a177b0d62d3a365427a9e2fb</id>
<content type='text'>
https://foss.heptapod.net/pypy/pypy/-/issues/3749
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
https://foss.heptapod.net/pypy/pypy/-/issues/3749
</pre>
</div>
</content>
</entry>
<entry>
<title>style: parens should indent the same as their opening line</title>
<updated>2022-05-01T17:00:38+00:00</updated>
<author>
<name>Ned Batchelder</name>
<email>ned@nedbatchelder.com</email>
</author>
<published>2022-05-01T12:16:06+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/python-coveragepy-git.git/commit/?id=420c01394a31415d7a7cbb80be196bcfca48482c'/>
<id>420c01394a31415d7a7cbb80be196bcfca48482c</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>build: Build and test tweaks to help with cross-compilation</title>
<updated>2022-04-30T13:06:15+00:00</updated>
<author>
<name>Steve Dower</name>
<email>steve.dower@microsoft.com</email>
</author>
<published>2022-04-29T13:06:45+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/python-coveragepy-git.git/commit/?id=d7a7f8970a7497b12b78577a66e2a0f26944363a'/>
<id>d7a7f8970a7497b12b78577a66e2a0f26944363a</id>
<content type='text'>
For context, I've been testing whether a range of popular libraries are going to work on Windows ARM64. (This requires compiling on a regular x64 machine and then copying the wheel to an ARM64 one for testing.)

The good news is, coverage seems to be just fine without any changes. However, because of a few assumptions in the test suite about always testing an in-place build, I had to make some tweaks to be able to run tests. My proposed tweaks should be fine for current uses, but they also allow the following:

* support `SETUPTOOLS_EXT_SUFFIX` when building to override the pyd tag on Windows (used with `setup.py build_ext -L &lt;path&gt;` to point at [pythonarm64](https://www.nuget.org/packages/pythonarm64/) import libraries to do the cross-compile)
* allow `COVERAGE_INSTALL_ARGS` to override how the tests install coverage into a venv (allows to point at a wheel rather than rebuilding from the sources)
* allow `python igor.py remove_extension --from-install` to delete the extension module from `site-packages` rather than only the source tree
* other changes to allow removing the `coverage` directory from the source tree before tests so that the installed copy will be used instead.

I've tested these on my own Windows ARM64 machine, though unfortunately there aren't any available on CI services yet. If you wanted to start releasing (preview) wheels for win-arm64 you can, but there's no support (yet) in `cibuildwheel` or `build` to do it (because those tools don't really have a concept of cross-compilation for Windows at all... yet ;-) ).

For the linter
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
For context, I've been testing whether a range of popular libraries are going to work on Windows ARM64. (This requires compiling on a regular x64 machine and then copying the wheel to an ARM64 one for testing.)

The good news is, coverage seems to be just fine without any changes. However, because of a few assumptions in the test suite about always testing an in-place build, I had to make some tweaks to be able to run tests. My proposed tweaks should be fine for current uses, but they also allow the following:

* support `SETUPTOOLS_EXT_SUFFIX` when building to override the pyd tag on Windows (used with `setup.py build_ext -L &lt;path&gt;` to point at [pythonarm64](https://www.nuget.org/packages/pythonarm64/) import libraries to do the cross-compile)
* allow `COVERAGE_INSTALL_ARGS` to override how the tests install coverage into a venv (allows to point at a wheel rather than rebuilding from the sources)
* allow `python igor.py remove_extension --from-install` to delete the extension module from `site-packages` rather than only the source tree
* other changes to allow removing the `coverage` directory from the source tree before tests so that the installed copy will be used instead.

I've tested these on my own Windows ARM64 machine, though unfortunately there aren't any available on CI services yet. If you wanted to start releasing (preview) wheels for win-arm64 you can, but there's no support (yet) in `cibuildwheel` or `build` to do it (because those tools don't really have a concept of cross-compilation for Windows at all... yet ;-) ).

For the linter
</pre>
</div>
</content>
</entry>
<entry>
<title>fix: 3.11 now traces decorator lines as the decorators execute</title>
<updated>2022-01-15T12:58:57+00:00</updated>
<author>
<name>Ned Batchelder</name>
<email>ned@nedbatchelder.com</email>
</author>
<published>2022-01-09T16:37:29+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/python-coveragepy-git.git/commit/?id=d723b46460dc7ffb4abf54806087ffd614b81331'/>
<id>d723b46460dc7ffb4abf54806087ffd614b81331</id>
<content type='text'>
See: https://bugs.python.org/issue46234
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
See: https://bugs.python.org/issue46234
</pre>
</div>
</content>
</entry>
</feed>
