eric7/DebugClients/Python/coverage/doc/CHANGES.rst

branch
eric7
changeset 8991
2fc945191992
parent 8929
fcca2fa618bf
child 9099
0e511e0e94a3
equal deleted inserted replaced
8990:ca8e477c590c 8991:2fc945191992
6 ============================== 6 ==============================
7 7
8 These changes are listed in decreasing version number order. Note this can be 8 These changes are listed in decreasing version number order. Note this can be
9 different from a strict chronological order when there are two branches in 9 different from a strict chronological order when there are two branches in
10 development at the same time, such as 4.5.x and 5.0. 10 development at the same time, such as 4.5.x and 5.0.
11
12 This list is detailed and covers changes in each pre-release version.
13 11
14 .. When updating the "Unreleased" header to a specific version, use this 12 .. When updating the "Unreleased" header to a specific version, use this
15 .. format. Don't forget the jump target: 13 .. format. Don't forget the jump target:
16 .. 14 ..
17 .. .. _changes_981: 15 .. .. _changes_981:
18 .. 16 ..
19 .. Version 9.8.1 — 2027-07-27 17 .. Version 9.8.1 — 2027-07-27
20 .. -------------------------- 18 .. --------------------------
21 19
20 .. _changes_632:
21
22 Version 6.3.2 — 2022-02-20
23 --------------------------
24
25 - Fix: adapt to pypy3.9's decorator tracing behavior. It now traces function
26 decorators like CPython 3.8: both the @-line and the def-line are traced.
27 Fixes `issue 1326`_.
28
29 - Debug: added ``pybehave`` to the list of :ref:`cmd_debug` and
30 :ref:`cmd_run_debug` options.
31
32 - Fix: show an intelligible error message if ``--concurrency=multiprocessing``
33 is used without a configuration file. Closes `issue 1320`_.
34
35 .. _issue 1320: https://github.com/nedbat/coveragepy/issues/1320
36 .. _issue 1326: https://github.com/nedbat/coveragepy/issues/1326
37
38
39 .. _changes_631:
40
41 Version 6.3.1 — 2022-02-01
42 --------------------------
43
44 - Fix: deadlocks could occur when terminating processes. Some of these
45 deadlocks (described in `issue 1310`_) are now fixed.
46
47 - Fix: a signal handler was being set from multiple threads, causing an error:
48 "ValueError: signal only works in main thread". This is now fixed, closing
49 `issue 1312`_.
50
51 - Fix: ``--precision`` on the command-line was being ignored while considering
52 ``--fail-under``. This is now fixed, thanks to
53 `Marcelo Trylesinski <pull 1317_>`_.
54
55 - Fix: releases no longer provide 3.11.0-alpha wheels. Coverage.py uses CPython
56 internal fields which are moving during the alpha phase. Fixes `issue 1316`_.
57
58 .. _issue 1310: https://github.com/nedbat/coveragepy/issues/1310
59 .. _issue 1312: https://github.com/nedbat/coveragepy/issues/1312
60 .. _issue 1316: https://github.com/nedbat/coveragepy/issues/1316
61 .. _pull 1317: https://github.com/nedbat/coveragepy/pull/1317
62
63
64 .. _changes_63:
65
66 Version 6.3 — 2022-01-25
67 ------------------------
68
69 - Feature: Added the ``lcov`` command to generate reports in LCOV format.
70 Thanks, `Bradley Burns <pull 1289_>`_. Closes issues `587 <issue 587_>`_
71 and `626 <issue 626_>`_.
72
73 - Feature: the coverage data file can now be specified on the command line with
74 the ``--data-file`` option in any command that reads or writes data. This is
75 in addition to the existing ``COVERAGE_FILE`` environment variable. Closes
76 `issue 624`_. Thanks, `Nikita Bloshchanevich <pull 1304_>`_.
77
78 - Feature: coverage measurement data will now be written when a SIGTERM signal
79 is received by the process. This includes
80 :meth:`Process.terminate <python:multiprocessing.Process.terminate>`,
81 and other ways to terminate a process. Currently this is only on Linux and
82 Mac; Windows is not supported. Fixes `issue 1307`_.
83
84 - Dropped support for Python 3.6, which reached end-of-life on 2021-12-23.
85
86 - Updated Python 3.11 support to 3.11.0a4, fixing `issue 1294`_.
87
88 - Fix: the coverage data file is now created in a more robust way, to avoid
89 problems when multiple processes are trying to write data at once. Fixes
90 issues `1303 <issue 1303_>`_ and `883 <issue 883_>`_.
91
92 - Fix: a .gitignore file will only be written into the HTML report output
93 directory if the directory is empty. This should prevent certain unfortunate
94 accidents of writing the file where it is not wanted.
95
96 - Releases now have MacOS arm64 wheels for Apple Silicon, fixing `issue 1288`_.
97
98 .. _issue 587: https://github.com/nedbat/coveragepy/issues/587
99 .. _issue 624: https://github.com/nedbat/coveragepy/issues/624
100 .. _issue 626: https://github.com/nedbat/coveragepy/issues/626
101 .. _issue 883: https://github.com/nedbat/coveragepy/issues/883
102 .. _issue 1288: https://github.com/nedbat/coveragepy/issues/1288
103 .. _issue 1294: https://github.com/nedbat/coveragepy/issues/1294
104 .. _issue 1303: https://github.com/nedbat/coveragepy/issues/1303
105 .. _issue 1307: https://github.com/nedbat/coveragepy/issues/1307
106 .. _pull 1289: https://github.com/nedbat/coveragepy/pull/1289
107 .. _pull 1304: https://github.com/nedbat/coveragepy/pull/1304
108
109
22 .. _changes_62: 110 .. _changes_62:
23 111
24 Version 6.2 — 2021-11-26 112 Version 6.2 — 2021-11-26
25 ------------------------ 113 ------------------------
26 114
46 134
47 - API: Using ``suffix=False`` when constructing a Coverage object with 135 - API: Using ``suffix=False`` when constructing a Coverage object with
48 multiprocessing wouldn't suppress the data file suffix (`issue 989`_). This 136 multiprocessing wouldn't suppress the data file suffix (`issue 989`_). This
49 is now fixed. 137 is now fixed.
50 138
51 - Debug: The `coverage debug data` command will now sniff out combinable data 139 - Debug: The ``coverage debug data`` command will now sniff out combinable data
52 files, and report on all of them. 140 files, and report on all of them.
53 141
54 - Debug: The `coverage debug` command used to accept a number of topics at a 142 - Debug: The ``coverage debug`` command used to accept a number of topics at a
55 time, and show all of them, though this was never documented. This no longer 143 time, and show all of them, though this was never documented. This no longer
56 works, to allow for command-line options in the future. 144 works, to allow for command-line options in the future.
57 145
58 .. _issue 989: https://github.com/nedbat/coveragepy/issues/989 146 .. _issue 989: https://github.com/nedbat/coveragepy/issues/989
59 .. _issue 1012: https://github.com/nedbat/coveragepy/issues/1012 147 .. _issue 1012: https://github.com/nedbat/coveragepy/issues/1012
60 .. _issue 1082: https://github.com/nedbat/coveragepy/issues/1802 148 .. _issue 1082: https://github.com/nedbat/coveragepy/issues/1082
61 .. _issue 1203: https://github.com/nedbat/coveragepy/issues/1203 149 .. _issue 1203: https://github.com/nedbat/coveragepy/issues/1203
62 150
63 151
64 .. _changes_612: 152 .. _changes_612:
65 153

eric ide

mercurial