[pull] master from aio-libs:master#232
Merged
pull[bot] merged 3 commits intotj-python:masterfrom May 19, 2025
Merged
Conversation
Bumps [cython](https://github.com/cython/cython) from 3.0.12 to 3.1.1. <details> <summary>Release notes</summary> <p><em>Sourced from <a href="https://github.com/cython/cython/releases">cython's releases</a>.</em></p> <blockquote> <h2>3.1.1</h2> <p>No release notes provided.</p> <h2>3.1.0-1</h2> <p>No release notes provided.</p> <h2>3.1.0</h2> <p>No release notes provided.</p> <h2>3.1.0rc2</h2> <p>No release notes provided.</p> <h2>3.1.0rc1</h2> <p>No release notes provided.</p> <h2>3.1.0b1</h2> <p>No release notes provided.</p> <h2>3.1.0a1</h2> <h1>3.1.0 alpha 1 (2024-11-08)</h1> <h2>Features added</h2> <ul> <li> <p>Support for freethreading builds of CPython 3.13 was added. It comes with a new directive <code>freethreading_compatible=True</code> to mark modules as free-threading compatible (<code>Py_mod_gil</code>). <a href="https://github.com/cython/cython/issues?q=label%3A%22nogil+CPython">https://github.com/cython/cython/issues?q=label%3A"nogil+CPython</a>" Patches by Lysandros Nikolaou and Nathan Goldbaum. (Github issue :issue:<code>6162</code>)</p> </li> <li> <p>Support for monitoring Cython modules via <code>sys.monitoring</code> in CPython 3.13+ was added. For coverage reporting, this needs to be disabled with <code>-DCYTHON_USE_SYS_MONITORING=0</code> as long as <code>coverage.py</code> does not support <code>sys.monitoring</code> for coverage plugins. (Github issue :issue:<code>6144</code>)</p> </li> <li> <p>Many issues with the Limited C-API were resolved. It is now sufficient to define the macro <code>Py_LIMITED_API</code> to activate the support. <a href="https://github.com/cython/cython/issues?q=label%3A%22limited+api%22">https://github.com/cython/cython/issues?q=label%3A%22limited+api%22</a></p> </li> <li> <p>Support for GraalPython was improved (but is still incomplete).</p> </li> <li> <p>Several issues with the gdb support were resolved. Patches by Kent Slaney. (Github issues :issue:<code>5955</code>, :issue:<code>5948</code>)</p> </li> <li> <p><code>typing.Union[SomeType, None]</code> and <code>SomeType | None</code> are now understood and mean the same as <code>typing.Optional[SomeType]</code>, allowing <code>None</code> in type checks. (Github issue :issue:<code>6254</code>)</p> </li> <li> <p><code>cython.const[]</code> and <code>cython.volatile[]</code> are now available as type modifiers in Python code.</p> </li> </ul> <!-- raw HTML omitted --> </blockquote> <p>... (truncated)</p> </details> <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.1 (2025-05-19)</h1> <h2>Bugs fixed</h2> <ul> <li> <p>A reference leak in the async delegation code was fixed. (Github issues :issue:<code>6850</code>, :issue:<code>6878</code>)</p> </li> <li> <p>Conditional if-else expressions mixing Python and C (numeric) types could end up inferring an overly tight result type, thus leading to unexpected type conversions, runtime exceptions on assignment, or incorrect "temporary assignment" compile errors. (Github issue :issue:<code>6854</code>)</p> </li> <li> <p>Some Limited API issues were resolved. (Github issue :issue:<code>6862</code>)</p> </li> <li> <p>Large C <code>long long</code> values could be truncated when passed into PyPy. (Github issue :issue:<code>6890</code>)</p> </li> <li> <p><code>callable()</code> incorrectly reported <code>False</code> in PyPy for classes with metaclasses. Patch by Anatolii Aniskovych. (Github issue :issue:<code>6892</code>)</p> </li> <li> <p>The signature of fused functions was no longer introspectable in Cython 3.1.0. (Github issue :issue:<code>6855</code>)</p> </li> <li> <p>Coroutines could generate invalid C with line tracing enabled. (Github issue :issue:<code>6865</code>)</p> </li> <li> <p>Code using <code>complex()</code> could generate invalid C code missing type declarations. (Github issue :issue:<code>6860</code>)</p> </li> <li> <p>Code using e.g. <code>list[int | None]</code> outside of variable/argument annotations failed to compile. (Github issue :issue:<code>6856</code>)</p> </li> <li> <p>Code using ctuples in a <code>const</code> context could generate invalid C. (Github issue :issue:<code>6864</code>)</p> </li> <li> <p>Accessing special methods on cpdef enums failed to compile.</p> </li> <li> <p>Some C compiler warnings were resolved. Patches by Daniel Larraz. (Github issues :issue:<code>6876</code>, :issue:<code>3172</code>, :issue:<code>6873</code>, :issue:<code>6877</code>)</p> </li> <li> <p>Re-establish support for PyPy 3.8. (Github issue :issue:<code>6867</code>)</p> </li> </ul> <h1>3.1.0 (2025-05-08)</h1> <!-- raw HTML omitted --> </blockquote> <p>... (truncated)</p> </details> <details> <summary>Commits</summary> <ul> <li><a href="https://github.com/cython/cython/commit/aeadbbeaf5eb23c5e8768c3a92beb6c8e20622c5"><code>aeadbbe</code></a> Prepare release of Cython 3.1.1.</li> <li><a href="https://github.com/cython/cython/commit/9532c339abb13b660e8566611709b043c094e320"><code>9532c33</code></a> Update changelog.</li> <li><a href="https://github.com/cython/cython/commit/e7baa598a11d5af354e66f155be00366a54a8bc9"><code>e7baa59</code></a> Use PyCallable_Check() instead of type slots for callable() in PyPy (<a href="https://redirect.github.com/cython/cython/issues/6894">GH-6894</a>)</li> <li><a href="https://github.com/cython/cython/commit/279377de7ed671b6901f1152aaaf5952211181a6"><code>279377d</code></a> Fix race in dict getter (<a href="https://redirect.github.com/cython/cython/issues/6849">GH-6849</a>)</li> <li><a href="https://github.com/cython/cython/commit/987891efbd41caf21285a9c4a5eb5e9932d53428"><code>987891e</code></a> Update changelog.</li> <li><a href="https://github.com/cython/cython/commit/edac54714c9ce6334a927b5c0dfc5960c8cb1ee8"><code>edac547</code></a> Avoid calling "PyLong_FromUnsignedLongLong()" in PyPy.</li> <li><a href="https://github.com/cython/cython/commit/8e107e95342990a2df3673152f913bbffd53aaff"><code>8e107e9</code></a> Document CYTHON_USE_SYS_MONITORING (<a href="https://redirect.github.com/cython/cython/issues/6886">GH-6886</a>)</li> <li><a href="https://github.com/cython/cython/commit/56ab917d114b369f19fdc504608b456222fa1d5f"><code>56ab917</code></a> CI: Fix PyPy3.8 build (<a href="https://redirect.github.com/cython/cython/issues/6889">GH-6889</a>)</li> <li><a href="https://github.com/cython/cython/commit/0ab0e32a19a3bfd917395da92a82f7e784c77cb2"><code>0ab0e32</code></a> Update trace/profile test config for Py3.12, which at least partially works.</li> <li><a href="https://github.com/cython/cython/commit/c4adc2d6f421893edf16948672f673254e3ebf7c"><code>c4adc2d</code></a> CI: Also disable "twine" usage on "Py*t-dev" versions.</li> <li>Additional commits viewable in <a href="https://github.com/cython/cython/compare/3.0.12...3.1.1">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 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] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Bumps [cryptography](https://github.com/pyca/cryptography) from 44.0.3 to 45.0.2. <details> <summary>Changelog</summary> <p><em>Sourced from <a href="https://github.com/pyca/cryptography/blob/main/CHANGELOG.rst">cryptography's changelog</a>.</em></p> <blockquote> <p>45.0.2 - 2025-05-17</p> <pre><code> * Fixed using ``mypy`` with ``cryptography`` on older versions of Python. <p>.. _v45-0-1:</p> <p>45.0.1 - 2025-05-17<br /> </code></pre></p> <ul> <li>Updated Windows, macOS, and Linux wheels to be compiled with OpenSSL 3.5.0.</li> </ul> <p>.. _v45-0-0:</p> <p>45.0.0 - 2025-05-17 (YANKED)</p> <pre><code> * Support for Python 3.7 is deprecated and will be removed in the next ``cryptography`` release. * Updated the minimum supported Rust version (MSRV) to 1.74.0, from 1.65.0. * Added support for serialization of PKCS#12 Java truststores in :func:`~cryptography.hazmat.primitives.serialization.pkcs12.serialize_java_truststore` * Added :meth:`~cryptography.hazmat.primitives.kdf.argon2.Argon2id.derive_phc_encoded` and :meth:`~cryptography.hazmat.primitives.kdf.argon2.Argon2id.verify_phc_encoded` methods to support password hashing in the PHC string format * Added support for PKCS7 decryption and encryption using AES-256 as the content algorithm, in addition to AES-128. * **BACKWARDS INCOMPATIBLE:** Made SSH private key loading more consistent with other private key loading: :func:`~cryptography.hazmat.primitives.serialization.load_ssh_private_key` now raises a ``TypeError`` if the key is unencrypted but a password is provided (previously no exception was raised), and raises a ``TypeError`` if the key is encrypted but no password is provided (previously a ``ValueError`` was raised). * We significantly refactored how private key loading ( :func:`~cryptography.hazmat.primitives.serialization.load_pem_private_key` and :func:`~cryptography.hazmat.primitives.serialization.load_der_private_key`) works. This is intended to be backwards compatible for all well-formed keys, therefore if you discover a key that now raises an exception, please file a bug with instructions for reproducing. * Added ``unsafe_skip_rsa_key_validation`` keyword-argument to :func:`~cryptography.hazmat.primitives.serialization.load_ssh_private_key`. * Added :class:`~cryptography.hazmat.primitives.hashes.XOFHash` to support repeated :meth:`~cryptography.hazmat.primitives.hashes.XOFHash.squeeze` operations on extendable output functions. * Added :meth:`~cryptography.x509.ocsp.OCSPResponseBuilder.add_response_by_hash` method to allow creating OCSP responses using certificate hash values rather than full certificates. </tr></table> </code></pre> </blockquote> <p>... (truncated)</p> </details> <details> <summary>Commits</summary> <ul> <li><a href="https://github.com/pyca/cryptography/commit/f81c07535ddf2d26cb1a27e70a9967ab708b8056"><code>f81c075</code></a> Backport mypy fixes for release (<a href="https://redirect.github.com/pyca/cryptography/issues/12930">#12930</a>)</li> <li><a href="https://github.com/pyca/cryptography/commit/8ea28e0bc724e57433f4f062795d91c0a367e9ad"><code>8ea28e0</code></a> bump for 45.0.1 (<a href="https://redirect.github.com/pyca/cryptography/issues/12922">#12922</a>)</li> <li><a href="https://github.com/pyca/cryptography/commit/67840977c95a23d0dcfba154e303014026df0d3e"><code>6784097</code></a> bump for 45 release (<a href="https://redirect.github.com/pyca/cryptography/issues/12886">#12886</a>)</li> <li><a href="https://github.com/pyca/cryptography/commit/2d9c1c9cbe650f2888c14476a4b30ef85d3fd2bc"><code>2d9c1c9</code></a> bump MSRV to 1.74 (<a href="https://redirect.github.com/pyca/cryptography/issues/12919">#12919</a>)</li> <li><a href="https://github.com/pyca/cryptography/commit/6c18874cc2e76f173b77c67609cfb4d3495964c3"><code>6c18874</code></a> Bump BoringSSL, OpenSSL, AWS-LC in CI (<a href="https://redirect.github.com/pyca/cryptography/issues/12918">#12918</a>)</li> <li><a href="https://github.com/pyca/cryptography/commit/43fd312aea73e4ad79a54c78848e73bf5a640336"><code>43fd312</code></a> add test vectors for upcoming explicit curve loading (<a href="https://redirect.github.com/pyca/cryptography/issues/12913">#12913</a>)</li> <li><a href="https://github.com/pyca/cryptography/commit/6bfa0a31256a631a0543e3b0cee5a101f1ac3d3f"><code>6bfa0a3</code></a> chore(deps): bump asn1 from 0.21.2 to 0.21.3 (<a href="https://redirect.github.com/pyca/cryptography/issues/12914">#12914</a>)</li> <li><a href="https://github.com/pyca/cryptography/commit/a88dd6635c19ef282e0a6469a9604fef096cc843"><code>a88dd66</code></a> chore(deps): bump cc from 1.2.22 to 1.2.23 (<a href="https://redirect.github.com/pyca/cryptography/issues/12912">#12912</a>)</li> <li><a href="https://github.com/pyca/cryptography/commit/e4e98407e866064b55dfcad599117995279cecf6"><code>e4e9840</code></a> chore(deps): bump uv from 0.7.3 to 0.7.4 in /.github/requirements (<a href="https://redirect.github.com/pyca/cryptography/issues/12911">#12911</a>)</li> <li><a href="https://github.com/pyca/cryptography/commit/e140233902db423f031d79237533aacfe96ba119"><code>e140233</code></a> chore(deps): bump uv from 0.7.3 to 0.7.4 (<a href="https://redirect.github.com/pyca/cryptography/issues/12910">#12910</a>)</li> <li>Additional commits viewable in <a href="https://github.com/pyca/cryptography/compare/44.0.3...45.0.2">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 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] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
|
Codecov ReportAll modified and coverable lines are covered by tests ✅
❗ Your organization needs to install the Codecov GitHub app to enable full functionality. Additional details and impacted files@@ Coverage Diff @@
## master #232 +/- ##
==========================================
- Coverage 98.71% 98.71% -0.01%
==========================================
Files 125 125
Lines 37900 37894 -6
Branches 2094 2094
==========================================
- Hits 37413 37407 -6
Misses 338 338
Partials 149 149
Flags with carried forward coverage won't be shown. Click here to find out more. ☔ View full report in Codecov by Sentry. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
See Commits and Changes for more details.
Created by
pull[bot] (v2.0.0-alpha.1)
Can you help keep this open source service alive? 💖 Please sponsor : )