diff --git a/.github/workflows/test_multiple.yml b/.github/workflows/test_multiple.yml index 801671b52..54f09444b 100644 --- a/.github/workflows/test_multiple.yml +++ b/.github/workflows/test_multiple.yml @@ -10,7 +10,7 @@ on: args: type: string default: '' - description: 'Arguments to pass to scripts/test.py' + description: 'Additional arguments to scripts/test.py' schedule: - cron: '13 6 * * *' diff --git a/.github/workflows/test_mupdf-master-branch.yml b/.github/workflows/test_mupdf-master-branch.yml deleted file mode 100644 index 8d95708d5..000000000 --- a/.github/workflows/test_mupdf-master-branch.yml +++ /dev/null @@ -1,39 +0,0 @@ -name: Test mupdf master branch - -on: - schedule: - - cron: '13 6 * * *' - workflow_dispatch: - -jobs: - - test_mupdf_master_branch: - # Build+test current PyMuPDF git with mupdf git master branch. - # - name: Test mupdf master branch - runs-on: ${{ matrix.os }} - strategy: - matrix: - os: [ubuntu-latest, windows-2019, macos-latest] - - # Avoid cancelling of all cibuildwheel runs after a single failure. - fail-fast: false - - steps: - - - uses: actions/checkout@v4 - - uses: actions/setup-python@v5 - - - name: test_mupdf-master-branch - env: - inputs_PYMUPDF_SETUP_MUPDF_BUILD: "git:--recursive --depth 1 --shallow-submodules --branch master https://github.com/ArtifexSoftware/mupdf.git" - inputs_flavours: "0" - inputs_sdist: "0" - inputs_wheels_cps: "cp312* cp313*" - inputs_wheels_default: "0" - inputs_wheels_linux_auto: "1" - inputs_wheels_linux_pyodide: "0" - inputs_wheels_macos_auto: "1" - inputs_wheels_windows_auto: "1" - run: - python scripts/gh_release.py diff --git a/.github/workflows/test_mupdf-release-branch.yml b/.github/workflows/test_mupdf-release-branch.yml deleted file mode 100644 index ab0b29337..000000000 --- a/.github/workflows/test_mupdf-release-branch.yml +++ /dev/null @@ -1,40 +0,0 @@ -name: Test mupdf release branch - -on: - - schedule: - - cron: '20 6 * * *' - workflow_dispatch: - -jobs: - - test_mupdf_release_branch: - # Build+test current PyMuPDF git with mupdf git release branch. - # - name: Test mupdf release branch - runs-on: ${{ matrix.os }} - strategy: - matrix: - os: [ubuntu-latest, windows-2019, macos-latest] - - # Avoid cancelling of all cibuildwheel runs after a single failure. - fail-fast: false - - steps: - - - uses: actions/checkout@v4 - - uses: actions/setup-python@v5 - - - name: test_mupdf-release-branch - env: - inputs_PYMUPDF_SETUP_MUPDF_BUILD: "git:--recursive --depth 1 --shallow-submodules --branch 1.26.x https://github.com/ArtifexSoftware/mupdf.git" - inputs_flavours: "0" - inputs_sdist: "0" - inputs_wheels_cps: "cp312*" - inputs_wheels_default: "0" - inputs_wheels_linux_auto: "1" - inputs_wheels_linux_pyodide: "0" - inputs_wheels_macos_auto: "1" - inputs_wheels_windows_auto: "1" - run: - python scripts/gh_release.py diff --git a/.github/workflows/test_quick.yml b/.github/workflows/test_quick.yml index 5040cf746..422ecfc74 100644 --- a/.github/workflows/test_quick.yml +++ b/.github/workflows/test_quick.yml @@ -1,10 +1,15 @@ -name: Test quick +name: test_quick on: pull_request: branches: [main] workflow_dispatch: + inputs: + args: + type: string + default: '' + description: 'Additional arguments to scripts/test.py' jobs: @@ -21,20 +26,10 @@ jobs: fail-fast: false steps: - - uses: actions/checkout@v4 - uses: actions/setup-python@v5 - - name: test_quick - env: - inputs_PYMUPDF_SETUP_MUPDF_BUILD: "git:--recursive --depth 1 --shallow-submodules --branch master https://github.com/ArtifexSoftware/mupdf.git" - inputs_flavours: "0" - inputs_sdist: "0" - inputs_wheels_cps: "cp312*" - inputs_wheels_default: "0" - inputs_wheels_linux_auto: "1" - inputs_wheels_macos_auto: "1" - inputs_wheels_windows_auto: "1" + PYMUPDF_test_args: ${{inputs.args}} run: - python scripts/gh_release.py + python scripts/test.py build test -a PYMUPDF_test_args diff --git a/changes.txt b/changes.txt index fc2920c8f..efcd8350e 100644 --- a/changes.txt +++ b/changes.txt @@ -2,7 +2,24 @@ Change Log ========== -**Changes in version 1.26.1** +**Changes in version 1.26.2** + +* Use MuPDF-1.26.3. + +* Fixed issues: + + * **Fixed** `4462 `_: delete_pages() does not accept a single int + * **Fixed** `4527 `_: Rect.intersects() is much slower than necessary + * **Fixed** `4564 `_: Possible encoding issue in PDF metadata + * **Fixed** `4575 `_: Bug with IRect contains method + +* Other: + + * Class Shape is now available as pymupdf.Shape. + * Added table cell markdown support. + + +**Changes in version 1.26.1 (2025-06-11)** * Use MuPDF-1.26.2. diff --git a/setup.py b/setup.py index 86cc15f76..06e4096f8 100755 --- a/setup.py +++ b/setup.py @@ -1246,15 +1246,15 @@ def sdist(): # # PyMuPDF version. -version_p = '1.26.1' +version_p = '1.26.2' -version_mupdf = '1.26.2' +version_mupdf = '1.26.3' # PyMuPDFb version. This is the PyMuPDF version whose PyMuPDFb wheels we will # (re)use if generating separate PyMuPDFb wheels. Though as of PyMuPDF-1.24.11 # (2024-10-03) we no longer use PyMuPDFb wheels so this is actually unused. # -version_b = '1.26.1' +version_b = '1.26.2' if os.path.exists(f'{g_root}/{g_pymupdfb_sdist_marker}'):