Skip to content

Commit 2dd046a

Browse files
Bump deps for PyMuPDF (#70)
* Allow newer versions of pymupdf * allow version 4.0 of markdown-it-py for python 3.10 and more * fix toml array * test with multiple versions of PyMuPDF * alter section title
1 parent 35539b4 commit 2dd046a

2 files changed

Lines changed: 7 additions & 3 deletions

File tree

.github/workflows/py3.yml

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,7 @@ jobs:
1717
strategy:
1818
matrix:
1919
python-version: ['3.9', '3.10', '3.11', '3.12', '3.13']
20+
pymupdf-version: ['1.26.4', '1.26.3', '1.26.1', '1.26.0', '1.25.5', '1.25.4']
2021

2122
steps:
2223
- uses: actions/checkout@v3
@@ -26,10 +27,12 @@ jobs:
2627
with:
2728
python-version: ${{ matrix.python-version }}
2829

29-
- name: Install dependencies
30+
- name: Install dependencies with PyMuPDF==${{ matrix.pymupdf-version }}
3031
run: |
3132
python -m pip install --upgrade pip
3233
pip install '.[dev]'
34+
# Override pymupdf with the matrix version
35+
pip install "PyMuPDF==${{ matrix.pymupdf-version }}"
3336
3437
- name: flake8
3538
run: |

pyproject.toml

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -22,8 +22,9 @@ classifiers = [
2222
]
2323
dependencies = [
2424
"PyMuPDF==1.24.6; python_version<'3.9'",
25-
"PyMuPDF==1.25.3; python_version>'3.8'",
26-
"markdown-it-py==3.0.0; python_version>='3.8'"
25+
"PyMuPDF>=1.25.3; python_version>'3.8'",
26+
"markdown-it-py==3.0.0; python_version<'3.10'",
27+
"markdown-it-py>=3.0.0; python_version>='3.10'",
2728
]
2829

2930
[project.optional-dependencies]

0 commit comments

Comments
 (0)