Skip to content

Commit

Permalink
Bump cython from 3.0.0 to 3.0.2 (aio-libs#7566)
Browse files Browse the repository at this point in the history
Bumps [cython](https://github.com/cython/cython) from 3.0.0 to 3.0.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.0.2 (2023-08-27)</h1>
<h2>Bugs fixed</h2>
<ul>
<li>
<p>Using <code>None</code> as default value for arguments annotated as
<code>int</code> could crash Cython.
(Github issue :issue:<code>5643</code>)</p>
</li>
<li>
<p>Default values of fused types that include <code>complex</code> could
generate invalid C code
with <code>-DCYTHON_CCOMPLEX=0</code>.
(Github issue :issue:<code>5644</code>)</p>
</li>
<li>
<p>Using C++ enum class types in extension type method signatures could
generate invalid C code.
(Github issue :issue:<code>5637</code>)</p>
</li>
</ul>
<h1>3.0.1 (2023-08-25)</h1>
<h2>Features added</h2>
<ul>
<li>The error messages regarding exception declarations were improved in
order to give
better help about possible reasons and fixes.
(Github issue :issue:<code>5547</code>)</li>
</ul>
<h2>Bugs fixed</h2>
<ul>
<li>
<p>Memory view types in Python argument annotations no longer accept
<code>None</code>. They now
require an explicit <code>Optional[]</code> or a <code>None</code>
default value in order to allow <code>None</code>
to be passed. This was an oversight in the 3.0.0 release and is a
BACKWARDS INCOMPATIBLE
change. However, since it only applies to code using Python syntax, it
probably only
applies to newly written code that was written for Cython 3.0 and can
easily be adapted.
In most cases, we expect that this change will avoid bugs in user code
rather than
produce problems.
(Github issue :issue:<code>5612</code>)</p>
</li>
<li>
<p><code>nogil</code> functions using parallel code could freeze when
called with the GIL held.
(Github issues :issue:<code>5564</code>, :issue:<code>5573</code>)</p>
</li>
<li>
<p>Relative cimports could end up searching globally and find the same
package installed
elsewhere, potentially in another version.
(Github issue :issue:<code>5511</code>)</p>
</li>
<li>
<p>Attribute lookups on known standard library modules could
accidentally search
in the module namespace instead.
(Github issue :issue:<code>5536</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/fc5b199fcec1db0922364d351203a7d5205a4ca1"><code>fc5b199</code></a>
Prepare release of 3.0.2.</li>
<li><a
href="https://github.com/cython/cython/commit/e4c70439ada81536d0c996554ee6481dbfa63911"><code>e4c7043</code></a>
Minor code cleanup.</li>
<li><a
href="https://github.com/cython/cython/commit/96390aef239d5c3fcd7c2a6b2d3d951e28d3e0b1"><code>96390ae</code></a>
Move an enum class macro before the types block which might need it (<a
href="https://redirect.github.com/cython/cython/issues/5656">GH-5656</a>)</li>
<li><a
href="https://github.com/cython/cython/commit/0bdfb97f905520e778a169146d54007836fd678f"><code>0bdfb97</code></a>
Fix typo in declaration (<a
href="https://redirect.github.com/cython/cython/issues/5655">GH-5655</a>)</li>
<li><a
href="https://github.com/cython/cython/commit/351e13cab0ff4d5aae7289e859f0f7a62cb70ca1"><code>351e13c</code></a>
Avoid useless runtime type checks when coercing a None default argument
to a ...</li>
<li><a
href="https://github.com/cython/cython/commit/584078a371ef412554a2cd0b96fcc20fb3b9c476"><code>584078a</code></a>
Avoid using an unescaped name in the code (however unlikely it is that
someon...</li>
<li><a
href="https://github.com/cython/cython/commit/61535cf93cb76efac3d8f18a5e105301a8e13be3"><code>61535cf</code></a>
Fix invalid C code with -DCYTHON_CCOMPLEX=0 when assigning a simple
(integer)...</li>
<li><a
href="https://github.com/cython/cython/commit/0870f6b1904381e9211ccc97208455eac7af2660"><code>0870f6b</code></a>
Fix test in Py2.</li>
<li><a
href="https://github.com/cython/cython/commit/310720fdeff34e20b33af02f57451da7b4701f9b"><code>310720f</code></a>
Convert a test to language_level=3.</li>
<li><a
href="https://github.com/cython/cython/commit/7c3d175babbc59880b1b6cf5d9d01c14c504f442"><code>7c3d175</code></a>
Remove useless shebang in Cython/Build/Cythonize.py (<a
href="https://redirect.github.com/cython/cython/issues/5647">GH-5647</a>)</li>
<li>Additional commits viewable in <a
href="https://github.com/cython/cython/compare/3.0.0...3.0.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.0.0&new-version=3.0.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>
  • Loading branch information
dependabot[bot] authored Aug 28, 2023
1 parent db2c274 commit 5816e0e
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 7 deletions.
15 changes: 9 additions & 6 deletions requirements/constraints.txt
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,7 @@ cryptography==41.0.3
# via
# pyjwt
# trustme
cython==3.0.0
cython==3.0.2
# via -r requirements/cython.in
distlib==0.3.7
# via virtualenv
Expand Down Expand Up @@ -112,7 +112,9 @@ multidict==6.0.4
# -r requirements/runtime-deps.in
# yarl
mypy==1.5.1 ; implementation_name == "cpython"
# via -r requirements/lint.in
# via
# -r requirements/lint.in
# -r requirements/test.in
mypy-extensions==1.0.0
# via mypy
nodeenv==1.8.0
Expand Down Expand Up @@ -142,9 +144,7 @@ pycares==4.3.0
pycparser==2.21
# via cffi
pydantic==1.10.12
# via
# -c requirements/broken-projects.in
# python-on-whales
# via python-on-whales
pyenchant==3.2.2
# via sphinxcontrib-spelling
pygments==2.15.1
Expand All @@ -156,6 +156,7 @@ pyproject-hooks==1.0.0
pytest==7.4.0
# via
# -r requirements/lint.in
# -r requirements/test.in
# pytest-cov
# pytest-mock
pytest-cov==4.1.0
Expand Down Expand Up @@ -244,7 +245,9 @@ uritemplate==4.1.1
urllib3==2.0.4
# via requests
uvloop==0.17.0 ; platform_system != "Windows" and python_version < "3.12"
# via -r requirements/lint.in
# via
# -r requirements/base.in
# -r requirements/lint.in
virtualenv==20.24.2
# via pre-commit
wait-for-it==2.2.2
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.0
cython==3.0.2
# via -r requirements/cython.in
multidict==6.0.4
# via -r requirements/multidict.in
Expand Down

0 comments on commit 5816e0e

Please sign in to comment.