Commit message (Collapse) | Author | Age | Files | Lines | ||
---|---|---|---|---|---|---|
... | ||||||
* | docs: keep track of an issue I wrote that this pin avoids | Ned Batchelder | 2023-02-14 | 1 | -0/+1 | |
| | ||||||
* | build: pin setuptools to avoid their version-checking bug | Ned Batchelder | 2023-02-14 | 12 | -96/+128 | |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | https://github.com/pypa/packaging/issues/678 Nightly builds were failing because newer setuptools didn't like the Python version number: ``` % .tox/anypy/bin/python -c "import pkg_resources as p; p.load_entry_point('coverage', 'console_scripts', 'coverage')()" Traceback (most recent call last): File "/Users/nedbatchelder/coverage/trunk/.tox/anypy/lib/python3.12/site-packages/pkg_resources/__init__.py", line 2711, in _dep_map return self.__dep_map ^^^^^^^^^^^^^^ File "/Users/nedbatchelder/coverage/trunk/.tox/anypy/lib/python3.12/site-packages/pkg_resources/__init__.py", line 2826, in __getattr__ raise AttributeError(attr) AttributeError: _Distribution__dep_map During handling of the above exception, another exception occurred: Traceback (most recent call last): File "<string>", line 1, in <module> File "/Users/nedbatchelder/coverage/trunk/.tox/anypy/lib/python3.12/site-packages/pkg_resources/__init__.py", line 522, in load_entry_point return get_distribution(dist).load_entry_point(group, name) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/nedbatchelder/coverage/trunk/.tox/anypy/lib/python3.12/site-packages/pkg_resources/__init__.py", line 2855, in load_entry_point return ep.load() ^^^^^^^^^ File "/Users/nedbatchelder/coverage/trunk/.tox/anypy/lib/python3.12/site-packages/pkg_resources/__init__.py", line 2467, in load self.require(*args, **kwargs) File "/Users/nedbatchelder/coverage/trunk/.tox/anypy/lib/python3.12/site-packages/pkg_resources/__init__.py", line 2489, in require reqs = self.dist.requires(self.extras) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/nedbatchelder/coverage/trunk/.tox/anypy/lib/python3.12/site-packages/pkg_resources/__init__.py", line 2746, in requires dm = self._dep_map ^^^^^^^^^^^^^ File "/Users/nedbatchelder/coverage/trunk/.tox/anypy/lib/python3.12/site-packages/pkg_resources/__init__.py", line 2713, in _dep_map self.__dep_map = self._filter_extras(self._build_dep_map()) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/nedbatchelder/coverage/trunk/.tox/anypy/lib/python3.12/site-packages/pkg_resources/__init__.py", line 2728, in _filter_extras invalid_marker(marker) or not evaluate_marker(marker) ^^^^^^^^^^^^^^^^^^^^^^ File "/Users/nedbatchelder/coverage/trunk/.tox/anypy/lib/python3.12/site-packages/pkg_resources/__init__.py", line 1415, in invalid_marker evaluate_marker(text) File "/Users/nedbatchelder/coverage/trunk/.tox/anypy/lib/python3.12/site-packages/pkg_resources/__init__.py", line 1433, in evaluate_marker return marker.evaluate() ^^^^^^^^^^^^^^^^^ File "/Users/nedbatchelder/coverage/trunk/.tox/anypy/lib/python3.12/site-packages/pkg_resources/_vendor/packaging/markers.py", line 245, in evaluate return _evaluate_markers(self._markers, current_environment) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/nedbatchelder/coverage/trunk/.tox/anypy/lib/python3.12/site-packages/pkg_resources/_vendor/packaging/markers.py", line 151, in _evaluate_markers groups[-1].append(_eval_op(lhs_value, op, rhs_value)) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/nedbatchelder/coverage/trunk/.tox/anypy/lib/python3.12/site-packages/pkg_resources/_vendor/packaging/markers.py", line 109, in _eval_op return spec.contains(lhs, prereleases=True) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/nedbatchelder/coverage/trunk/.tox/anypy/lib/python3.12/site-packages/pkg_resources/_vendor/packaging/specifiers.py", line 565, in contains normalized_item = _coerce_version(item) ^^^^^^^^^^^^^^^^^^^^^ File "/Users/nedbatchelder/coverage/trunk/.tox/anypy/lib/python3.12/site-packages/pkg_resources/_vendor/packaging/specifiers.py", line 36, in _coerce_version version = Version(version) ^^^^^^^^^^^^^^^^ File "/Users/nedbatchelder/coverage/trunk/.tox/anypy/lib/python3.12/site-packages/pkg_resources/_vendor/packaging/version.py", line 197, in __init__ raise InvalidVersion(f"Invalid version: '{version}'") pkg_resources.extern.packaging.version.InvalidVersion: Invalid version: '3.12.0a5+' ``` | |||||
* | refactor: no placebos, use true Optional | Ned Batchelder | 2023-02-14 | 3 | -50/+40 | |
| | | | | | | For objects that truly might not exist, use Optional. Some objects will always exist eventually, and for those we have some null implementation standins to use without making new placebo classes. | |||||
* | docs: don't show type hints in the signature | Ned Batchelder | 2023-02-12 | 1 | -0/+6 | |
| | | | | | List the parameters separately, with type hints. This leaves a list of params with dashes and no description, but we can get to that later. | |||||
* | refactor: make placebos private | Ned Batchelder | 2023-02-12 | 1 | -7/+7 | |
| | ||||||
* | fix: Path objects are ok for data_file and config_file. #1552 | Ned Batchelder | 2023-02-12 | 7 | -18/+45 | |
| | ||||||
* | refactor: use placebos instead of non-existent attributes | Ned Batchelder | 2023-02-11 | 3 | -37/+72 | |
| | | | | | Details of the problem and thought process: https://nedbatchelder.com/blog/202302/late_initialization_with_mypy.html | |||||
* | mypy: typeshed bug got fixed | Ned Batchelder | 2023-02-09 | 1 | -3/+2 | |
| | ||||||
* | test: adapt to latest pylint | Ned Batchelder | 2023-02-09 | 8 | -9/+10 | |
| | ||||||
* | chore: make upgrade | Ned Batchelder | 2023-02-09 | 10 | -412/+432 | |
| | ||||||
* | fix: only write "Wrote report" message if report succeeded. | Ned Batchelder | 2023-02-08 | 3 | -18/+22 | |
| | | | | | | | For example, see [issue 1554](https://github.com/nedbat/coveragepy/issues/1554) for the previous misleading behavior when the exception being raised wasn't a CoverageException. | |||||
* | feat: simplify purges_files | Ned Batchelder | 2023-02-08 | 5 | -130/+53 | |
| | | | | Also, move tests to test_data.py, and finish covering the code. | |||||
* | build: next version will be 7.2.0 | Ned Batchelder | 2023-02-08 | 1 | -1/+1 | |
| | ||||||
* | build: an env var to allow no-network tox runs | Ned Batchelder | 2023-02-08 | 1 | -2/+4 | |
| | | | | (for airplanes) | |||||
* | feat: add purge_files method to CoverageData + unit tests for it (#1547) | Wingware Development | 2023-02-04 | 2 | -0/+142 | |
| | | | | | | | | | | | | | | | * Add purge_files method to CoverageData, to allow for selective removal and update of coverage data. * Fix assert syntax so it's not true; this code isn't reached in the test unless it fails and then it would have failed to fail. * Remove trailing whitespace; did not expect this would matter on a blank line. * Add type annotations required by mypy --------- Co-authored-by: Stephan Deibel <sdeibel@wingware.com> | |||||
* | fix: two typing tweaks | Ned Batchelder | 2023-02-04 | 2 | -1/+2 | |
| | ||||||
* | docs: paperwork for #1543 | Ned Batchelder | 2023-02-03 | 2 | -0/+7 | |
| | | | | This is about the fix in commit 96af3eae92a7b5dc1053be194820adf47c17777a | |||||
* | fix: add safety for empty stack on shutdown. (#1543) | Russell Keith-Magee | 2023-02-03 | 1 | -3/+11 | |
| | | | | | | | | | * Add safety for empty stack on shutdown. * Correct line length linting issue. --------- Co-authored-by: Ned Batchelder <ned@nedbatchelder.com> | |||||
* | docs: paperwork for py.typed | Ned Batchelder | 2023-02-02 | 2 | -1/+5 | |
| | ||||||
* | add py.typed | KotlinIsland | 2023-02-02 | 2 | -0/+1 | |
| | ||||||
* | build: some files need to be excused from usual formatting rules | Ned Batchelder | 2023-01-30 | 3 | -2/+8 | |
| | ||||||
* | build: no need for check_eol, pylint does most of it | Ned Batchelder | 2023-01-30 | 2 | -73/+0 | |
| | ||||||
* | build(docs): correct [gh-actions] to [gh] | Ned Batchelder | 2023-01-28 | 4 | -4/+4 | |
| | ||||||
* | exp: an unsupport select_contexts.py #668 | Ned Batchelder | 2023-01-27 | 1 | -0/+66 | |
| | ||||||
* | style: remove needless trailing commas | Ned Batchelder | 2023-01-26 | 3 | -3/+3 | |
| | ||||||
* | build: bump version | Ned Batchelder | 2023-01-24 | 2 | -2/+8 | |
| | ||||||
* | docs: sample HTML for 7.1.07.1.0 | Ned Batchelder | 2023-01-24 | 11 | -41/+41 | |
| | ||||||
* | docs: prep for 7.1.0 | Ned Batchelder | 2023-01-24 | 3 | -13/+15 | |
| | ||||||
* | perf: avoid needless sql operations. #1538 | Ned Batchelder | 2023-01-24 | 3 | -20/+23 | |
| | | | | | | | | | | If the set of arcs is empty, skip the SQL operations. We also need to allow setting a file tracer for an unmeasured file, to avoid the Cython problem whose fix caused the performance issue in the first place. TBH, I don't know why we had to prevent file tracers on unmeasured files. Perhaps pytest-cov has changed to avoid the behavior that caused problems. | |||||
* | test: more flexibility in setting a static context locally | Ned Batchelder | 2023-01-24 | 2 | -1/+3 | |
| | ||||||
* | fix: make tracing messages easier to understand | Ned Batchelder | 2023-01-22 | 1 | -2/+2 | |
| | ||||||
* | test: more tests of debug output control | Ned Batchelder | 2023-01-22 | 2 | -5/+14 | |
| | ||||||
* | build: igor tweaks for scriv start marker | Ned Batchelder | 2023-01-22 | 1 | -3/+5 | |
| | ||||||
* | feat: the debug output file can be specified in the config file. #1319 | Ned Batchelder | 2023-01-22 | 7 | -44/+126 | |
| | ||||||
* | docs: explain how to use ``--debug=trace`` | Ned Batchelder | 2023-01-22 | 3 | -3/+20 | |
| | ||||||
* | chore: make upgrade to get eventlet 0.33.3 | Ned Batchelder | 2023-01-17 | 5 | -94/+114 | |
| | ||||||
* | build: eventlet 0.33.3 says they fixed the problem | Ned Batchelder | 2023-01-17 | 1 | -3/+0 | |
| | ||||||
* | chore: make upgrade | Ned Batchelder | 2023-01-17 | 4 | -15/+13 | |
| | ||||||
* | build: unpin dnspython with a var to fix eventlet | Ned Batchelder | 2023-01-17 | 2 | -4/+3 | |
| | ||||||
* | docs: remove mentions of the testing-in-python mailing list. | Ned Batchelder | 2023-01-16 | 3 | -12/+11 | |
| | | | | The list is defunct, and not a good place to get help. | |||||
* | chore: make upgrade | Ned Batchelder | 2023-01-16 | 3 | -6/+48 | |
| | ||||||
* | build: use scriv to create GitHub releases | Ned Batchelder | 2023-01-16 | 7 | -150/+19 | |
| | ||||||
* | build(docs): this version needs to stay up to date | Ned Batchelder | 2023-01-16 | 1 | -0/+1 | |
| | ||||||
* | chore: make upgrade | Ned Batchelder | 2023-01-16 | 3 | -9/+9 | |
| | ||||||
* | build: tox fixed the bug in 4.3.2 | Ned Batchelder | 2023-01-16 | 1 | -3/+0 | |
| | | | | https://github.com/tox-dev/tox/pull/2873 | |||||
* | build: tox 4.3.0 borked environment substitution, pin it | Ned Batchelder | 2023-01-16 | 4 | -9/+12 | |
| | ||||||
* | build: dnspython has a problem at the moment, pin it | Ned Batchelder | 2023-01-16 | 2 | -4/+10 | |
| | ||||||
* | chore: make upgrade | Ned Batchelder | 2023-01-16 | 9 | -119/+149 | |
| | ||||||
* | build: switch from tox-gh-actions to tox-gh, and tox 4 | Ned Batchelder | 2023-01-16 | 3 | -12/+10 | |
| | ||||||
* | docs: tweak quickstart to make basic step clearer | Ned Batchelder | 2023-01-13 | 1 | -4/+10 | |
| |