-
-
Notifications
You must be signed in to change notification settings - Fork 30.6k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Support "bpo-" in Misc/NEWS #1
Conversation
Doc/tools/extensions/pyspecific.py
Outdated
@@ -253,7 +253,7 @@ def run(self): | |||
text = 'The NEWS file is not available.' | |||
node = nodes.strong(text, text) | |||
return [node] | |||
content = issue_re.sub(r'`\1ssue #\2 <https://bugs.python.org/\2>`__', | |||
content = issue_re.sub(r'`\bpo-\2 <https://bugs.python.org/\2>`__', |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
\b
? I think you overwrote the \1
:-)
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
That's on purpose as the first capture group is the prefix which doesn't matter. Probably should change the regex to use a non-capture group.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Sure, you can either you use \1
or insert bpo-
. But here you overwrote half the capture group by only deleting the 1
and not the \
.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Ah, you're right. Now fixed.
Make the prefix match non-capturing and fix a bug where a backslash was left into the substitution.
Doc/tools/extensions/pyspecific.py
Outdated
@@ -34,7 +34,7 @@ | |||
|
|||
|
|||
ISSUE_URI = 'https://bugs.python.org/issue%s' | |||
SOURCE_URI = 'https://hg.python.org/cpython/file/3.6/%s' | |||
SOURCE_URI = 'https://github.com/python/cpython/tree/3.6/%s' |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Shouldn't it be master
rather than 3.6
on this branch?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
My patch for another issue will address this, I think 🤔
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I went ahead and updated here since I'm already changing it.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
ok :)
Doc/tools/extensions/pyspecific.py
Outdated
@@ -253,7 +253,7 @@ def run(self): | |||
text = 'The NEWS file is not available.' | |||
node = nodes.strong(text, text) | |||
return [node] | |||
content = issue_re.sub(r'`\1ssue #\2 <https://bugs.python.org/\2>`__', | |||
content = issue_re.sub(r'`bpo-\1 <https://bugs.python.org/\1>`__', |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I'd suggest making it https://bugs.python.org/issue\1
to avoid the redirect through https://www.python.org/sf/
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Done.
(cherry picked from commit 79ab8be)
Change the url to 3.5 (cherry picked from commit 79ab8be) # Conflicts: # Doc/tools/extensions/pyspecific.py
Change the url to 2.7 (cherry picked from commit 79ab8be)
* Added support for CAN_ISOTP protocol * Added unit tests for CAN ISOTP * Updated documentation for ISO-TP protocol * Removed trailing whitespace in documentation * Added blurb NEWS.d file * updated Misc/ACKS * Fixed broken unit test that was using isotp const outside of skippable section * Removed dependecy over third party project * Added implementation for getsockname + unit tests * Missing newline at end of ACKS file * Accidentally inserted a type in ACKS file * Followed tiran changes review #1 recommendations * Added spaces after comma
* Added support for CAN_ISOTP protocol * Added unit tests for CAN ISOTP * Updated documentation for ISO-TP protocol * Removed trailing whitespace in documentation * Added blurb NEWS.d file * updated Misc/ACKS * Fixed broken unit test that was using isotp const outside of skippable section * Removed dependecy over third party project * Added implementation for getsockname + unit tests * Missing newline at end of ACKS file * Accidentally inserted a type in ACKS file * Followed tiran changes review #1 recommendations * Added spaces after comma
Thanks @Mariatta for the PR 🌮🎉.. I'm working now to backport this PR to: 3.12. |
Sorry, @Mariatta, I could not cleanly backport this to
|
Hijacked the interpreter state to get my boys on the inside. Currently, there doesn't seem to be an officially supported way to get a piece of pre-initialized per-interpreter memory over to an embedded module (more specifically, the embedded module's functions). For example: [init'd mem python#1] ----> [subinterp python#1] ----> {module fn call} [init'd mem python#2] ----> [subinterp python#2] ----> {module fn call} {module fn call} has a single implementation with access to its module state via \`PyModule_GetState\`. The initialization of a subinterpreter populates a custom entry for the pre-initialized memory in its interpreter state. On initialization of the embedded module (\`Py_mod_exec\`), the module state is populated with the custom entry (\`PyThreadState_Get()->interp\`). The module function now has access to the pre-initialized memory via its module state.
Hijacked the interpreter state to get my boys on the inside. Currently, there doesn't seem to be an officially supported way to get a piece of pre-initialized per-interpreter memory over to an embedded module (more specifically, the embedded module's functions). For example: [init'd mem python#1] ----> [subinterp python#1] ----> {module fn call} [init'd mem python#2] ----> [subinterp python#2] ----> {module fn call} {module fn call} has a single implementation with access to its module state via `PyModule_GetState`. The initialization of a subinterpreter populates a custom entry for the pre-initialized memory in its interpreter state. On initialization of the embedded module (`Py_mod_exec`), the module state is populated with the custom entry (`PyThreadState_Get()->interp`). The module function now has access to the pre-initialized memory via its module state.
Bumps [importlib-resources](https://github.com/python/importlib_resources) from 6.1.2 to 6.4.0. <details> <summary>Changelog</summary> <p><em>Sourced from <a href="https://github.com/python/importlib_resources/blob/main/NEWS.rst">importlib-resources's changelog</a>.</em></p> <blockquote> <h1>v6.4.0</h1> <h2>Features</h2> <ul> <li>The functions <code>is_resource()</code>, <code>open_binary()</code>, <code>open_text()</code>, <code>path()</code>, <code>read_binary()</code>, and <code>read_text()</code> are un-deprecated, and support subdirectories via multiple positional arguments. The <code>contents()</code> function also allows subdirectories, but remains deprecated. (<a href="https://redirect.github.com/python/importlib_resources/issues/303">#303</a>)</li> <li><code>python/cpython#109829</code></li> </ul> <h1>v6.3.2</h1> <h2>Bugfixes</h2> <ul> <li>Restored expectation that local standard readers are preferred over degenerate readers. (<a href="https://redirect.github.com/python/importlib_resources/issues/298">#298</a>)</li> </ul> <h1>v6.3.1</h1> <h2>Bugfixes</h2> <ul> <li>Restored expectation that stdlib readers are suppressed on Python 3.10. (<a href="https://redirect.github.com/python/importlib_resources/issues/257">#257</a>)</li> </ul> <h1>v6.3.0</h1> <h2>Features</h2> <ul> <li>Add <code>Anchor</code> to <code>importlib.resources</code> (in order for the code to comply with the documentation)</li> </ul> <h1>v6.2.0</h1> <p>Features</p> <!-- raw HTML omitted --> </blockquote> <p>... (truncated)</p> </details> <details> <summary>Commits</summary> <ul> <li><a href="https://github.com/python/importlib_resources/commit/1f4d3f10a3ed5d65b3092a39369c08e71e30a97c"><code>1f4d3f1</code></a> Finalize</li> <li><a href="https://github.com/python/importlib_resources/commit/c593cd9cb03f69bd2348267cfc6851b75ea5e08b"><code>c593cd9</code></a> Merge pull request <a href="https://redirect.github.com/python/importlib_resources/issues/303">#303</a> from encukou/functional</li> <li><a href="https://github.com/python/importlib_resources/commit/fa60969a37ed01302d2ed01956e8ef18eba87923"><code>fa60969</code></a> Add news fragment.</li> <li><a href="https://github.com/python/importlib_resources/commit/ca03a4df06b8794810ad5c4d34265d40fb4b3f49"><code>ca03a4d</code></a> <a href="https://redirect.github.com/python/importlib_resources/issues/109653">GH-109653</a>: Defer import of <code>importlib.metadata._adapters</code><code>python/cpython#1</code></li> <li><a href="https://github.com/python/importlib_resources/commit/2df6ced9be7d45cdc443ceb8c7e66ab846d19ebc"><code>2df6ced</code></a> Use Ruff style, rather than PEP 8</li> <li><a href="https://github.com/python/importlib_resources/commit/8fdadde235ce5d5d8f80934bb2f9c9b29cb0da78"><code>8fdadde</code></a> Port tests to Python 3.8</li> <li><a href="https://github.com/python/importlib_resources/commit/558f5bf9f266998e616deaf8a9d373da37b33054"><code>558f5bf</code></a> Formatting nitpicks</li> <li><a href="https://github.com/python/importlib_resources/commit/1e98e351779d53092d7988d362503b54b3dc6b35"><code>1e98e35</code></a> Adapt to importlib_resources</li> <li><a href="https://github.com/python/importlib_resources/commit/189d15fcbe99a1ec624fb19992544096e2a538f3"><code>189d15f</code></a> Apply CPython PR, sans docs and changelogs</li> <li><a href="https://github.com/python/importlib_resources/commit/0db550c38ad9ba4ab4fb6fa8c070c040935e2f33"><code>0db550c</code></a> Consolidated test support logic in jaraco.test.cpython.</li> <li>Additional commits viewable in <a href="https://github.com/python/importlib_resources/compare/v6.1.2...v6.4.0">compare view</a></li> </ul> </details> <br /> [![Dependabot compatibility score](https://dependabot-badges.githubapp.com/badges/compatibility_score?dependency-name=importlib-resources&package-manager=pip&previous-version=6.1.2&new-version=6.4.0)](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>
Bumps the pip group with 4 updates in the / directory: [boto3](https://github.com/boto/boto3), [importlib-resources](https://github.com/python/importlib_resources), [requests](https://github.com/psf/requests) and [typing-extensions](https://github.com/python/typing_extensions). Updates `boto3` from 1.34.59 to 1.34.117 <details> <summary>Changelog</summary> <p><em>Sourced from <a href="https://github.com/boto/boto3/blob/develop/CHANGELOG.rst">boto3's changelog</a>.</em></p> <blockquote> <h1>1.34.117</h1> <ul> <li>api-change:<code>codebuild</code>: [<code>botocore</code>] AWS CodeBuild now supports Self-hosted GitHub Actions runners for Github Enterprise</li> <li>api-change:<code>codeguru-security</code>: [<code>botocore</code>] This release includes minor model updates and documentation updates.</li> <li>api-change:<code>elasticache</code>: [<code>botocore</code>] Update to attributes of TestFailover and minor revisions.</li> <li>api-change:<code>launch-wizard</code>: [<code>botocore</code>] This release adds support for describing workload deployment specifications, deploying additional workload types, and managing tags for Launch Wizard resources with API operations.</li> </ul> <h1>1.34.116</h1> <ul> <li>api-change:<code>acm</code>: [<code>botocore</code>] add v2 smoke tests and smithy smokeTests trait for SDK testing.</li> <li>api-change:<code>bedrock-agent</code>: [<code>botocore</code>] With this release, Knowledge bases for Bedrock adds support for Titan Text Embedding v2.</li> <li>api-change:<code>bedrock-runtime</code>: [<code>botocore</code>] This release adds Converse and ConverseStream APIs to Bedrock Runtime</li> <li>api-change:<code>cloudtrail</code>: [<code>botocore</code>] CloudTrail Lake returns PartitionKeys in the GetEventDataStore API response. Events are grouped into partitions based on these keys for better query performance. For example, the calendarday key groups events by day, while combining the calendarday key with the hour key groups them by day and hour.</li> <li>api-change:<code>connect</code>: [<code>botocore</code>] Adding associatedQueueIds as a SearchCriteria and response field to the SearchRoutingProfiles API</li> <li>api-change:<code>emr-serverless</code>: [<code>botocore</code>] The release adds support for spark structured streaming.</li> <li>api-change:<code>rds</code>: [<code>botocore</code>] Updates Amazon RDS documentation for Aurora Postgres DBname.</li> <li>api-change:<code>sagemaker</code>: [<code>botocore</code>] Adds Model Card information as a new component to Model Package. Autopilot launches algorithm selection for TimeSeries modality to generate AutoML candidates per algorithm.</li> </ul> <h1>1.34.115</h1> <ul> <li>api-change:<code>athena</code>: [<code>botocore</code>] Throwing validation errors on CreateNotebook with Name containing <code>/</code>,<code>:</code>,<code>\</code></li> <li>api-change:<code>codebuild</code>: [<code>botocore</code>] AWS CodeBuild now supports manually creating GitHub webhooks</li> <li>api-change:<code>connect</code>: [<code>botocore</code>] This release includes changes to DescribeContact API's response by including ConnectedToSystemTimestamp, RoutingCriteria, Customer, Campaign, AnsweringMachineDetectionStatus, CustomerVoiceActivity, QualityMetrics, DisconnectDetails, and SegmentAttributes information from a contact in Amazon Connect.</li> <li>api-change:<code>glue</code>: [<code>botocore</code>] Add optional field JobMode to CreateJob and UpdateJob APIs.</li> <li>api-change:<code>securityhub</code>: [<code>botocore</code>] Add ROOT type for TargetType model</li> </ul> <h1>1.34.114</h1> <ul> <li>api-change:<code>dynamodb</code>: [<code>botocore</code>] Doc-only update for DynamoDB. Specified the IAM actions needed to authorize a user to create a table with a resource-based policy.</li> <li>api-change:<code>ec2</code>: [<code>botocore</code>] Providing support to accept BgpAsnExtended attribute</li> <li>api-change:<code>kafka</code>: [<code>botocore</code>] Adds ControllerNodeInfo in ListNodes response to support Raft mode for MSK</li> <li>api-change:<code>swf</code>: [<code>botocore</code>] This release adds new APIs for deleting activity type and workflow type resources.</li> </ul> <h1>1.34.113</h1> <ul> <li>api-change:<code>dynamodb</code>: [<code>botocore</code>] Documentation only updates for DynamoDB.</li> <li>api-change:<code>iotfleetwise</code>: [<code>botocore</code>] AWS IoT FleetWise now supports listing vehicles with attributes filter, ListVehicles API is updated to support additional attributes filter.</li> <li>api-change:<code>managedblockchain</code>: [<code>botocore</code>] This is a minor documentation update to address the impact of the shut down of the Goerli and Polygon networks.</li> </ul> <p>1.34.112</p> <!-- raw HTML omitted --> </blockquote> <p>... (truncated)</p> </details> <details> <summary>Commits</summary> <ul> <li><a href="https://github.com/boto/boto3/commit/006e0164a50b685d6a3041ab0c356aa937448266"><code>006e016</code></a> Merge branch 'release-1.34.117'</li> <li><a href="https://github.com/boto/boto3/commit/1b228ea2b00a33f2f1f440ce302e425c3afed032"><code>1b228ea</code></a> Bumping version to 1.34.117</li> <li><a href="https://github.com/boto/boto3/commit/adb9f74ee9c56751acf600f830ccb3bc8a4b62dc"><code>adb9f74</code></a> Add changelog entries from botocore</li> <li><a href="https://github.com/boto/boto3/commit/bfcc451f58c79e04bb25250041c6f3ba0873de86"><code>bfcc451</code></a> Merge branch 'release-1.34.116'</li> <li><a href="https://github.com/boto/boto3/commit/05019ed33c862c003d0b09642f14d56c7ef44640"><code>05019ed</code></a> Merge branch 'release-1.34.116' into develop</li> <li><a href="https://github.com/boto/boto3/commit/e2e0979a9872820269a536af536f4b22aeb3f602"><code>e2e0979</code></a> Bumping version to 1.34.116</li> <li><a href="https://github.com/boto/boto3/commit/3372d1dd51a18dd5c2af23ee6e4eba36ebd86e3f"><code>3372d1d</code></a> Add changelog entries from botocore</li> <li><a href="https://github.com/boto/boto3/commit/335a1e99922366571ef49ab8f2eaf02dbc7599ff"><code>335a1e9</code></a> Merge branch 'release-1.34.115'</li> <li><a href="https://github.com/boto/boto3/commit/53faaee526b4a75d91bb49c4ab0a0ce188ac55c7"><code>53faaee</code></a> Merge branch 'release-1.34.115' into develop</li> <li><a href="https://github.com/boto/boto3/commit/70b7e9ce87cb8fe5fd5d72685316c4b29fb2c664"><code>70b7e9c</code></a> Bumping version to 1.34.115</li> <li>Additional commits viewable in <a href="https://github.com/boto/boto3/compare/1.34.59...1.34.117">compare view</a></li> </ul> </details> <br /> Updates `importlib-resources` from 6.1.3 to 6.4.0 <details> <summary>Changelog</summary> <p><em>Sourced from <a href="https://github.com/python/importlib_resources/blob/main/NEWS.rst">importlib-resources's changelog</a>.</em></p> <blockquote> <h1>v6.4.0</h1> <h2>Features</h2> <ul> <li>The functions <code>is_resource()</code>, <code>open_binary()</code>, <code>open_text()</code>, <code>path()</code>, <code>read_binary()</code>, and <code>read_text()</code> are un-deprecated, and support subdirectories via multiple positional arguments. The <code>contents()</code> function also allows subdirectories, but remains deprecated. (<a href="https://redirect.github.com/python/importlib_resources/issues/303">#303</a>)</li> <li><code>python/cpython#109829</code></li> </ul> <h1>v6.3.2</h1> <h2>Bugfixes</h2> <ul> <li>Restored expectation that local standard readers are preferred over degenerate readers. (<a href="https://redirect.github.com/python/importlib_resources/issues/298">#298</a>)</li> </ul> <h1>v6.3.1</h1> <h2>Bugfixes</h2> <ul> <li>Restored expectation that stdlib readers are suppressed on Python 3.10. (<a href="https://redirect.github.com/python/importlib_resources/issues/257">#257</a>)</li> </ul> <h1>v6.3.0</h1> <h2>Features</h2> <ul> <li>Add <code>Anchor</code> to <code>importlib.resources</code> (in order for the code to comply with the documentation)</li> </ul> <h1>v6.2.0</h1> <p>Features</p> <!-- raw HTML omitted --> </blockquote> <p>... (truncated)</p> </details> <details> <summary>Commits</summary> <ul> <li><a href="https://github.com/python/importlib_resources/commit/1f4d3f10a3ed5d65b3092a39369c08e71e30a97c"><code>1f4d3f1</code></a> Finalize</li> <li><a href="https://github.com/python/importlib_resources/commit/c593cd9cb03f69bd2348267cfc6851b75ea5e08b"><code>c593cd9</code></a> Merge pull request <a href="https://redirect.github.com/python/importlib_resources/issues/303">#303</a> from encukou/functional</li> <li><a href="https://github.com/python/importlib_resources/commit/fa60969a37ed01302d2ed01956e8ef18eba87923"><code>fa60969</code></a> Add news fragment.</li> <li><a href="https://github.com/python/importlib_resources/commit/ca03a4df06b8794810ad5c4d34265d40fb4b3f49"><code>ca03a4d</code></a> <a href="https://redirect.github.com/python/importlib_resources/issues/109653">GH-109653</a>: Defer import of <code>importlib.metadata._adapters</code><code>python/cpython#1</code></li> <li><a href="https://github.com/python/importlib_resources/commit/2df6ced9be7d45cdc443ceb8c7e66ab846d19ebc"><code>2df6ced</code></a> Use Ruff style, rather than PEP 8</li> <li><a href="https://github.com/python/importlib_resources/commit/8fdadde235ce5d5d8f80934bb2f9c9b29cb0da78"><code>8fdadde</code></a> Port tests to Python 3.8</li> <li><a href="https://github.com/python/importlib_resources/commit/558f5bf9f266998e616deaf8a9d373da37b33054"><code>558f5bf</code></a> Formatting nitpicks</li> <li><a href="https://github.com/python/importlib_resources/commit/1e98e351779d53092d7988d362503b54b3dc6b35"><code>1e98e35</code></a> Adapt to importlib_resources</li> <li><a href="https://github.com/python/importlib_resources/commit/189d15fcbe99a1ec624fb19992544096e2a538f3"><code>189d15f</code></a> Apply CPython PR, sans docs and changelogs</li> <li><a href="https://github.com/python/importlib_resources/commit/0db550c38ad9ba4ab4fb6fa8c070c040935e2f33"><code>0db550c</code></a> Consolidated test support logic in jaraco.test.cpython.</li> <li>Additional commits viewable in <a href="https://github.com/python/importlib_resources/compare/v6.1.3...v6.4.0">compare view</a></li> </ul> </details> <br /> Updates `requests` from 2.32.0 to 2.32.3 <details> <summary>Release notes</summary> <p><em>Sourced from <a href="https://github.com/psf/requests/releases">requests's releases</a>.</em></p> <blockquote> <h2>v2.32.3</h2> <h2>2.32.3 (2024-05-29)</h2> <p><strong>Bugfixes</strong></p> <ul> <li>Fixed bug breaking the ability to specify custom SSLContexts in sub-classes of HTTPAdapter. (<a href="https://redirect.github.com/psf/requests/issues/6716">#6716</a>)</li> <li>Fixed issue where Requests started failing to run on Python versions compiled without the <code>ssl</code> module. (<a href="https://redirect.github.com/psf/requests/issues/6724">#6724</a>)</li> </ul> <h2>v2.32.2</h2> <h2>2.32.2 (2024-05-21)</h2> <p><strong>Deprecations</strong></p> <ul> <li> <p>To provide a more stable migration for custom HTTPAdapters impacted by the CVE changes in 2.32.0, we've renamed <code>_get_connection</code> to a new public API, <code>get_connection_with_tls_context</code>. Existing custom HTTPAdapters will need to migrate their code to use this new API. <code>get_connection</code> is considered deprecated in all versions of Requests>=2.32.0.</p> <p>A minimal (2-line) example has been provided in the linked PR to ease migration, but we strongly urge users to evaluate if their custom adapter is subject to the same issue described in CVE-2024-35195. (<a href="https://redirect.github.com/psf/requests/issues/6710">#6710</a>)</p> </li> </ul> <h2>v2.32.1</h2> <h2>2.32.1 (2024-05-20)</h2> <p><strong>Bugfixes</strong></p> <ul> <li>Add missing test certs to the sdist distributed on PyPI.</li> </ul> </blockquote> </details> <details> <summary>Changelog</summary> <p><em>Sourced from <a href="https://github.com/psf/requests/blob/main/HISTORY.md">requests's changelog</a>.</em></p> <blockquote> <h2>2.32.3 (2024-05-29)</h2> <p><strong>Bugfixes</strong></p> <ul> <li>Fixed bug breaking the ability to specify custom SSLContexts in sub-classes of HTTPAdapter. (<a href="https://redirect.github.com/psf/requests/issues/6716">#6716</a>)</li> <li>Fixed issue where Requests started failing to run on Python versions compiled without the <code>ssl</code> module. (<a href="https://redirect.github.com/psf/requests/issues/6724">#6724</a>)</li> </ul> <h2>2.32.2 (2024-05-21)</h2> <p><strong>Deprecations</strong></p> <ul> <li> <p>To provide a more stable migration for custom HTTPAdapters impacted by the CVE changes in 2.32.0, we've renamed <code>_get_connection</code> to a new public API, <code>get_connection_with_tls_context</code>. Existing custom HTTPAdapters will need to migrate their code to use this new API. <code>get_connection</code> is considered deprecated in all versions of Requests>=2.32.0.</p> <p>A minimal (2-line) example has been provided in the linked PR to ease migration, but we strongly urge users to evaluate if their custom adapter is subject to the same issue described in CVE-2024-35195. (<a href="https://redirect.github.com/psf/requests/issues/6710">#6710</a>)</p> </li> </ul> <h2>2.32.1 (2024-05-20)</h2> <p><strong>Bugfixes</strong></p> <ul> <li>Add missing test certs to the sdist distributed on PyPI.</li> </ul> </blockquote> </details> <details> <summary>Commits</summary> <ul> <li><a href="https://github.com/psf/requests/commit/0e322af87745eff34caffe4df68456ebc20d9068"><code>0e322af</code></a> v2.32.3</li> <li><a href="https://github.com/psf/requests/commit/e18879932287c2bf4bcee4ddf6ccb8a69b6fc656"><code>e188799</code></a> Don't create default SSLContext if ssl module isn't present (<a href="https://redirect.github.com/psf/requests/issues/6724">#6724</a>)</li> <li><a href="https://github.com/psf/requests/commit/145b5399486b56e00250204f033441f3fdf2f3c9"><code>145b539</code></a> Merge pull request <a href="https://redirect.github.com/psf/requests/issues/6716">#6716</a> from sigmavirus24/bug/6715</li> <li><a href="https://github.com/psf/requests/commit/b1d73ddb509a3a2d3e10744e85f9cdebdbde90f0"><code>b1d73dd</code></a> Don't use default SSLContext with custom poolmanager kwargs</li> <li><a href="https://github.com/psf/requests/commit/6badbac6e0d6b5a53872f26401761ad37a9002b8"><code>6badbac</code></a> Update HISTORY.md</li> <li><a href="https://github.com/psf/requests/commit/a62a2d35d918baa8e793f7aa4fb41527644dfca5"><code>a62a2d3</code></a> Allow for overriding of specific pool key params</li> <li><a href="https://github.com/psf/requests/commit/88dce9d854797c05d0ff296b70e0430535ef8aaf"><code>88dce9d</code></a> v2.32.2</li> <li><a href="https://github.com/psf/requests/commit/c98e4d133ef29c46a9b68cd783087218a8075e05"><code>c98e4d1</code></a> Merge pull request <a href="https://redirect.github.com/psf/requests/issues/6710">#6710</a> from nateprewitt/api_rename</li> <li><a href="https://github.com/psf/requests/commit/92075b330a30b9883f466a43d3f7566ab849f91b"><code>92075b3</code></a> Add deprecation warning</li> <li><a href="https://github.com/psf/requests/commit/aa1461b68aa73e2f6ec0e78c8853b635c76fd099"><code>aa1461b</code></a> Move _get_connection to get_connection_with_tls_context</li> <li>Additional commits viewable in <a href="https://github.com/psf/requests/compare/v2.32.0...v2.32.3">compare view</a></li> </ul> </details> <br /> Updates `typing-extensions` from 4.10.0 to 4.12.0 <details> <summary>Release notes</summary> <p><em>Sourced from <a href="https://github.com/python/typing_extensions/releases">typing-extensions's releases</a>.</em></p> <blockquote> <h2>4.12.0</h2> <p>This release focuses on compatibility with the upcoming release of Python 3.13. Most changes are related to the implementation of type parameter defaults (PEP 696).</p> <p>Thanks to all of the people who contributed patches, especially Alex Waygood, who did most of the work adapting typing-extensions to the CPython PEP 696 implementation.</p> <p>There is a single change since 4.12.0rc1:</p> <ul> <li>Fix incorrect behaviour of <code>typing_extensions.ParamSpec</code> on Python 3.8 and 3.9 that meant that <code>isinstance(typing_extensions.ParamSpec("P"), typing.TypeVar)</code> would have a different result in some situations depending on whether or not a profiling function had been set using <code>sys.setprofile</code>. Patch by Alex Waygood.</li> </ul> <p>Changes included in 4.12.0rc1:</p> <ul> <li>Improve the implementation of type parameter defaults (PEP 696) <ul> <li>Backport the <code>typing.NoDefault</code> sentinel object from Python 3.13. TypeVars, ParamSpecs and TypeVarTuples without default values now have their <code>__default__</code> attribute set to this sentinel value.</li> <li>TypeVars, ParamSpecs and TypeVarTuples now have a <code>has_default()</code> method, matching <code>typing.TypeVar</code>, <code>typing.ParamSpec</code> and <code>typing.TypeVarTuple</code> on Python 3.13+.</li> <li>TypeVars, ParamSpecs and TypeVarTuples with <code>default=None</code> passed to their constructors now have their <code>__default__</code> attribute set to <code>None</code> at runtime rather than <code>types.NoneType</code>.</li> <li>Fix most tests for <code>TypeVar</code>, <code>ParamSpec</code> and <code>TypeVarTuple</code> on Python 3.13.0b1 and newer.</li> <li>Backport CPython PR <a href="https://redirect.github.com/python/cpython/pull/118774">#118774</a>, allowing type parameters without default values to follow those with default values in some type parameter lists. Patch by Alex Waygood, backporting a CPython PR by Jelle Zijlstra.</li> <li>It is now disallowed to use a <code>TypeVar</code> with a default value after a <code>TypeVarTuple</code> in a type parameter list. This matches the CPython implementation of PEP 696 on Python 3.13+.</li> <li>Fix bug in PEP-696 implementation where a default value for a <code>ParamSpec</code> would be cast to a tuple if a list was provided. Patch by Alex Waygood.</li> </ul> </li> <li>Fix <code>Protocol</code> tests on Python 3.13.0a6 and newer. 3.13.0a6 adds a new <code>__static_attributes__</code> attribute to all classes in Python, which broke some assumptions made by the implementation of <code>typing_extensions.Protocol</code>. Similarly, 3.13.0b1 adds the new <code>__firstlineno__</code> attribute to all classes.</li> <li>Fix <code>AttributeError</code> when using <code>typing_extensions.runtime_checkable</code> in combination with <code>typing.Protocol</code> on Python 3.12.2 or newer. Patch by Alex Waygood.</li> <li>At runtime, <code>assert_never</code> now includes the repr of the argument</li> </ul> <!-- raw HTML omitted --> </blockquote> <p>... (truncated)</p> </details> <details> <summary>Changelog</summary> <p><em>Sourced from <a href="https://github.com/python/typing_extensions/blob/main/CHANGELOG.md">typing-extensions's changelog</a>.</em></p> <blockquote> <h1>Release 4.12.0 (May 23, 2024)</h1> <p>This release is mostly the same as 4.12.0rc1 but fixes one more longstanding bug.</p> <ul> <li>Fix incorrect behaviour of <code>typing_extensions.ParamSpec</code> on Python 3.8 and 3.9 that meant that <code>isinstance(typing_extensions.ParamSpec("P"), typing.TypeVar)</code> would have a different result in some situations depending on whether or not a profiling function had been set using <code>sys.setprofile</code>. Patch by Alex Waygood.</li> </ul> <h1>Release 4.12.0rc1 (May 16, 2024)</h1> <p>This release focuses on compatibility with the upcoming release of Python 3.13. Most changes are related to the implementation of type parameter defaults (PEP 696).</p> <p>Thanks to all of the people who contributed patches, especially Alex Waygood, who did most of the work adapting typing-extensions to the CPython PEP 696 implementation.</p> <p>Full changelog:</p> <ul> <li>Improve the implementation of type parameter defaults (PEP 696) <ul> <li>Backport the <code>typing.NoDefault</code> sentinel object from Python 3.13. TypeVars, ParamSpecs and TypeVarTuples without default values now have their <code>__default__</code> attribute set to this sentinel value.</li> <li>TypeVars, ParamSpecs and TypeVarTuples now have a <code>has_default()</code> method, matching <code>typing.TypeVar</code>, <code>typing.ParamSpec</code> and <code>typing.TypeVarTuple</code> on Python 3.13+.</li> <li>TypeVars, ParamSpecs and TypeVarTuples with <code>default=None</code> passed to their constructors now have their <code>__default__</code> attribute set to <code>None</code> at runtime rather than <code>types.NoneType</code>.</li> <li>Fix most tests for <code>TypeVar</code>, <code>ParamSpec</code> and <code>TypeVarTuple</code> on Python 3.13.0b1 and newer.</li> <li>Backport CPython PR <a href="https://redirect.github.com/python/cpython/pull/118774">#118774</a>, allowing type parameters without default values to follow those with default values in some type parameter lists. Patch by Alex Waygood, backporting a CPython PR by Jelle Zijlstra.</li> <li>It is now disallowed to use a <code>TypeVar</code> with a default value after a <code>TypeVarTuple</code> in a type parameter list. This matches the CPython implementation of PEP 696 on Python 3.13+.</li> <li>Fix bug in PEP-696 implementation where a default value for a <code>ParamSpec</code> would be cast to a tuple if a list was provided. Patch by Alex Waygood.</li> </ul> </li> <li>Fix <code>Protocol</code> tests on Python 3.13.0a6 and newer. 3.13.0a6 adds a new <code>__static_attributes__</code> attribute to all classes in Python, which broke some assumptions made by the implementation of <code>typing_extensions.Protocol</code>. Similarly, 3.13.0b1 adds the new <code>__firstlineno__</code> attribute to all classes.</li> </ul> <!-- raw HTML omitted --> </blockquote> <p>... (truncated)</p> </details> <details> <summary>Commits</summary> <ul> <li><a href="https://github.com/python/typing_extensions/commit/f90a8dc40b60bf43510b8611a07d8cc570544ffe"><code>f90a8dc</code></a> Prepare release 4.12.0 (<a href="https://redirect.github.com/python/typing_extensions/issues/408">#408</a>)</li> <li><a href="https://github.com/python/typing_extensions/commit/118e1a604a857d54cb70a2a1f930b425676d6cb4"><code>118e1a6</code></a> Make sure <code>isinstance(typing_extensions.ParamSpec("P"), typing.TypeVar)</code> is u...</li> <li><a href="https://github.com/python/typing_extensions/commit/910141ab8295b422851f83ffc46c9eb04bbca719"><code>910141a</code></a> Add security documentation (<a href="https://redirect.github.com/python/typing_extensions/issues/403">#403</a>)</li> <li><a href="https://github.com/python/typing_extensions/commit/0dbc7c971f7ec61f12a1466f8d8f222bdf9a4b31"><code>0dbc7c9</code></a> Prepare release 4.12.0rc1 (<a href="https://redirect.github.com/python/typing_extensions/issues/402">#402</a>)</li> <li><a href="https://github.com/python/typing_extensions/commit/1da5d3d24441cc059fe4d49131588b719ee41d59"><code>1da5d3d</code></a> Update actions/setup-python (<a href="https://redirect.github.com/python/typing_extensions/issues/401">#401</a>)</li> <li><a href="https://github.com/python/typing_extensions/commit/72298f05fc520f05ca9a280f5ed0fa3e5de27041"><code>72298f0</code></a> 4.12.0a2 (<a href="https://redirect.github.com/python/typing_extensions/issues/400">#400</a>)</li> <li><a href="https://github.com/python/typing_extensions/commit/465ba786ca98b99e75905fe2aaa98131ef27d54c"><code>465ba78</code></a> Fix publish workflow (<a href="https://redirect.github.com/python/typing_extensions/issues/399">#399</a>)</li> <li><a href="https://github.com/python/typing_extensions/commit/21fde1f0d04f78e080ca4f6119293b607d9a0475"><code>21fde1f</code></a> Prepare releaes 4.12.0a1 (<a href="https://redirect.github.com/python/typing_extensions/issues/398">#398</a>)</li> <li><a href="https://github.com/python/typing_extensions/commit/63d827754489f307630dea2e0f58dfab65837a66"><code>63d8277</code></a> Add workflow for Trusted Publishing (<a href="https://redirect.github.com/python/typing_extensions/issues/395">#395</a>)</li> <li><a href="https://github.com/python/typing_extensions/commit/074d053727f8c658e65dc9a3ccd9760421de52a9"><code>074d053</code></a> Backport PEP-696 specialisation on Python >=3.11.1 (<a href="https://redirect.github.com/python/typing_extensions/issues/397">#397</a>)</li> <li>Additional commits viewable in <a href="https://github.com/python/typing_extensions/compare/4.10.0...4.12.0">compare view</a></li> </ul> </details> <br /> 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 <dependency name> major version` will close this group update PR and stop Dependabot creating any more for the specific dependency's major version (unless you unignore this specific dependency's major version or upgrade to it yourself) - `@dependabot ignore <dependency name> minor version` will close this group update PR and stop Dependabot creating any more for the specific dependency's minor version (unless you unignore this specific dependency's minor version or upgrade to it yourself) - `@dependabot ignore <dependency name>` will close this group update PR and stop Dependabot creating any more for the specific dependency (unless you unignore this specific dependency or upgrade to it yourself) - `@dependabot unignore <dependency name>` will remove all of the ignore conditions of the specified dependency - `@dependabot unignore <dependency name> <ignore condition>` will remove the ignore condition of the specified dependency and ignore conditions </details> Signed-off-by: dependabot[bot] <[email protected]> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
No description provided.