Skip to content

Commit 3e8b64e

Browse files
authored
Python 3.14 support (#76)
* Suppress some PyMuPDF warnings
1 parent 9b1ee66 commit 3e8b64e

3 files changed

Lines changed: 10 additions & 2 deletions

File tree

.github/workflows/py3.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ jobs:
1616
runs-on: ubuntu-latest
1717
strategy:
1818
matrix:
19-
python-version: ['3.9', '3.10', '3.11', '3.12', '3.13']
19+
python-version: ['3.9', '3.10', '3.11', '3.12', '3.13', '3.14']
2020
pymupdf-version: ['1.26.4', '1.26.3', '1.26.1', '1.26.0', '1.25.5', '1.25.4', '1.25.3']
2121

2222
steps:

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
# Module markdown-pdf
22

33
[![GitHub Workflow Status](https://img.shields.io/github/actions/workflow/status/vb64/markdown-pdf/pep257.yml?label=Pep257&style=plastic&branch=main)](https://github.com/vb64/markdown-pdf/actions?query=workflow%3Apep257)
4-
[![GitHub Workflow Status](https://img.shields.io/github/actions/workflow/status/vb64/markdown-pdf/py3.yml?label=Python%203.8-3.13&style=plastic&branch=main)](https://github.com/vb64/markdown-pdf/actions?query=workflow%3Apy3)
4+
[![GitHub Workflow Status](https://img.shields.io/github/actions/workflow/status/vb64/markdown-pdf/py3.yml?label=Python%203.8-3.14&style=plastic&branch=main)](https://github.com/vb64/markdown-pdf/actions?query=workflow%3Apy3)
55
[![Codacy Badge](https://app.codacy.com/project/badge/Grade/27b53043bff34f07bfb79ee1672b7ba0)](https://app.codacy.com/gh/vb64/markdown-pdf/dashboard?utm_source=gh&utm_medium=referral&utm_content=&utm_campaign=Badge_grade)
66
[![Codacy Badge](https://app.codacy.com/project/badge/Coverage/27b53043bff34f07bfb79ee1672b7ba0)](https://app.codacy.com/gh/vb64/markdown-pdf/dashboard?utm_source=gh&utm_medium=referral&utm_content=&utm_campaign=Badge_coverage)
77
[![PyPI - Downloads](https://img.shields.io/pypi/dm/markdown-pdf?label=pypi%20installs)](https://pypistats.org/packages/markdown-pdf)

pyproject.toml

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -45,3 +45,11 @@ packages = ["markdown_pdf"]
4545

4646
[tool.setuptools.package-data]
4747
"markdown_pdf" = ["py.typed"]
48+
49+
[tool.pytest.ini_options]
50+
filterwarnings = [
51+
# note the use of single quote below to denote "raw" strings in TOML
52+
'ignore:builtin type swigvarlink has no __module__ attribute:DeprecationWarning',
53+
'ignore:builtin type SwigPyObject has no __module__ attribute:DeprecationWarning',
54+
'ignore:builtin type SwigPyPacked has no __module__ attribute:DeprecationWarning',
55+
]

0 commit comments

Comments
 (0)