Skip to content

Commit

Permalink
Bump cython from 3.0.2 to 3.0.3 (#7660)
Browse files Browse the repository at this point in the history
Bumps [cython](https://github.com/cython/cython) from 3.0.2 to 3.0.3.
<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.0.3 (2023-10-05)</h1>
<h2>Features added</h2>
<ul>
<li>
<p>More warnings were added to help users migrate and avoid bugs.
(Github issue :issue:<code>5650</code>)</p>
</li>
<li>
<p>A warning-like category for performance hints was added that bypasses
<code>-Werror</code>.
(Github issue :issue:<code>5673</code>)</p>
</li>
<li>
<p>FastGIL now uses standard <code>thread_local</code> in C++.
(Github issue :issue:<code>5640</code>)</p>
</li>
<li>
<p><code>reference_wrapper</code> was added to
<code>libcpp.functional</code>.
Patch by Vyas Ramasubramani. (Github issue :issue:<code>5671</code>)</p>
</li>
<li>
<p>The <code>cythonize</code> command now supports the
<code>--cplus</code> option known from the <code>cython</code> command.
(Github issue :issue:<code>5736</code>)</p>
</li>
</ul>
<h2>Bugs fixed</h2>
<ul>
<li>
<p>Performance regressions where the GIL was needlessly acquired were
fixed.
(Github issues :issue:<code>5670</code>, :issue:<code>5700</code>)</p>
</li>
<li>
<p>A reference leak for exceptions in Python 3.12 was resolved.
Patch by Eric Johnson.  (Github issue :issue:<code>5724</code>)</p>
</li>
<li>
<p><code>fastcall</code> calls with keyword arguments generated
incorrect C code.
(Github issue :issue:<code>5665</code>)</p>
</li>
<li>
<p>Assigning the type converted result of a conditional (if-else)
expression
to <code>int</code> or <code>bool</code> variables could lead to
incorrect C code.
(Github issue :issue:<code>5731</code>)</p>
</li>
<li>
<p>Early (unlikely) failures in Python function wrappers no longer set a
traceback in order to simplify the C code flow.  Being mostly memory
allocation errors, they probably would never have created a traceback
anyway.
(Github issue :issue:<code>5681</code>)</p>
</li>
<li>
<p>Relative cimports from packages with <code>__init__.py</code> files
could fail.
(Github issue :issue:<code>5715</code>)</p>
</li>
<li>
<p>Several issues with the Limited API support were resolved.
(Github issues :issue:<code>5641</code>, :issue:<code>5648</code>,
:issue:<code>5689</code>)</p>
</li>
<li>
<p>The code generated for special-casing both Cython functions and
PyCFunctions was cleaned up
to avoid calling C-API functions that were not meant for the other type
respectively.</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/459f7c6236b7507b664703e6a20aafafe22f8a21"><code>459f7c6</code></a>
Officially support Python 3.12 (knowing that profiling is still broken
there).</li>
<li><a
href="https://github.com/cython/cython/commit/8dc55934d29a36b056abe93f785a8d4cb0add4bd"><code>8dc5593</code></a>
CI: Update workflow to use released Python 3.12.</li>
<li><a
href="https://github.com/cython/cython/commit/263c71901a4ce7446f2df89ee6383456321cce36"><code>263c719</code></a>
Prepare the release of Cython 3.0.3.</li>
<li><a
href="https://github.com/cython/cython/commit/73f872bb76eba3f3ab8f0c2f6b5bbca1356fe3de"><code>73f872b</code></a>
Fix some typos found by codespell 2.2.5 (<a
href="https://redirect.github.com/cython/cython/issues/5626">GH-5626</a>)</li>
<li><a
href="https://github.com/cython/cython/commit/9d18c526d4da293108e23585183376dcd4d257c9"><code>9d18c52</code></a>
Fix issue with mixed-type &quot;x if y else z&quot; expressions (<a
href="https://redirect.github.com/cython/cython/issues/5735">#5735</a>)</li>
<li><a
href="https://github.com/cython/cython/commit/ed2933b3f679a90a03a83ae446931a6071cdc381"><code>ed2933b</code></a>
Clean up special handling of PyCFunction and CyFunction (<a
href="https://redirect.github.com/cython/cython/issues/5739">GH-5739</a>)</li>
<li><a
href="https://github.com/cython/cython/commit/18d3e8e26eb505463e3ad8010dbc1bcffd3a999d"><code>18d3e8e</code></a>
Suppress a spelling false positive found by codespell.</li>
<li><a
href="https://github.com/cython/cython/commit/f963e2e96b321bfe32cd614d6b308df2b8763558"><code>f963e2e</code></a>
Fix some spelling mistakes found by codespell.</li>
<li><a
href="https://github.com/cython/cython/commit/1f5d6a7042727c2cdd63217749e979113aab70a4"><code>1f5d6a7</code></a>
Allow <code>--cplus</code> argument in cythonize command (<a
href="https://redirect.github.com/cython/cython/issues/5736">GH-5736</a>)</li>
<li><a
href="https://github.com/cython/cython/commit/61b57062e302e62efb393b8c9f8fe712d9d5c721"><code>61b5706</code></a>
C++: Add &quot;reference_wrapper&quot; declarations to
&quot;libcpp.functional&quot; (<a
href="https://redirect.github.com/cython/cython/issues/5671">GH-5671</a>)</li>
<li>Additional commits viewable in <a
href="https://github.com/cython/cython/compare/3.0.2...3.0.3">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.0.2&new-version=3.0.3)](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>
  • Loading branch information
dependabot[bot] authored Oct 6, 2023
1 parent 34f5eb2 commit 314e960
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion requirements/constraints.txt
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,7 @@ cryptography==41.0.2
# via
# pyjwt
# trustme
cython==3.0.2
cython==3.0.3
# via -r requirements/cython.in
distlib==0.3.3
# via virtualenv
Expand Down
2 changes: 1 addition & 1 deletion requirements/cython.txt
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
#
# pip-compile --allow-unsafe --output-file=requirements/cython.txt --resolver=backtracking --strip-extras requirements/cython.in
#
cython==3.0.2
cython==3.0.3
# via -r requirements/cython.in
multidict==6.0.4
# via -r requirements/multidict.in
Expand Down

0 comments on commit 314e960

Please sign in to comment.