-
Notifications
You must be signed in to change notification settings - Fork 1
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
pypdfium2 4.19.0 #2
Conversation
Linter check found the following problems:The following problems have been found:ERROR: clone/recipe/meta.yaml:22: host_section_needs_exact_pinnings: Packages in host must have exact version pinnings, except python build tools. |
Linter check found the following problems:The following problems have been found:ERROR: clone/recipe/meta.yaml:22: host_section_needs_exact_pinnings: Packages in host must have exact version pinnings, except python build tools. |
Linter check found the following problems:The following problems have been found:ERROR: clone/recipe/meta.yaml:25: host_section_needs_exact_pinnings: Packages in host must have exact version pinnings, except python build tools. |
Linter check found the following problems:The following problems have been found:ERROR: clone/recipe/meta.yaml:26: host_section_needs_exact_pinnings: Packages in host must have exact version pinnings, except python build tools. |
7aa5e9b
to
7dbe156
Compare
Linter check found the following problems:The following problems have been found:ERROR: clone/recipe/meta.yaml:31: host_section_needs_exact_pinnings: Packages in host must have exact version pinnings, except python build tools. |
I just viewed the patch. Please see bblanchon/pdfium-binaries#119 (comment) for an idea how your goal could be achieved already without any changes to pypdfium2's code. Probably you have realized this already, but FWIW the current patch (f869bfa) is thoroughly inappropriate. You really should not go commenting out large parts of intentional code. This completely breaks the intended use case, so it is not mergeable. And it is also not maintainable in this feedstock. Instead, if you want to run a different code passage, this can simply be controlled through the top level PS: The ctypesgen call style improvement of the patch is good, but was already implemented independently in |
BTW, regarding commit 7dbe156, pillow is meant to be optional at runtime, only a subset of features depends on it (e.g. the rendering CLI). So no need to specify it as hard dependency. |
Linter check found the following problems:The following problems have been found:ERROR: clone/recipe/meta.yaml:31: host_section_needs_exact_pinnings: Packages in host must have exact version pinnings, except python build tools. |
85a47f9
to
b9cc0da
Compare
Linter check found the following problems:The following problems have been found:ERROR: clone/recipe/meta.yaml:32: host_section_needs_exact_pinnings: Packages in host must have exact version pinnings, except python build tools. |
Linter check found the following problems:The following problems have been found:ERROR: clone/recipe/meta.yaml:26: no_git_on_windows: git should not be used as a dependency on Windows. |
7ce03f1
to
4fd402c
Compare
- Add PDFIUM_PLATFORM=none - Add to script - Disable patches - Disable git in build - Disable pillow in run
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.
LGTM
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.
LGTM
- python | ||
- pdfium-binaries 118.0.5868 | ||
# to run pypdfium2 imgtopdf you need to have pillow | ||
- pillow |
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.
As mentioned in #2 (comment), pillow is supposed to be optional, only a subset of features depends on it.
i.e. it's not strictly necessary for all use cases. But it may still be OK to keep since it's very commonly needed (upstream, we got repeated questions why pillow is not in the pyproject dependencies).
There is a GH outage (https://www.githubstatus.com/incidents/smdz34v7j8q0) so I can't hit the approve button. But I approve. |
Jira: PKG-2559
Upstream project: pypdfium2 requirements