The cythonize and cython commands have a new option -M / --depfile
to generate .dep dependency files for the compilation unit. This can be used
by external build tools to track these dependencies.
The cythonize option was already available in Cython :ref:0.29.27.
Patches by Evgeni Burovski and Eli Schwartz. (Github issue :issue:1214)
Bugs fixed
const fused types could not be used with memory views.
Patch by Thomas Vincent. (Github issue :issue:1772)
wstr usage was removed in Python 3.12 and later (PEP-623).
(Github issue :issue:5145)
A type check assertion for Cython functions failed in debug Python builds.
(Github issue :issue:5031)
Fixed various compiler warnings.
Patches by Lisandro Dalcin et al. (Github issues :issue:4948, :issue:5086)
Fixed error when calculating complex powers of negative numbers.
(Github issue :issue:5014)
Corrected a small mis-formatting of exception messages on Python 2.
(Github issue :issue:5018)
The PyUnicode_AsUTF8AndSize() C-API function was missing from the CPython declarations.
(Github issue :issue:5163)
A performance problem in the compiler was resolved when nesting conditional expressions.
(Github issue :issue:5197)
Test suite problems with recent NumPy and CPython versions were resolved.
(Github issues :issue:5183, :issue:5190)
Other changes
The undocumented, untested and apparently useless syntax
from somemodule cimport class/struct/union somename was deprecated
in anticipation of its removal in Cython 3. The type
modifier is not needed here and a plain cimport of the name will do.
(Github issue :issue:4905)
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.33.
<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.33 (2023-01-06)</h1>
<h2>Features added</h2>
<ul>
<li>The <code>cythonize</code> and <code>cython</code> commands have a new option <code>-M</code> / <code>--depfile</code>
to generate <code>.dep</code> dependency files for the compilation unit. This can be used
by external build tools to track these dependencies.
The <code>cythonize</code> option was already available in Cython :ref:<code>0.29.27</code>.
Patches by Evgeni Burovski and Eli Schwartz. (Github issue :issue:<code>1214</code>)</li>
</ul>
<h2>Bugs fixed</h2>
<ul>
<li>
<p><code>const</code> fused types could not be used with memory views.
Patch by Thomas Vincent. (Github issue :issue:<code>1772</code>)</p>
</li>
<li>
<p><code>wstr</code> usage was removed in Python 3.12 and later (PEP-623).
(Github issue :issue:<code>5145</code>)</p>
</li>
<li>
<p>A type check assertion for Cython functions failed in debug Python builds.
(Github issue :issue:<code>5031</code>)</p>
</li>
<li>
<p>Fixed various compiler warnings.
Patches by Lisandro Dalcin et al. (Github issues :issue:<code>4948</code>, :issue:<code>5086</code>)</p>
</li>
<li>
<p>Fixed error when calculating complex powers of negative numbers.
(Github issue :issue:<code>5014</code>)</p>
</li>
<li>
<p>Corrected a small mis-formatting of exception messages on Python 2.
(Github issue :issue:<code>5018</code>)</p>
</li>
<li>
<p>The <code>PyUnicode_AsUTF8AndSize()</code> C-API function was missing from the CPython declarations.
(Github issue :issue:<code>5163</code>)</p>
</li>
<li>
<p>A performance problem in the compiler was resolved when nesting conditional expressions.
(Github issue :issue:<code>5197</code>)</p>
</li>
<li>
<p>Test suite problems with recent NumPy and CPython versions were resolved.
(Github issues :issue:<code>5183</code>, :issue:<code>5190</code>)</p>
</li>
</ul>
<h2>Other changes</h2>
<ul>
<li>The undocumented, untested and apparently useless syntax
<code>from somemodule cimport class/struct/union somename</code> was deprecated
in anticipation of its removal in Cython 3. The type
modifier is not needed here and a plain <code>cimport</code> of the name will do.
(Github issue :issue:<code>4905</code>)</li>
</ul>
<!-- raw HTML omitted -->
</blockquote>
<p>... (truncated)</p>
</details>
<details>
<summary>Commits</summary>
<ul>
<li><a href="https://github.com/cython/cython/commit/d675bf287ba2b60c362a1fac80f8338565756675"><code>d675bf2</code></a> Prepare release of 0.29.33.</li>
<li><a href="https://github.com/cython/cython/commit/c21b39d498d9b078abf3704dd71d957ee9b6a8f7"><code>c21b39d</code></a> Update changelog.</li>
<li><a href="https://github.com/cython/cython/commit/cf19b86385cf9aee013ffc70443b8f40952708df"><code>cf19b86</code></a> Avoid exponential recursion when coercing nested conditional expressions.</li>
<li><a href="https://github.com/cython/cython/commit/2cff1bfc9151f770196b33c5ae0a27a1445110f4"><code>2cff1bf</code></a> Update tox.ini a little and include it in sdist.</li>
<li><a href="https://github.com/cython/cython/commit/78bb64051f57944dcec839899b3cecd311113050"><code>78bb640</code></a> Update changelog.</li>
<li><a href="https://github.com/cython/cython/commit/08e44780f027ce2d8306557d73a5c07b4dea66a6"><code>08e4478</code></a> Add support of const fused type memory views (<a href="https://github-redirect.dependabot.com/cython/cython/issues/3118">GH-3118</a>) (<a href="https://github-redirect.dependabot.com/cython/cython/issues/5076">GH-5076</a>)</li>
<li><a href="https://github.com/cython/cython/commit/60fe73184a855b5a0bcd3a1cf6c2b3993e2bafee"><code>60fe731</code></a> [0.29.x] Avoid using asyncio.get_event_loop (<a href="https://github-redirect.dependabot.com/cython/cython/issues/5188">GH-5188</a>)</li>
<li><a href="https://github.com/cython/cython/commit/c99616ac78fba3eae59647d2ead79d20cedb7603"><code>c99616a</code></a> numpy.int -> numpy.int_ (<a href="https://github-redirect.dependabot.com/cython/cython/issues/5190">#5190</a>)</li>
<li><a href="https://github.com/cython/cython/commit/3b1597ce99b9534bccc644c3bdf4fa2b54267e92"><code>3b1597c</code></a> Add PyUnicode_AsUTF8AndSize to cpython imports [0.29.x] (<a href="https://github-redirect.dependabot.com/cython/cython/issues/5164">#5164</a>)</li>
<li><a href="https://github.com/cython/cython/commit/011c19875b68ea79c583b6d6c238694777cddd0c"><code>011c198</code></a> Add 'cpow' as a forward compatibility to 0.29.x (<a href="https://github-redirect.dependabot.com/cython/cython/issues/5060">GH-5060</a>)</li>
<li>Additional commits viewable in <a href="https://github.com/cython/cython/compare/0.29.26...0.29.33">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.33.
Changelog
Sourced from cython's changelog.
... (truncated)
Commits
d675bf2Prepare release of 0.29.33.c21b39dUpdate changelog.cf19b86Avoid exponential recursion when coercing nested conditional expressions.2cff1bfUpdate tox.ini a little and include it in sdist.78bb640Update changelog.08e4478Add support of const fused type memory views (GH-3118) (GH-5076)60fe731[0.29.x] Avoid using asyncio.get_event_loop (GH-5188)c99616anumpy.int -> numpy.int_ (#5190)3b1597cAdd PyUnicode_AsUTF8AndSize to cpython imports [0.29.x] (#5164)011c198Add 'cpow' as a forward compatibility to 0.29.x (GH-5060)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)View command line instructions
Checkout
From your project repository, check out a new branch and test the changes.