If you attempt to combine statement coverage data with branch coverage data,
coverage.py used to fail with the message "Can't combine arc data with line
data" or its reverse, "Can't combine line data with arc data." These
messages used internal terminology, making it hard for people to understand
the problem. They are now changed to mention "branch coverage data" and
"statement coverage data."
Fixed a minor branch coverage problem with wildcard match/case cases using
names or guard clauses.
Started testing on 3.13 free-threading (nogil) builds of Python. I'm not
claiming full support yet. Closes issue 1799_.
Fix error reporting on cached run after uninstallation of third party library (Shantanu, PR 17420)
Acknowledgements
Thanks to all mypy contributors who contributed to this release:
Alex Waygood
Ali Hamdan
Edward Paget
Evgeniy Slobodkin
Hashem
hesam
Hugo van Kemenade
Ihor
James Braza
Jelle Zijlstra
jhance
Jukka Lehtosalo
Loïc Simon
Marc Mueller
Matthieu Devlin
Michael R. Crusoe
Nikita Sobolev
Oskari Lehto
Riccardo Di Maio
Richard Si
roberfi
Roman Solomatin
Sam Xifaras
Shantanu
Spencer Brown
Srinivas Lade
Tamir Duberstein
youkaichao
I’d also like to thank my employer, Dropbox, for supporting mypy development.
Mypy 1.9
We’ve just uploaded mypy 1.9 to the Python Package Index (PyPI). Mypy is a static type checker for Python. This release includes new features, performance improvements and bug fixes. You can install it as follows:
python3 -m pip install -U mypy
You can read the full documentation for this release on Read the Docs.
Breaking Changes
Because the version of typeshed we use in mypy 1.9 doesn't support 3.7, neither does mypy 1.9. (Jared Hance, PR 16883)
... (truncated)
Commits
c28b525 [1.10 backport] Fix error reporting on cached run after uninstallation of thi...
Adopted the bdist_wheel command from the wheel project -- by :user:agronholm (#1386)
Improve error message when pkg_resources.ZipProvider tries to extract resources with a missing Egg -- by :user:Avasam
Added variables and parameter type annotations to pkg_resources to be nearly on par with typeshed.* -- by :user:Avasam
* Excluding TypeVar and overload. Return types are currently inferred. (#4246)
Migrated Setuptools' own config to pyproject.toml (#4310)
Bugfixes
Prevent a TypeError: 'NoneType' object is not callable when shutil_rmtree is called without an onexc parameter on Python<=3.11 -- by :user:Avasam (#4382)
Replace use of mktemp with can_symlink from the stdlib test suite. (#4403)
Improvement for attr: directives in configuration to handle
more edge cases related to complex package_dir. (#4405)
Fix SystemError on Python 3.13 and Windows when starting time travelling.
Thanks to Bernát Gábor for the report in Issue [#456](https://github.com/adamchainz/time-machine/issues/456) <https://github.com/adamchainz/time-machine/issues/456>__.
Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.
Dependabot commands and options
You can trigger Dependabot actions by commenting on this PR:
- `@dependabot rebase` will rebase this PR
- `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it
- `@dependabot merge` will merge this PR after your CI passes on it
- `@dependabot squash and merge` will squash and merge this PR after your CI passes on it
- `@dependabot cancel merge` will cancel a previously requested merge and block automerging
- `@dependabot reopen` will reopen this PR if it is closed
- `@dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
- `@dependabot show ignore conditions` will show all of the ignore conditions of the specified dependency
- `@dependabot ignore major version` will close this group update PR and stop Dependabot creating any more for the specific dependency's major version (unless you unignore this specific dependency's major version or upgrade to it yourself)
- `@dependabot ignore minor version` will close this group update PR and stop Dependabot creating any more for the specific dependency's minor version (unless you unignore this specific dependency's minor version or upgrade to it yourself)
- `@dependabot ignore ` will close this group update PR and stop Dependabot creating any more for the specific dependency (unless you unignore this specific dependency or upgrade to it yourself)
- `@dependabot unignore ` will remove all of the ignore conditions of the specified dependency
- `@dependabot unignore ` will remove the ignore condition of the specified dependency and ignore conditions
Bumps the dev-dependencies group in /backend with 6 updates:
7.5.3
7.5.4
1.10.0
1.10.1
0.4.8
0.5.0
70.0.0
70.2.0
0.25.2
0.25.3
2.14.1
2.14.2
Updates
coverage
from 7.5.3 to 7.5.4Changelog
Sourced from coverage's changelog.
Commits
22c09c6
docs: sample HTML for 7.5.49e16381
docs: prep for 7.5.4fba9b9e
docs: link issue 1799 from the changelogf124de8
build: no longer download kits to upload them9516cf6
build: hash-pin all actionsc6e0985
build: finish up the publish action4a49458
build: get the latest dist run id for publishingfb15efa
build: pin hashes for publishing actionsc20af95
build: use the correct item: github.event.actionccbab15
build: dump all the github actions dataUpdates
mypy
from 1.10.0 to 1.10.1Changelog
Sourced from mypy's changelog.
... (truncated)
Commits
c28b525
[1.10 backport] Fix error reporting on cached run after uninstallation of thi...Updates
ruff
from 0.4.8 to 0.5.0Release notes
Sourced from ruff's releases.
... (truncated)
Changelog
Sourced from ruff's changelog.
... (truncated)
Commits
244b923
Add necessary permissions for cargo-dist Docker build (#12072)a8b48fc
Release v0.5.0 (#12068)04c8597
[flake8-simplify
] Stabilize detection of Yoda conditions for "constant" col...4029a25
[Ruff v0.5] Stabilise 15 pylint rules (#12051)0917ce1
Update documentation to mentionetcetera
crate instead ofdirs
for user c...22cebdf
Add server config to filter out syntax error diagnostics (#12059)72b6c26
SimplifyLinterResult
, avoid cloningParseError
(#11903)73851e7
Avoid displaying syntax error as log message (#11902)e7b4969
RemoveE999
as a rule, disallow any disablement methods for syntax error (#...c98d8a0
[pyflakes
] Stabilize detection of is comparisons to lists, etc. (F632
) (#...Updates
setuptools
from 70.0.0 to 70.2.0Changelog
Sourced from setuptools's changelog.
... (truncated)
Commits
3accd5c
Bump version: 70.1.1 → 70.2.0719192a
Merge pull request #4430 from pypa/infra/refresh-skeletone32f8df
Merge pull request #4444 from pypa/feature/distutils-f3b225449343ac6f
Merge https://github.com/pypa/distutils into feature/distutils-f3b2254494e6d97d
Prefer relative imports for better portability.449021c
Merge pull request #4442 from DimitriPapadopoulos/default97e3c8f
Merge pull request #4452 from pypa/docs/1648-interpolationa9a5400
Add a section on interpolation.31c8599
Remove 'normally supplied to setup()'. Declarative styles are normalized.ad8c7ba
Merge pull request #4450 from DimitriPapadopoulos/TRYUpdates
responses
from 0.25.2 to 0.25.3Release notes
Sourced from responses's releases.
Changelog
Sourced from responses's changelog.
Commits
8395a8d
release: 0.25.34f0ce0d
Update CHANGES for #715b0573d2
Addressed bug where recording requests does not save headers to file. Closes ...22fc9e8
Merge branch 'release/0.25.2'Updates
time-machine
from 2.14.1 to 2.14.2Changelog
Sourced from time-machine's changelog.
Commits
eec0d7d
Version 2.14.2d205a63
Fix System Error on Python 3.13 and Windows (#457)040a757
Improve MyPy configurationb0ca640
Tidy pyproject.toml readme and license fieldsa02a11a
[pre-commit.ci] pre-commit autoupdate (#455)891b2ce
Upgrade requirements (#454)3740ccf
[pre-commit.ci] pre-commit autoupdate (#453)f27a0ab
[pre-commit.ci] pre-commit autoupdate (#452)f122d38
Upgrade requirements (#451)d9746bd
[pre-commit.ci] pre-commit autoupdate (#449)Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting
@dependabot rebase
.Dependabot commands and options
You can trigger Dependabot actions by commenting on this PR: - `@dependabot rebase` will rebase this PR - `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it - `@dependabot merge` will merge this PR after your CI passes on it - `@dependabot squash and merge` will squash and merge this PR after your CI passes on it - `@dependabot cancel merge` will cancel a previously requested merge and block automerging - `@dependabot reopen` will reopen this PR if it is closed - `@dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually - `@dependabot show