Skip to content
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

hooks: add hooks for pypdfium2 and pypdfium2_raw #860

Merged
merged 1 commit into from
Jan 25, 2025

Conversation

rokm
Copy link
Member

@rokm rokm commented Jan 25, 2025

Add hooks for pypdfium2 (collect version.json file) and pypdfium2_raw (collect version.json file and bundled pdfium shared library).

Add hooks for `pypdfium2` (collect `version.json` file) and
`pypdfium2_raw` (collect `version.json` file and bundled pdfium
shared library).
@rokm rokm merged commit dbfd071 into pyinstaller:master Jan 25, 2025
26 checks passed
@rokm rokm deleted the hook-pypdfium2 branch January 25, 2025 18:10
Guts added a commit to geotribu/cli that referenced this pull request Feb 1, 2025
….* to ==2025.* (#253)

Updates the requirements on
[pyinstaller-hooks-contrib](https://github.com/pyinstaller/pyinstaller-hooks-contrib)
to permit the latest version.
<details>
<summary>Release notes</summary>
<p><em>Sourced from <a
href="https://github.com/pyinstaller/pyinstaller-hooks-contrib/releases">pyinstaller-hooks-contrib's
releases</a>.</em></p>
<blockquote>
<h2>v2025.1</h2>
<p>Please see the <a
href="https://www.github.com/pyinstaller/pyinstaller-hooks-contrib/tree/v2025.1/CHANGELOG.rst">changelog</a>
for more details</p>
</blockquote>
</details>
<details>
<summary>Changelog</summary>
<p><em>Sourced from <a
href="https://github.com/pyinstaller/pyinstaller-hooks-contrib/blob/master/CHANGELOG.rst">pyinstaller-hooks-contrib's
changelog</a>.</em></p>
<blockquote>
<h2>2025.1 (2025-01-31)</h2>
<p>New hooks</p>
<pre><code>
* Add hooks for ``pypdfium2`` and ``pypdfium2_raw``.
(`[#860](pyinstaller/pyinstaller-hooks-contrib#860)

&lt;https://github.com/pyinstaller/pyinstaller-hooks-contrib/issues/860&gt;`_)
<p>Updated hooks
</code></pre></p>
<ul>
<li>Update <code>numba</code> hook for compatibility with
<code>numba</code> v0.61.0.
(<code>[#857](pyinstaller/pyinstaller-hooks-contrib#857)
&lt;https://github.com/pyinstaller/pyinstaller-hooks-contrib/issues/857&gt;</code>_)</li>
<li>Update <code>numcodecs</code> hook for compatibility with
<code>numcodecs</code> v0.15.0.

(<code>[#858](pyinstaller/pyinstaller-hooks-contrib#858)
&lt;https://github.com/pyinstaller/pyinstaller-hooks-contrib/issues/858&gt;</code>_)</li>
</ul>
<h2>2025.0 (2025-01-16)</h2>
<p>New hooks</p>
<pre><code>
* Add hook for ``fsspec`` to collect the package's submodules
and ensure the protocol plugins are working.
(`[#856](pyinstaller/pyinstaller-hooks-contrib#856)

&lt;https://github.com/pyinstaller/pyinstaller-hooks-contrib/issues/856&gt;`_)
* Add hook for ``intake`` to collect its plugins (registered via the
``intake.drivers`` entry-point).
(`[#853](pyinstaller/pyinstaller-hooks-contrib#853)

&lt;https://github.com/pyinstaller/pyinstaller-hooks-contrib/issues/853&gt;`_)
* Add hook for ``ruamel.yaml`` to collect its plugins, and ensure that
  plugins' ``__plug_in__`` modules are collected as source .py files
(which is necessary for their discovery).
(`[#844](pyinstaller/pyinstaller-hooks-contrib#844)

&lt;https://github.com/pyinstaller/pyinstaller-hooks-contrib/issues/844&gt;`_)
* Add hook for ``sam2`` (Segment Anything Model 2).
(`[#847](pyinstaller/pyinstaller-hooks-contrib#847)

&lt;https://github.com/pyinstaller/pyinstaller-hooks-contrib/issues/847&gt;`_)
* Add hook for ``zarr`` to collect the package's metadata.
(`[#855](pyinstaller/pyinstaller-hooks-contrib#855)

&lt;https://github.com/pyinstaller/pyinstaller-hooks-contrib/issues/855&gt;`_)
<p>Updated hooks
</code></pre></p>
<ul>
<li>Revise the search for OpenSSL shared library and
<code>ossl-modules</code> directory
in the <code>cryptography</code> hook, in order to mitigate issues with
unrelated
copies of OpenSSL ending up being pulled into the build. Most notably,
the hook should not be searching for OpenSSL shared library when
<code>cryptography</code> PyPI wheel is installed, because those ship
with</li>
</ul>
<!-- raw HTML omitted -->
</blockquote>
<p>... (truncated)</p>
</details>
<details>
<summary>Commits</summary>
<ul>
<li><a
href="https://github.com/pyinstaller/pyinstaller-hooks-contrib/commit/4c8867f9e096a1913d8dd10dfc0da82cec8a80e0"><code>4c8867f</code></a>
Release v2025.1</li>
<li><a
href="https://github.com/pyinstaller/pyinstaller-hooks-contrib/commit/85b5c06631adda404c05b48a08f6ec95bbf6ddb6"><code>85b5c06</code></a>
Scheduled weekly dependency update for week 04 (<a
href="https://redirect.github.com/pyinstaller/pyinstaller-hooks-contrib/issues/861">#861</a>)</li>
<li><a
href="https://github.com/pyinstaller/pyinstaller-hooks-contrib/commit/dbfd071eb1cdd7da27cc5457ac63639a28025287"><code>dbfd071</code></a>
hooks: add hooks for pypdfium2 and pypdfium2_raw</li>
<li><a
href="https://github.com/pyinstaller/pyinstaller-hooks-contrib/commit/296915ef83c119fe54f43ce2fd7ef9fa3e0ebe13"><code>296915e</code></a>
Scheduled weekly dependency update for week 03 (<a
href="https://redirect.github.com/pyinstaller/pyinstaller-hooks-contrib/issues/859">#859</a>)</li>
<li><a
href="https://github.com/pyinstaller/pyinstaller-hooks-contrib/commit/e512683b2dc45e458c8d71e16ce5b5a9168b277c"><code>e512683</code></a>
hooks: update <code>numba</code> hook for compatibility with numba
v0.61</li>
<li><a
href="https://github.com/pyinstaller/pyinstaller-hooks-contrib/commit/5f8667bb30b9a301690aad72c361331b54252db5"><code>5f8667b</code></a>
hooks: update numcodecs hook for compatibility with numcodecs
v0.15.0</li>
<li><a
href="https://github.com/pyinstaller/pyinstaller-hooks-contrib/commit/06928e9cfd1f1003892002cc26e79e5d2d957189"><code>06928e9</code></a>
Release v2025.0</li>
<li><a
href="https://github.com/pyinstaller/pyinstaller-hooks-contrib/commit/2c162e9417db3ca686b11662485dc42bc71d66aa"><code>2c162e9</code></a>
hooks: add hook for fsspec (<a
href="https://redirect.github.com/pyinstaller/pyinstaller-hooks-contrib/issues/856">#856</a>)</li>
<li><a
href="https://github.com/pyinstaller/pyinstaller-hooks-contrib/commit/6c7df30fe94341457032ced8ac2ee79e5a6b6cd6"><code>6c7df30</code></a>
hooks: add hook for zarr (<a
href="https://redirect.github.com/pyinstaller/pyinstaller-hooks-contrib/issues/855">#855</a>)</li>
<li><a
href="https://github.com/pyinstaller/pyinstaller-hooks-contrib/commit/8d1e52848ec92d194604b613bf4916cfeefc290e"><code>8d1e528</code></a>
hooks: add hook for intake (<a
href="https://redirect.github.com/pyinstaller/pyinstaller-hooks-contrib/issues/853">#853</a>)</li>
<li>Additional commits viewable in <a
href="https://github.com/pyinstaller/pyinstaller-hooks-contrib/compare/2024.0...v2025.1">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 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>
Guts added a commit to qgis-deployment/qgis-deployment-toolbelt-cli that referenced this pull request Feb 3, 2025
….* to ==2025.* (#617)

Updates the requirements on
[pyinstaller-hooks-contrib](https://github.com/pyinstaller/pyinstaller-hooks-contrib)
to permit the latest version.
<details>
<summary>Release notes</summary>
<p><em>Sourced from <a
href="https://github.com/pyinstaller/pyinstaller-hooks-contrib/releases">pyinstaller-hooks-contrib's
releases</a>.</em></p>
<blockquote>
<h2>v2025.1</h2>
<p>Please see the <a
href="https://www.github.com/pyinstaller/pyinstaller-hooks-contrib/tree/v2025.1/CHANGELOG.rst">changelog</a>
for more details</p>
</blockquote>
</details>
<details>
<summary>Changelog</summary>
<p><em>Sourced from <a
href="https://github.com/pyinstaller/pyinstaller-hooks-contrib/blob/master/CHANGELOG.rst">pyinstaller-hooks-contrib's
changelog</a>.</em></p>
<blockquote>
<h2>2025.1 (2025-01-31)</h2>
<p>New hooks</p>
<pre><code>
* Add hooks for ``pypdfium2`` and ``pypdfium2_raw``.
(`[#860](pyinstaller/pyinstaller-hooks-contrib#860)

&lt;https://github.com/pyinstaller/pyinstaller-hooks-contrib/issues/860&gt;`_)
<p>Updated hooks
</code></pre></p>
<ul>
<li>Update <code>numba</code> hook for compatibility with
<code>numba</code> v0.61.0.
(<code>[#857](pyinstaller/pyinstaller-hooks-contrib#857)
&lt;https://github.com/pyinstaller/pyinstaller-hooks-contrib/issues/857&gt;</code>_)</li>
<li>Update <code>numcodecs</code> hook for compatibility with
<code>numcodecs</code> v0.15.0.

(<code>[#858](pyinstaller/pyinstaller-hooks-contrib#858)
&lt;https://github.com/pyinstaller/pyinstaller-hooks-contrib/issues/858&gt;</code>_)</li>
</ul>
<h2>2025.0 (2025-01-16)</h2>
<p>New hooks</p>
<pre><code>
* Add hook for ``fsspec`` to collect the package's submodules
and ensure the protocol plugins are working.
(`[#856](pyinstaller/pyinstaller-hooks-contrib#856)

&lt;https://github.com/pyinstaller/pyinstaller-hooks-contrib/issues/856&gt;`_)
* Add hook for ``intake`` to collect its plugins (registered via the
``intake.drivers`` entry-point).
(`[#853](pyinstaller/pyinstaller-hooks-contrib#853)

&lt;https://github.com/pyinstaller/pyinstaller-hooks-contrib/issues/853&gt;`_)
* Add hook for ``ruamel.yaml`` to collect its plugins, and ensure that
  plugins' ``__plug_in__`` modules are collected as source .py files
(which is necessary for their discovery).
(`[#844](pyinstaller/pyinstaller-hooks-contrib#844)

&lt;https://github.com/pyinstaller/pyinstaller-hooks-contrib/issues/844&gt;`_)
* Add hook for ``sam2`` (Segment Anything Model 2).
(`[#847](pyinstaller/pyinstaller-hooks-contrib#847)

&lt;https://github.com/pyinstaller/pyinstaller-hooks-contrib/issues/847&gt;`_)
* Add hook for ``zarr`` to collect the package's metadata.
(`[#855](pyinstaller/pyinstaller-hooks-contrib#855)

&lt;https://github.com/pyinstaller/pyinstaller-hooks-contrib/issues/855&gt;`_)
<p>Updated hooks
</code></pre></p>
<ul>
<li>Revise the search for OpenSSL shared library and
<code>ossl-modules</code> directory
in the <code>cryptography</code> hook, in order to mitigate issues with
unrelated
copies of OpenSSL ending up being pulled into the build. Most notably,
the hook should not be searching for OpenSSL shared library when
<code>cryptography</code> PyPI wheel is installed, because those ship
with</li>
</ul>
<!-- raw HTML omitted -->
</blockquote>
<p>... (truncated)</p>
</details>
<details>
<summary>Commits</summary>
<ul>
<li><a
href="https://github.com/pyinstaller/pyinstaller-hooks-contrib/commit/4c8867f9e096a1913d8dd10dfc0da82cec8a80e0"><code>4c8867f</code></a>
Release v2025.1</li>
<li><a
href="https://github.com/pyinstaller/pyinstaller-hooks-contrib/commit/85b5c06631adda404c05b48a08f6ec95bbf6ddb6"><code>85b5c06</code></a>
Scheduled weekly dependency update for week 04 (<a
href="https://redirect.github.com/pyinstaller/pyinstaller-hooks-contrib/issues/861">#861</a>)</li>
<li><a
href="https://github.com/pyinstaller/pyinstaller-hooks-contrib/commit/dbfd071eb1cdd7da27cc5457ac63639a28025287"><code>dbfd071</code></a>
hooks: add hooks for pypdfium2 and pypdfium2_raw</li>
<li><a
href="https://github.com/pyinstaller/pyinstaller-hooks-contrib/commit/296915ef83c119fe54f43ce2fd7ef9fa3e0ebe13"><code>296915e</code></a>
Scheduled weekly dependency update for week 03 (<a
href="https://redirect.github.com/pyinstaller/pyinstaller-hooks-contrib/issues/859">#859</a>)</li>
<li><a
href="https://github.com/pyinstaller/pyinstaller-hooks-contrib/commit/e512683b2dc45e458c8d71e16ce5b5a9168b277c"><code>e512683</code></a>
hooks: update <code>numba</code> hook for compatibility with numba
v0.61</li>
<li><a
href="https://github.com/pyinstaller/pyinstaller-hooks-contrib/commit/5f8667bb30b9a301690aad72c361331b54252db5"><code>5f8667b</code></a>
hooks: update numcodecs hook for compatibility with numcodecs
v0.15.0</li>
<li><a
href="https://github.com/pyinstaller/pyinstaller-hooks-contrib/commit/06928e9cfd1f1003892002cc26e79e5d2d957189"><code>06928e9</code></a>
Release v2025.0</li>
<li><a
href="https://github.com/pyinstaller/pyinstaller-hooks-contrib/commit/2c162e9417db3ca686b11662485dc42bc71d66aa"><code>2c162e9</code></a>
hooks: add hook for fsspec (<a
href="https://redirect.github.com/pyinstaller/pyinstaller-hooks-contrib/issues/856">#856</a>)</li>
<li><a
href="https://github.com/pyinstaller/pyinstaller-hooks-contrib/commit/6c7df30fe94341457032ced8ac2ee79e5a6b6cd6"><code>6c7df30</code></a>
hooks: add hook for zarr (<a
href="https://redirect.github.com/pyinstaller/pyinstaller-hooks-contrib/issues/855">#855</a>)</li>
<li><a
href="https://github.com/pyinstaller/pyinstaller-hooks-contrib/commit/8d1e52848ec92d194604b613bf4916cfeefc290e"><code>8d1e528</code></a>
hooks: add hook for intake (<a
href="https://redirect.github.com/pyinstaller/pyinstaller-hooks-contrib/issues/853">#853</a>)</li>
<li>Additional commits viewable in <a
href="https://github.com/pyinstaller/pyinstaller-hooks-contrib/compare/2024.0...v2025.1">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 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>
github-actions bot pushed a commit to wxx9248/Pickle-Rush that referenced this pull request Feb 3, 2025
…5.1 (#122)

Bumps
[pyinstaller-hooks-contrib](https://github.com/pyinstaller/pyinstaller-hooks-contrib)
from 2025.0 to 2025.1.
<details>
<summary>Release notes</summary>
<p><em>Sourced from <a
href="https://github.com/pyinstaller/pyinstaller-hooks-contrib/releases">pyinstaller-hooks-contrib's
releases</a>.</em></p>
<blockquote>
<h2>v2025.1</h2>
<p>Please see the <a
href="https://www.github.com/pyinstaller/pyinstaller-hooks-contrib/tree/v2025.1/CHANGELOG.rst">changelog</a>
for more details</p>
</blockquote>
</details>
<details>
<summary>Changelog</summary>
<p><em>Sourced from <a
href="https://github.com/pyinstaller/pyinstaller-hooks-contrib/blob/master/CHANGELOG.rst">pyinstaller-hooks-contrib's
changelog</a>.</em></p>
<blockquote>
<h2>2025.1 (2025-01-31)</h2>
<p>New hooks</p>
<pre><code>
* Add hooks for ``pypdfium2`` and ``pypdfium2_raw``.
(`[#860](pyinstaller/pyinstaller-hooks-contrib#860)

&lt;https://github.com/pyinstaller/pyinstaller-hooks-contrib/issues/860&gt;`_)
<p>Updated hooks
</code></pre></p>
<ul>
<li>Update <code>numba</code> hook for compatibility with
<code>numba</code> v0.61.0.
(<code>[#857](pyinstaller/pyinstaller-hooks-contrib#857)
&lt;https://github.com/pyinstaller/pyinstaller-hooks-contrib/issues/857&gt;</code>_)</li>
<li>Update <code>numcodecs</code> hook for compatibility with
<code>numcodecs</code> v0.15.0.

(<code>[#858](pyinstaller/pyinstaller-hooks-contrib#858)
&lt;https://github.com/pyinstaller/pyinstaller-hooks-contrib/issues/858&gt;</code>_)</li>
</ul>
</blockquote>
</details>
<details>
<summary>Commits</summary>
<ul>
<li><a
href="https://github.com/pyinstaller/pyinstaller-hooks-contrib/commit/4c8867f9e096a1913d8dd10dfc0da82cec8a80e0"><code>4c8867f</code></a>
Release v2025.1</li>
<li><a
href="https://github.com/pyinstaller/pyinstaller-hooks-contrib/commit/85b5c06631adda404c05b48a08f6ec95bbf6ddb6"><code>85b5c06</code></a>
Scheduled weekly dependency update for week 04 (<a
href="https://redirect.github.com/pyinstaller/pyinstaller-hooks-contrib/issues/861">#861</a>)</li>
<li><a
href="https://github.com/pyinstaller/pyinstaller-hooks-contrib/commit/dbfd071eb1cdd7da27cc5457ac63639a28025287"><code>dbfd071</code></a>
hooks: add hooks for pypdfium2 and pypdfium2_raw</li>
<li><a
href="https://github.com/pyinstaller/pyinstaller-hooks-contrib/commit/296915ef83c119fe54f43ce2fd7ef9fa3e0ebe13"><code>296915e</code></a>
Scheduled weekly dependency update for week 03 (<a
href="https://redirect.github.com/pyinstaller/pyinstaller-hooks-contrib/issues/859">#859</a>)</li>
<li><a
href="https://github.com/pyinstaller/pyinstaller-hooks-contrib/commit/e512683b2dc45e458c8d71e16ce5b5a9168b277c"><code>e512683</code></a>
hooks: update <code>numba</code> hook for compatibility with numba
v0.61</li>
<li><a
href="https://github.com/pyinstaller/pyinstaller-hooks-contrib/commit/5f8667bb30b9a301690aad72c361331b54252db5"><code>5f8667b</code></a>
hooks: update numcodecs hook for compatibility with numcodecs
v0.15.0</li>
<li>See full diff in <a
href="https://github.com/pyinstaller/pyinstaller-hooks-contrib/compare/v2025.0...v2025.1">compare
view</a></li>
</ul>
</details>
<br />


[![Dependabot compatibility
score](https://dependabot-badges.githubapp.com/badges/compatibility_score?dependency-name=pyinstaller-hooks-contrib&package-manager=pip&previous-version=2025.0&new-version=2025.1)](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>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants