Closed Bug 1837299 Opened 1 years ago Closed 1 year ago

[wpt-sync] Sync PR 40435 - Bump pyobjc-core from 9.1.1 to 9.2 in /tools

Categories

(Testing :: web-platform-tests, task, P4)

task

Tracking

(firefox116 fixed)

RESOLVED FIXED
116 Branch
Tracking Status
firefox116 --- fixed

People

(Reporter: wpt-sync, Unassigned)

References

(Depends on 1 open bug, )

Details

(Whiteboard: [wptsync downstream])

Sync web-platform-tests PR 40435 into mozilla-central (this bug is closed when the sync is complete).

PR: https://github.com/web-platform-tests/wpt/pull/40435
Details from upstream follow.

dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> wrote:

Bump pyobjc-core from 9.1.1 to 9.2 in /tools

Bumps pyobjc-core from 9.1.1 to 9.2.
<details>
<summary>Release notes</summary>
<p><em>Sourced from <a href="https://github.com/ronaldoussoren/pyobjc/releases">pyobjc-core's releases</a>.</em></p>
<blockquote>
<h2>PyObC 9.2 with some bugfixes</h2>
<ul>
<li>
<p><a href="https://redirect.github.com/ronaldoussoren/pyobjc/issues/549">#549</a>: Added warning <code>objc.ObjCSuperWarning</code> that is used
to warn about classes that use argument-less super without binding that
name to <code>objc.super</code>.</p>
<p>The correct code pattern is:</p>
<pre lang="python3"><code>from Foundation import NSObject
from objc import super
<p>class MyObject(NSObject):
def init(self):
self = super().init()
if self is None:
return None</p>
<pre><code> ...
return self
</code></pre>
<p></code></pre></p>
</li>
<li>
<p><a href="https://redirect.github.com/ronaldoussoren/pyobjc/issues/549">#549</a>: Document that <code>objc.super</code> must be used instead of
<code>builtin.super</code> when calling superclass methods in a Cocoa subclass.</p>
<p>See <code>the documentation <(https://pyobjc.readthedocs.io/core/super.html&gt;</code>_
for more details.</p>
</li>
<li>
<p><a href="https://redirect.github.com/ronaldoussoren/pyobjc/issues/550">#550</a>: Add minimal <code>pyproject.toml</code> to all subprojects</p>
<p>Recent versions of pip give a deprecation warning for projects without
a <code>pyproject.toml</code>, and version 23.1 enabled the <code>pyproject.toml</code>
backend by default. Add a minimal <code>pyproject.toml</code> to get a consistent
build regardless of the version of pip</p>
</li>
<li>
<p><a href="https://redirect.github.com/ronaldoussoren/pyobjc/issues/551">#551</a>: Fix crash in pyobjc-core when using Python 3.12a7.</p>
</li>
<li>
<p><a href="https://redirect.github.com/ronaldoussoren/pyobjc/issues/449">#449</a>: Added explicit tests for dealing with Objective-C categories
that are loaded while using classes from Python.</p>
</li>
<li>
<p><a href="https://redirect.github.com/ronaldoussoren/pyobjc/issues/552">#552</a>: Fix the version of macOS where the SafariServices framework is
present.</p>
</li>
<li>
<p><a href="https://redirect.github.com/ronaldoussoren/pyobjc/issues/552">#552</a>: Fixed some issues found by testing on a macOS 10.11 system</p>
</li>
<li>
<p>Trying to implement a method with SIMD types as arguments or return value
will now give a more useful error when the bridge does not support the
signature.</p>
</li>
</ul>
<!-- raw HTML omitted -->
</blockquote>
<p>... (truncated)</p>
</details>
<details>
<summary>Changelog</summary>
<p><em>Sourced from <a href="https://github.com/ronaldoussoren/pyobjc/blob/master/docs/changelog.rst">pyobjc-core's changelog</a>.</em></p>
<blockquote>
<h2>Version 9.2</h2>
<ul>
<li>
<p>:issue:<code>549</code>: Added warning <code>objc.ObjCSuperWarning</code> that is used
to warn about classes that use argument-less super without binding that
name to <code>objc.super</code>.</p>
<p>The correct code pattern is:</p>
<p>.. sourcecode:: python3</p>
<p>from Foundation import NSObject
from objc import super</p>
<p>class MyObject(NSObject):
def init(self):
self = super().init()
if self is None:
return None</p>
<pre><code> ...
return self
</code></pre>
</li>
<li>
<p>:issue:<code>549</code>: Document that <code>objc.super</code> must be used instead of
<code>builtin.super</code> when calling superclass methods in a Cocoa subclass.</p>
<p>See <code>the documentation <(https://pyobjc.readthedocs.io/core/super.html&gt;</code>_
for more details.</p>
</li>
<li>
<p>:issue:<code>550</code>: Add minimal <code>pyproject.toml</code> to all subprojects</p>
<p>Recent versions of pip give a deprecation warning for projects without
a <code>pyproject.toml</code>, and version 23.1 enabled the <code>pyproject.toml</code>
backend by default. Add a minimal <code>pyproject.toml</code> to get a consistent
build regardless of the version of pip</p>
</li>
<li>
<p>:issue:<code>551</code>: Fix crash in pyobjc-core when using Python 3.12a7.</p>
</li>
<li>
<p>:issue:<code>449</code>: Added explicit tests for dealing with Objective-C categories
that are loaded while using classes from Python.</p>
</li>
<li>
<p>:issue:<code>552</code>: Fix the version of macOS where the SafariServices framework is
present.</p>
</li>
<li>
<p>:issue:<code>552</code>: Fixed some issues found by testing on a macOS 10.11 system</p>
</li>
<li>
<p>Trying to implement a method with SIMD types as arguments or return value</p>
</li>
</ul>
<!-- raw HTML omitted -->
</blockquote>
<p>... (truncated)</p>
</details>
<details>
<summary>Commits</summary>
<ul>
<li><a href="https://github.com/ronaldoussoren/pyobjc/commit/db17b71246d9b417c8ec0fae8163b938f88f85b4"><code>db17b71</code></a> Some last minute fixes, in particular a crash in pyobjc-core in an error case</li>
<li><a href="https://github.com/ronaldoussoren/pyobjc/commit/fd8418244358d3cca30c90a83d6af1d6690da221"><code>fd84182</code></a> Update release information</li>
<li><a href="https://github.com/ronaldoussoren/pyobjc/commit/3726af7862aff4bbc0516df86b269377e194d34e"><code>3726af7</code></a> Fix typo that broke build on Python < 3.12</li>
<li><a href="https://github.com/ronaldoussoren/pyobjc/commit/a823a572d3f968b51de284c4aff4b745d9862692"><code>a823a57</code></a> prepare for releease</li>
<li><a href="https://github.com/ronaldoussoren/pyobjc/commit/4f9383ccbda4b35a628808ee3094bbcb256a4e00"><code>4f9383c</code></a> Set tp_as_buffer for all NSData subclasses, not just for NSData itself.</li>
<li><a href="https://github.com/ronaldoussoren/pyobjc/commit/0f0d2d552c63aefc547b989fa0ba6d7361b6287a"><code>0f0d2d5</code></a> Update for Python 3.12 bytecode changes in meth-func.m</li>
<li><a href="https://github.com/ronaldoussoren/pyobjc/commit/dc0693943bca597a34bd486e1237015a7300d1c2"><code>dc06939</code></a> Adjust for bytecode changes in 3.12</li>
<li><a href="https://github.com/ronaldoussoren/pyobjc/commit/b54e0dedc1ccf296ef8e89aba40799664ca19a64"><code>b54e0de</code></a> Some tweaks to fix incompatibility with python 3.12</li>
<li><a href="https://github.com/ronaldoussoren/pyobjc/commit/2ddffa61a332b5a932ca0ecf6af3b89564fe8e4d"><code>2ddffa6</code></a> Fix metadata, issues found due to new test</li>
<li><a href="https://github.com/ronaldoussoren/pyobjc/commit/5e0436da59b43b40688d9406d5d5a608307e0b7c"><code>5e0436d</code></a> Fix incomplete metadata for CoreMediaIO.CMIOObjectSetPropertyData</li>
<li>Additional commits viewable in <a href="https://github.com/ronaldoussoren/pyobjc/compare/v9.1.1...v9.2">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.


<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 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>

The PR was not expected to affect any tests, but the try push wasn't a success. Check the try results for infrastructure issues
Test result changes from PR not available.
Pushed by wptsync@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/79991144efe0 [wpt PR 40435] - Bump pyobjc-core from 9.1.1 to 9.2 in /tools, a=testonly
Test result changes from PR not available.
Status: NEW → RESOLVED
Closed: 1 year ago
Resolution: --- → FIXED
Target Milestone: --- → 116 Branch
You need to log in before you can comment on or make changes to this bug.