A new argument --module-name was added to the cython command to
provide the (one) exact target module name from the command line.
Patch by Matthew Brett and h-vetinari. (Github issue #4906)
Bugs fixed
Use importlib.util.find_spec() instead of the deprecated importlib.find_loader()
function when setting up the package path at import-time.
Patch by Matti Picus. (Github issue :issue:4764)
Require the C compiler to support the two-arg form of va_start
on Python 3.10 and higher.
Patch by Thomas Caswell. (Github issue :issue:4820)
Make fused_type subscriptable in Shadow.py.
Patch by Pfebrer. (Github issue :issue:4842)
Fix the incorrect code generation of the target type in bytearray loops.
Patch by Kenrick Everett. (Github issue :issue:4108)
Atomic refcounts for memoryviews were not used on some GCC versions by accident.
Patch by Sam Gross. (Github issue :issue:4915)
Silence some GCC -Wconversion warnings in C utility code.
Patch by Lisandro Dalcin. (Github issue :issue:4854)
Tuple multiplication was ignored in expressions such as [*(1,) * 2].
Patch by David Woods. (Github issue :issue:4864)
Calling append methods on extension types could fail to find the method
in some cases.
Patch by David Woods. (Github issue :issue:4828)
Ensure that object buffers (e.g. ndarray[object, ndim=1]) containing
NULL pointers are safe to use, returning None instead of the NULL
pointer.
Patch by Sebastian Berg. (Github issue :issue:4859)
Using memoryview typed arguments in inner functions is now rejected as unsupported.
Patch by David Woods. (Github issue :issue:4798)
Compilation could fail on systems (e.g. FIPS) that block MD5 checksums at runtime.
(Github issue :issue:4909)
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 ignore this major version will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
@dependabot ignore this minor version will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
@dependabot ignore this dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)
Bumps [cython](https://github.com/cython/cython) from 0.29.26 to 0.29.31.
<details>
<summary>Changelog</summary>
<p><em>Sourced from <a href="https://github.com/cython/cython/blob/master/CHANGES.rst">cython's changelog</a>.</em></p>
<blockquote>
<h1>0.29.31 (2022-07-27)</h1>
<h2>Features added</h2>
<ul>
<li>A new argument <code>--module-name</code> was added to the <code>cython</code> command to
provide the (one) exact target module name from the command line.
Patch by Matthew Brett and h-vetinari. (Github issue <a href="https://github-redirect.dependabot.com/cython/cython/issues/4906">#4906</a>)</li>
</ul>
<h2>Bugs fixed</h2>
<ul>
<li>
<p>Use <code>importlib.util.find_spec()</code> instead of the deprecated <code>importlib.find_loader()</code>
function when setting up the package path at import-time.
Patch by Matti Picus. (Github issue :issue:<code>4764</code>)</p>
</li>
<li>
<p>Require the C compiler to support the two-arg form of <code>va_start</code>
on Python 3.10 and higher.
Patch by Thomas Caswell. (Github issue :issue:<code>4820</code>)</p>
</li>
<li>
<p>Make <code>fused_type</code> subscriptable in Shadow.py.
Patch by Pfebrer. (Github issue :issue:<code>4842</code>)</p>
</li>
<li>
<p>Fix the incorrect code generation of the target type in <code>bytearray</code> loops.
Patch by Kenrick Everett. (Github issue :issue:<code>4108</code>)</p>
</li>
<li>
<p>Atomic refcounts for memoryviews were not used on some GCC versions by accident.
Patch by Sam Gross. (Github issue :issue:<code>4915</code>)</p>
</li>
<li>
<p>Silence some GCC <code>-Wconversion</code> warnings in C utility code.
Patch by Lisandro Dalcin. (Github issue :issue:<code>4854</code>)</p>
</li>
<li>
<p>Tuple multiplication was ignored in expressions such as <code>[*(1,) * 2]</code>.
Patch by David Woods. (Github issue :issue:<code>4864</code>)</p>
</li>
<li>
<p>Calling <code>append</code> methods on extension types could fail to find the method
in some cases.
Patch by David Woods. (Github issue :issue:<code>4828</code>)</p>
</li>
<li>
<p>Ensure that object buffers (e.g. <code>ndarray[object, ndim=1]</code>) containing
<code>NULL</code> pointers are safe to use, returning <code>None</code> instead of the <code>NULL</code>
pointer.
Patch by Sebastian Berg. (Github issue :issue:<code>4859</code>)</p>
</li>
<li>
<p>Using memoryview typed arguments in inner functions is now rejected as unsupported.
Patch by David Woods. (Github issue :issue:<code>4798</code>)</p>
</li>
<li>
<p>Compilation could fail on systems (e.g. FIPS) that block MD5 checksums at runtime.
(Github issue :issue:<code>4909</code>)</p>
</li>
</ul>
<!-- raw HTML omitted -->
</blockquote>
<p>... (truncated)</p>
</details>
<details>
<summary>Commits</summary>
<ul>
<li><a href="https://github.com/cython/cython/commit/b6cb192f29da5af63f252c4f831a0b71f73ac1da"><code>b6cb192</code></a> Prepare release of 0.29.31.</li>
<li><a href="https://github.com/cython/cython/commit/6cede008009c6a5bf5c1414591ca79ec62f56256"><code>6cede00</code></a> [0.29] Add --module-name argument to cython command (<a href="https://github-redirect.dependabot.com/cython/cython/issues/4906">GH-4906</a>)</li>
<li><a href="https://github.com/cython/cython/commit/34ce43c8f3dafda734d59345731a61b8200c3b94"><code>34ce43c</code></a> Update changelog.</li>
<li><a href="https://github.com/cython/cython/commit/72848313d8b8f06c14ae171e66d6f09f5312c325"><code>7284831</code></a> Backport "noexcept" function modifier to Cython 0.29.x (<a href="https://github-redirect.dependabot.com/cython/cython/issues/4903">GH-4903</a>)</li>
<li><a href="https://github.com/cython/cython/commit/3de4be40a1642ffeec18d783cde9d285622b24ce"><code>3de4be4</code></a> [0.29] Add configuration for the "nogil" CPython fork (<a href="https://github-redirect.dependabot.com/cython/cython/issues/4912">GH-4912</a>) (<a href="https://github-redirect.dependabot.com/cython/cython/issues/4914">GH-4914</a>)</li>
<li><a href="https://github.com/cython/cython/commit/f1748bb86bf7edb731728ac366e129c1be9bcb61"><code>f1748bb</code></a> [0.29] Use atomic reference counting in MemoryView in more cases (<a href="https://github-redirect.dependabot.com/cython/cython/issues/4912">GH-4912</a>) (G...</li>
<li><a href="https://github.com/cython/cython/commit/d5835270a42fcedd19805c135fbb8afdd873c362"><code>d583527</code></a> Update macos version for github actions (<a href="https://github-redirect.dependabot.com/cython/cython/issues/4917">#4917</a>)</li>
<li><a href="https://github.com/cython/cython/commit/3cb3c2fd3a1359c46c81675610f7458ac6dcf223"><code>3cb3c2f</code></a> Minor code cleanups after 3a373e2ccdddc79202d9ed13edc85d4b95616b26.</li>
<li><a href="https://github.com/cython/cython/commit/3a373e2ccdddc79202d9ed13edc85d4b95616b26"><code>3a373e2</code></a> Make pickle checksum calculation succeed even if one of the hash algorithms i...</li>
<li><a href="https://github.com/cython/cython/commit/4d626caa314c8d6de741185e3ec11199effb8f22"><code>4d626ca</code></a> CI: Remove "allow_failures" for Python 3.11 to make sure we notice failures d...</li>
<li>Additional commits viewable in <a href="https://github.com/cython/cython/compare/0.29.26...0.29.31">compare view</a></li>
</ul>
</details>
<br />
[](https://docs.github.com/en/github/managing-security-vulnerabilities/about-dependabot-security-updates#about-compatibility-scores)
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-automerge-start)
[//]: # (dependabot-automerge-end)
---
<details>
<summary>Dependabot commands and options</summary>
<br />
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 ignore this major version` will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
- `@dependabot ignore this minor version` will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
- `@dependabot ignore this dependency` will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)
</details>
Blocking a user prevents them from interacting with repositories, such as opening or commenting on pull requests or issues. Learn more about blocking a user.
Bumps cython from 0.29.26 to 0.29.31.
Changelog
Sourced from cython's changelog.
... (truncated)
Commits
b6cb192Prepare release of 0.29.31.6cede00[0.29] Add --module-name argument to cython command (GH-4906)34ce43cUpdate changelog.7284831Backport "noexcept" function modifier to Cython 0.29.x (GH-4903)3de4be4[0.29] Add configuration for the "nogil" CPython fork (GH-4912) (GH-4914)f1748bb[0.29] Use atomic reference counting in MemoryView in more cases (GH-4912) (G...d583527Update macos version for github actions (#4917)3cb3c2fMinor code cleanups after 3a373e2ccdddc79202d9ed13edc85d4b95616b26.3a373e2Make pickle checksum calculation succeed even if one of the hash algorithms i...4d626caCI: Remove "allow_failures" for Python 3.11 to make sure we notice failures d...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 rebasewill rebase this PR@dependabot recreatewill recreate this PR, overwriting any edits that have been made to it@dependabot mergewill merge this PR after your CI passes on it@dependabot squash and mergewill squash and merge this PR after your CI passes on it@dependabot cancel mergewill cancel a previously requested merge and block automerging@dependabot reopenwill reopen this PR if it is closed@dependabot closewill close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually@dependabot ignore this major versionwill close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)@dependabot ignore this minor versionwill close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)@dependabot ignore this dependencywill close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)Superseded by #100.
Pull request closed