From 86cbaa88958cf869c14edcd1abe3ad226f947831 Mon Sep 17 00:00:00 2001 From: Keegan Date: Mon, 30 Jan 2023 10:46:49 +0200 Subject: [PATCH] Add support for Python 3.10 and Python 3.11 --- .github/workflows/main.yaml | 2 +- HISTORY.rst | 2 ++ pdfkit/__init__.py | 2 +- setup.py | 2 ++ tox.ini | 2 +- 5 files changed, 7 insertions(+), 3 deletions(-) diff --git a/.github/workflows/main.yaml b/.github/workflows/main.yaml index 451b8b5..72b597e 100644 --- a/.github/workflows/main.yaml +++ b/.github/workflows/main.yaml @@ -7,7 +7,7 @@ jobs: runs-on: ubuntu-latest strategy: matrix: - python-version: [2.7, 3.5, 3.6, 3.7, 3.8, 3.9] + python-version: [2.7, 3.5, 3.6, 3.7, 3.8, 3.9, 3.10, 3.11] fail-fast: false steps: diff --git a/HISTORY.rst b/HISTORY.rst index 7e1809d..f0abb06 100644 --- a/HISTORY.rst +++ b/HISTORY.rst @@ -1,5 +1,7 @@ Changelog --------- +* `1.0.1` + * Add support for Python 3.10 and Python 3.11 * `1.0.0` * By default PDFKit now passes "quiet" option to wkhtmltopdf. Now if you need to get output you should pass "verbose=True" to API calls * Fix different issues with searching for wkhtmltopdf binary diff --git a/pdfkit/__init__.py b/pdfkit/__init__.py index a54653a..31c052e 100644 --- a/pdfkit/__init__.py +++ b/pdfkit/__init__.py @@ -4,7 +4,7 @@ """ __author__ = 'Golovanov Stanislav' -__version__ = '1.0.0' +__version__ = '1.0.1' __license__ = 'MIT' from .pdfkit import PDFKit diff --git a/setup.py b/setup.py index 5aadd99..99262c4 100644 --- a/setup.py +++ b/setup.py @@ -48,6 +48,8 @@ def long_description(): 'Programming Language :: Python :: 3.7', 'Programming Language :: Python :: 3.8', 'Programming Language :: Python :: 3.9', + 'Programming Language :: Python :: 3.10', + 'Programming Language :: Python :: 3.11', 'Topic :: Text Processing', 'Topic :: Text Processing :: General', 'Topic :: Text Processing :: Markup', diff --git a/tox.ini b/tox.ini index 61a0a83..a193343 100644 --- a/tox.ini +++ b/tox.ini @@ -1,5 +1,5 @@ [tox] -envlist = py27,py33,py34,py35 +envlist = py27,py33,py34,py35,py36,py37,py38,py39,py310,py311 [testenv] deps = pytest