Skip to content

Commit 5816e0e

Browse files
Bump cython from 3.0.0 to 3.0.2 (#7566)
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>
1 parent db2c274 commit 5816e0e

File tree

2 files changed

+10
-7
lines changed

2 files changed

+10
-7
lines changed

requirements/constraints.txt

Lines changed: 9 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -61,7 +61,7 @@ cryptography==41.0.3
6161
# via
6262
# pyjwt
6363
# trustme
64-
cython==3.0.0
64+
cython==3.0.2
6565
# via -r requirements/cython.in
6666
distlib==0.3.7
6767
# via virtualenv
@@ -112,7 +112,9 @@ multidict==6.0.4
112112
# -r requirements/runtime-deps.in
113113
# yarl
114114
mypy==1.5.1 ; implementation_name == "cpython"
115-
# via -r requirements/lint.in
115+
# via
116+
# -r requirements/lint.in
117+
# -r requirements/test.in
116118
mypy-extensions==1.0.0
117119
# via mypy
118120
nodeenv==1.8.0
@@ -142,9 +144,7 @@ pycares==4.3.0
142144
pycparser==2.21
143145
# via cffi
144146
pydantic==1.10.12
145-
# via
146-
# -c requirements/broken-projects.in
147-
# python-on-whales
147+
# via python-on-whales
148148
pyenchant==3.2.2
149149
# via sphinxcontrib-spelling
150150
pygments==2.15.1
@@ -156,6 +156,7 @@ pyproject-hooks==1.0.0
156156
pytest==7.4.0
157157
# via
158158
# -r requirements/lint.in
159+
# -r requirements/test.in
159160
# pytest-cov
160161
# pytest-mock
161162
pytest-cov==4.1.0
@@ -244,7 +245,9 @@ uritemplate==4.1.1
244245
urllib3==2.0.4
245246
# via requests
246247
uvloop==0.17.0 ; platform_system != "Windows" and python_version < "3.12"
247-
# via -r requirements/lint.in
248+
# via
249+
# -r requirements/base.in
250+
# -r requirements/lint.in
248251
virtualenv==20.24.2
249252
# via pre-commit
250253
wait-for-it==2.2.2

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.0.0
7+
cython==3.0.2
88
# via -r requirements/cython.in
99
multidict==6.0.4
1010
# via -r requirements/multidict.in

0 commit comments

Comments
 (0)