From 6cc687eeb915bc503f1234bd476820970ea2a47c Mon Sep 17 00:00:00 2001 From: vb64 Date: Tue, 7 Oct 2025 19:30:25 +0400 Subject: [PATCH 1/2] Suppress some PyMuPDF warnings --- pyproject.toml | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/pyproject.toml b/pyproject.toml index 91ea46f..de5fd63 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -45,3 +45,11 @@ packages = ["markdown_pdf"] [tool.setuptools.package-data] "markdown_pdf" = ["py.typed"] + +[tool.pytest.ini_options] +filterwarnings = [ + # note the use of single quote below to denote "raw" strings in TOML + 'ignore:builtin type swigvarlink has no __module__ attribute:DeprecationWarning', + 'ignore:builtin type SwigPyObject has no __module__ attribute:DeprecationWarning', + 'ignore:builtin type SwigPyPacked has no __module__ attribute:DeprecationWarning', +] From cd17b463e11c9e8d7c7182b718a3dc05f9a1c855 Mon Sep 17 00:00:00 2001 From: vb64 Date: Tue, 7 Oct 2025 19:40:44 +0400 Subject: [PATCH 2/2] fix GA --- .github/workflows/py3.yml | 2 +- README.md | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/py3.yml b/.github/workflows/py3.yml index 8054d93..79174f2 100644 --- a/.github/workflows/py3.yml +++ b/.github/workflows/py3.yml @@ -16,7 +16,7 @@ jobs: runs-on: ubuntu-latest strategy: matrix: - python-version: ['3.9', '3.10', '3.11', '3.12', '3.13'] + python-version: ['3.9', '3.10', '3.11', '3.12', '3.13', '3.14'] pymupdf-version: ['1.26.4', '1.26.3', '1.26.1', '1.26.0', '1.25.5', '1.25.4', '1.25.3'] steps: diff --git a/README.md b/README.md index 37f3493..fd6ea92 100644 --- a/README.md +++ b/README.md @@ -1,7 +1,7 @@ # Module markdown-pdf [![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) -[![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) +[![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) [![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) [![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) [![PyPI - Downloads](https://img.shields.io/pypi/dm/markdown-pdf?label=pypi%20installs)](https://pypistats.org/packages/markdown-pdf)