Skip to content

Commit b66668d

Browse files
Bump cython from 3.1.1 to 3.1.2 (#11164)
Bumps [cython](https://github.com/cython/cython) from 3.1.1 to 3.1.2. <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>3.1.2 (2025-06-09)</h1> <h2>Bugs fixed</h2> <ul> <li> <p>Attribute lookups failed on the <code>bool</code> builtin type. (Github issue :issue:<code>6905</code>)</p> </li> <li> <p>Type checks on or-ed union types could incorrectly return false. (Github issue :issue:<code>6420</code>)</p> </li> <li> <p>Negative list indexing could accidentally wrap around twice in PyPy and the Limited API.</p> </li> <li> <p>Iterating over literal sequences with starred (unpacked) items could infer a wrong type for the loop variable and fail to assign the values. (Github issue :issue:<code>6924</code>)</p> </li> <li> <p>Calls to C functions taking exception types failed to check for a <code>None</code> argument. (Github issue :issue:<code>6420</code>)</p> </li> <li> <p>Fused functions had an incorrect <code>__module__</code> attribute. (Github issue :issue:<code>6897</code>)</p> </li> <li> <p>The type of Cython implemented functions had an incorrect <code>__module__</code> attribute. (Github issue :issue:<code>6841</code>)</p> </li> <li> <p>Errors while indexing into <code>bytearray</code> or <code>str</code> in <code>nogil</code> sections could crash. (Github issue :issue:<code>6947</code>)</p> </li> <li> <p><code>bytearray.append()</code> could silently accept some invalid character numbers.</p> </li> <li> <p>The C++11 <code>&lt;type_traits&gt;</code> header was included regardless of the C++ version. (Github issue :issue:<code>6896</code>)</p> </li> <li> <p><code>PyDict_GetItemStringRef()</code> was accidentally used in older Limited API versions. (Github issue :issue:<code>6914</code>)</p> </li> <li> <p><code>abort()</code> was used but not always available in the Limited API. (Github issue :issue:<code>6918</code>)</p> </li> <li> <p>Some dependencies were missing from the <code>depfile</code>. (Github issue :issue:<code>6938</code>)</p> </li> <li> <p>Embedded function signatures were not always separated from the existing docstring. (Github issue :issue:<code>6904</code>)</p> </li> <li> <p><code>numpy.math</code> was missing from <code>Cython/Includes/</code> and could not be cimported. (Github issue :issue:<code>6859</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/51f471dad7c8588c77d4f60f90fc5855bd012790"><code>51f471d</code></a> Bump ccache action version (<a href="https://redirect.github.com/cython/cython/issues/6955">GH-6955</a>)</li> <li><a href="https://github.com/cython/cython/commit/40c232487d787341fc8fa24b3d72520034eb7021"><code>40c2324</code></a> Update changelog.</li> <li><a href="https://github.com/cython/cython/commit/98b70ee3ec2a60c570b97862561da468b7cc28ca"><code>98b70ee</code></a> Fixup shared metaclass in 3.1.x (<a href="https://redirect.github.com/cython/cython/issues/6953">GH-6953</a>)</li> <li><a href="https://github.com/cython/cython/commit/59e2502c1f87b14fb6743e274b4fbf4bb8c01240"><code>59e2502</code></a> Make sure we correctly reject large negative integer values in &quot;bytearray.app...</li> <li><a href="https://github.com/cython/cython/commit/466891c90a8d78b586da3940edf024fc780c9119"><code>466891c</code></a> Use an explicit cast to avoid a C conversion warning.</li> <li><a href="https://github.com/cython/cython/commit/b0d6aa15be3f1440575fecad1e58adc5b06f5935"><code>b0d6aa1</code></a> Prepare release of 3.1.2.</li> <li><a href="https://github.com/cython/cython/commit/0440d5fb00487cac465be9d55a4e4fb97643ffdb"><code>0440d5f</code></a> Update changelog.</li> <li><a href="https://github.com/cython/cython/commit/e860884936f1da77bf30742f767edd1a3f5d9355"><code>e860884</code></a> Fix <code>__module__</code> attribute of shared types with metaclass (<a href="https://redirect.github.com/cython/cython/issues/6882">#6882</a>)</li> <li><a href="https://github.com/cython/cython/commit/5e9d7ad9b12d9715d5a83f3183d6b2d291f5855f"><code>5e9d7ad</code></a> Build: Explicitly include &quot;numpy/math.pxd&quot; again.</li> <li><a href="https://github.com/cython/cython/commit/ea65182b1ec016f3621ed376c1f664c864f11d76"><code>ea65182</code></a> Fix error handling in nogil indexing of bytearray and str (<a href="https://redirect.github.com/cython/cython/issues/6947">#6947</a>)</li> <li>Additional commits viewable in <a href="https://github.com/cython/cython/compare/3.1.1...3.1.2">compare view</a></li> </ul> </details> <br /> [![Dependabot compatibility score](https://dependabot-badges.githubapp.com/badges/compatibility_score?dependency-name=cython&package-manager=pip&previous-version=3.1.1&new-version=3.1.2)](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 show <dependency name> ignore conditions` will show all of the ignore conditions of the specified dependency - `@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> Signed-off-by: dependabot[bot] <[email protected]> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
1 parent 8795da3 commit b66668d

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

requirements/constraints.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -60,7 +60,7 @@ cryptography==45.0.3
6060
# via
6161
# pyjwt
6262
# trustme
63-
cython==3.1.1
63+
cython==3.1.2
6464
# via -r requirements/cython.in
6565
distlib==0.3.9
6666
# via virtualenv

requirements/cython.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
#
55
# pip-compile --allow-unsafe --output-file=requirements/cython.txt --resolver=backtracking --strip-extras requirements/cython.in
66
#
7-
cython==3.1.1
7+
cython==3.1.2
88
# via -r requirements/cython.in
99
multidict==6.4.4
1010
# via -r requirements/multidict.in

0 commit comments

Comments
 (0)