Skip to content

Commit 352f334

Browse files
build(deps-dev): bump the uv-pip group across 1 directory with 2 updates (#404)
Bumps the uv-pip group with 2 updates in the / directory: [mypy](https://github.com/python/mypy) and [meson](https://github.com/mesonbuild/meson). Updates `mypy` from 2.1.0 to 2.3.0 <details> <summary>Changelog</summary> <p><em>Sourced from <a href="https://github.com/python/mypy/blob/master/CHANGELOG.md">mypy's changelog</a>.</em></p> <blockquote> <h1>Mypy Release Notes</h1> <h2>Next Release</h2> <h3>Packaging changes</h3> <ul> <li>No longer provide mypyc-accelerated wheels for macOS x86_64 [mypyc-wheels <a href="https://redirect.github.com/python/mypy/issues/119">#119</a>](<a href="https://redirect.github.com/mypyc/mypy_mypyc-wheels/pull/119">mypyc/mypy_mypyc-wheels#119</a>)</li> </ul> <h2>Mypy 2.3</h2> <p>We've just uploaded mypy 2.3.0 to the Python Package Index (<a href="https://pypi.org/project/mypy/">PyPI</a>). Mypy is a static type checker for Python. This release includes new features, performance improvements and bug fixes. You can install it as follows:</p> <pre><code>python3 -m pip install -U mypy </code></pre> <p>You can read the full documentation for this release on <a href="http://mypy.readthedocs.io">Read the Docs</a>.</p> <h3>The Upcoming Switch to the New Native Parser</h3> <p>We are planning to enable the new native parser (<code>--native-parser</code>) by default soon. We recommend that you test the native parser in your projects and report any issues in the <a href="https://github.com/python/mypy/issues">mypy issue tracker</a>.</p> <h3>Mypyc Free-threading Memory Safety</h3> <p>Free-threaded Python builds that don't have the GIL require additional synchronization primitives or lock-free algorithms to ensure memory safety when there are race conditions (for example, when a thread reads a list item while another thread writes the same list item concurrently). This release greatly improves memory safety of free threading.</p> <p>List operations are now memory-safe on free threaded Python builds, even in the presence of race conditions. This has some performance cost. For list-heavy workloads, using <code>librt.vecs.vec</code> instead of list is often significantly faster, but note that <code>vec</code> is not (and likely won't be) fully memory safe, and the user is expected to avoid race conditions. The newly introduced <code>librt.threading.Lock</code> helps with this. Using variable-length tuples can also be more efficient than lists, since tuples are immutable and don't require expensive synchronization to ensure memory safety.</p> <p>Instance attribute access is also (mostly) memory safe now on free-threaded builds in the presence of race conditions. We are planning to fix the remaining unsafe cases in a future release.</p> <p>Full list of changes:</p> <ul> <li>Make attribute access memory safe on free-threaded builds (Jukka Lehtosalo, PR <a href="https://redirect.github.com/python/mypy/pull/21705">21705</a>)</li> <li>Fix unsafe borrowing of instance attributes with free-threading (Jukka Lehtosalo, PR <a href="https://redirect.github.com/python/mypy/pull/21688">21688</a>)</li> <li>Make list get/set item more memory safe on free-threaded builds (Jukka Lehtosalo, PR <a href="https://redirect.github.com/python/mypy/pull/21683">21683</a>)</li> <li>Don't borrow list items on free-threaded builds (Jukka Lehtosalo, PR <a href="https://redirect.github.com/python/mypy/pull/21679">21679</a>)</li> <li>Make multiple assignment from list memory-safe on free-threaded builds (Jukka Lehtosalo, PR <a href="https://redirect.github.com/python/mypy/pull/21684">21684</a>)</li> </ul> <!-- raw HTML omitted --> </blockquote> <p>... (truncated)</p> </details> <details> <summary>Commits</summary> <ul> <li><a href="https://github.com/python/mypy/commit/8aabf8435357eaffceca7237f371e293b8168e54"><code>8aabf84</code></a> Drop +dev from version</li> <li><a href="https://github.com/python/mypy/commit/4d8ad2ab5e86c99581b73775f2c00b9b8265b589"><code>4d8ad2a</code></a> Update changelog for 2.3 release (<a href="https://redirect.github.com/python/mypy/issues/21728">#21728</a>)</li> <li><a href="https://github.com/python/mypy/commit/2c2154672040c52e481f423854d104e6cf172585"><code>2c21546</code></a> [mypyc] Update documentation of race conditions under free threading (<a href="https://redirect.github.com/python/mypy/issues/21726">#21726</a>)</li> <li><a href="https://github.com/python/mypy/commit/a9f62a3cf98a58a7a2607b7c81695802b39f5edc"><code>a9f62a3</code></a> [mypyc] Make attribute access memory safe on free-threaded builds (<a href="https://redirect.github.com/python/mypy/issues/21705">#21705</a>)</li> <li><a href="https://github.com/python/mypy/commit/0faa413ebf7c924a864ef5dabd70303d898e7766"><code>0faa413</code></a> Use <code>PYODIDE</code> environment variable for Emscripten cross-compilation detection...</li> <li><a href="https://github.com/python/mypy/commit/3d75cdb09f0928fa8b83e5ef03572ed878ac8d09"><code>3d75cdb</code></a> [mypyc] Borrow final attributes more aggressively (<a href="https://redirect.github.com/python/mypy/issues/21702">#21702</a>)</li> <li><a href="https://github.com/python/mypy/commit/24c237d85b48f618e655ffff1dc0f19089d9b599"><code>24c237d</code></a> [mypyc] Improve documentation of Final (<a href="https://redirect.github.com/python/mypy/issues/21713">#21713</a>)</li> <li><a href="https://github.com/python/mypy/commit/b5be217392b9b2771d1764066b9d600bf93ce7a8"><code>b5be217</code></a> [mypyc] Update free threading Python compatibility docs (<a href="https://redirect.github.com/python/mypy/issues/21711">#21711</a>)</li> <li><a href="https://github.com/python/mypy/commit/cbcb51add3094ec91b29cdd4c624943bf251b63f"><code>cbcb51a</code></a> Narrow for frozendict membership check (<a href="https://redirect.github.com/python/mypy/issues/21709">#21709</a>)</li> <li><a href="https://github.com/python/mypy/commit/af2bc0f3cc7f2f129f0c11294158d0c292692c3d"><code>af2bc0f</code></a> Sync typeshed (<a href="https://redirect.github.com/python/mypy/issues/21707">#21707</a>)</li> <li>Additional commits viewable in <a href="https://github.com/python/mypy/compare/v2.1.0...v2.3.0">compare view</a></li> </ul> </details> <br /> Updates `meson` from 1.11.1 to 1.11.2 <details> <summary>Commits</summary> <ul> <li><a href="https://github.com/mesonbuild/meson/commit/ff84a1ab2699385f67eea990260a20beb2b46c98"><code>ff84a1a</code></a> Bump versions to 1.11.2 for release</li> <li><a href="https://github.com/mesonbuild/meson/commit/6070a3bc17d0e8603048a61f280094c4692c46e9"><code>6070a3b</code></a> ci: Disable git repository ownership checks</li> <li><a href="https://github.com/mesonbuild/meson/commit/47ccc28516e46e893ef7c82e0b237d18b25522fc"><code>47ccc28</code></a> MacOS Qt 6 private dir fix from Carlo Cabrera.</li> <li><a href="https://github.com/mesonbuild/meson/commit/a0efa2840ab2dd45d0890cb0f317b1184db0235a"><code>a0efa28</code></a> Update used Qt version in macOS.</li> <li><a href="https://github.com/mesonbuild/meson/commit/8b7d80f2b68e49030e49a99b7e9281b61673b297"><code>8b7d80f</code></a> Update default Qt version to 6.</li> <li><a href="https://github.com/mesonbuild/meson/commit/be89674aa455049f47e634bc5faab3cde022232b"><code>be89674</code></a> tests: skip importstd with gcc on Windows</li> <li><a href="https://github.com/mesonbuild/meson/commit/03bfacaf662acf846575c3b069ca2bd4c8be7e73"><code>03bfaca</code></a> mconf: fix crash printing list-valued option augments</li> <li><a href="https://github.com/mesonbuild/meson/commit/5727f246fd2eebd370943f8d207cfd34ad689e0b"><code>5727f24</code></a> platform: implement path_has_root() on OS/2</li> <li><a href="https://github.com/mesonbuild/meson/commit/5388b7d6087b5748c5665f1c0bc5c0837feaefe1"><code>5388b7d</code></a> symbolextractor: check the validity of stderr output on OS/2</li> <li><a href="https://github.com/mesonbuild/meson/commit/aa5f7ae433be6af731ecc6b0d7f92df3b13475b9"><code>aa5f7ae</code></a> codegen: do not use Programs.for_machine</li> <li>Additional commits viewable in <a href="https://github.com/mesonbuild/meson/compare/1.11.1...1.11.2">compare view</a></li> </ul> </details> <br /> Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
1 parent 250e35f commit 352f334

3 files changed

Lines changed: 171 additions & 166 deletions

File tree

docs/pyproject.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ dynamic = ["version"]
1616

1717
[dependency-groups]
1818
dev = [
19-
"mypy==2.1.0",
19+
"mypy==2.3.0",
2020
"ruff==0.15.20",
2121
]
2222
docs = [

pyproject.toml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -52,12 +52,12 @@ manifest-path = "bindings/python/Cargo.toml"
5252

5353
[dependency-groups]
5454
dev = [
55-
"mypy==2.1.0",
55+
"mypy==2.3.0",
5656
"pre-commit>=4.3.0",
5757
"ruff==0.15.20",
5858
]
5959
test = [
60-
"meson==1.11.1",
60+
"meson==1.11.2",
6161
]
6262

6363
[tool.uv]

0 commit comments

Comments
 (0)