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

Various #2981

Merged
merged 6 commits into from
Jan 5, 2024
Merged

Various #2981

merged 6 commits into from
Jan 5, 2024

Conversation

julian-smith-artifex-com
Copy link
Collaborator

Fix couple of issues, also fix for latest mupdf which makes some internal fns public.

Changed all references to Annot.parent to Annot.get_parent().
Instead have added missing flake8 to scripts/gh_release.py:test_packages, so
all required packages will already be available, e.g. when tests are run by
`scripts/test.py`.

This addresses pymupdf#2950 "Shelling out to pip during tests is problematic".
…rom wheel.

This is alternative to using `pip install`, which fails for system installs.

We also use `sudo` if root is `/`.
…c fns.

These fns are now in the MuPDF API:

    fz_copy_pixmap_rect()
    fz_pixmap_size()
    fz_scale_pixmap()
    fz_subsample_pixmap()
    fz_write_pixmap_as_jpeg()
    pdf_lookup_page_loc()
This broke test_pagedelete.py::test_deletion.
@julian-smith-artifex-com julian-smith-artifex-com merged commit 62cc377 into pymupdf:main Jan 5, 2024
2 checks passed
@github-actions github-actions bot locked and limited conversation to collaborators Jan 5, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants