diff --git a/.github/workflows/tests.yml b/.github/workflows/tests.yml index 13c163c91..47b815ff0 100644 --- a/.github/workflows/tests.yml +++ b/.github/workflows/tests.yml @@ -8,10 +8,10 @@ jobs: strategy: matrix: os: [ubuntu-latest, macos-latest, windows-latest] - python-version: ['3.11'] + python-version: ['3.12'] include: - os: ubuntu-latest - python-version: '3.7' + python-version: '3.8' - os: ubuntu-latest python-version: 'pypy-3.8' steps: diff --git a/README.rst b/README.rst index e6e8dffe7..aae4a147b 100644 --- a/README.rst +++ b/README.rst @@ -13,7 +13,7 @@ WebKit or Gecko. The CSS layout engine is written in Python, designed for pagination, and meant to be easy to hack on. * Free software: BSD license -* For Python 3.7+, tested on CPython and PyPy +* For Python 3.8+, tested on CPython and PyPy * Documentation: https://doc.courtbouillon.org/weasyprint * Examples: https://weasyprint.org/#samples * Changelog: https://github.com/Kozea/WeasyPrint/releases diff --git a/docs/first_steps.rst b/docs/first_steps.rst index d952351ee..fa8bc7105 100644 --- a/docs/first_steps.rst +++ b/docs/first_steps.rst @@ -9,7 +9,7 @@ Installation WeasyPrint |version| depends on: -* Python_ ≥ 3.7.0 +* Python_ ≥ 3.8.0 * Pango_ ≥ 1.44.0 * pydyf_ ≥ 0.6.0 * CFFI_ ≥ 0.6 diff --git a/pyproject.toml b/pyproject.toml index fe73db7d1..c102706da 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -8,7 +8,7 @@ description = 'The Awesome Document Factory' keywords = ['html', 'css', 'pdf', 'converter'] authors = [{name = 'Simon Sapin', email = 'simon.sapin@exyr.org'}] maintainers = [{name = 'CourtBouillon', email = 'contact@courtbouillon.org'}] -requires-python = '>=3.7' +requires-python = '>=3.8' readme = {file = 'README.rst', content-type = 'text/x-rst'} license = {file = 'LICENSE'} dependencies = [ @@ -29,11 +29,11 @@ classifiers = [ 'Programming Language :: Python', 'Programming Language :: Python :: 3', 'Programming Language :: Python :: 3 :: Only', - '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', + 'Programming Language :: Python :: 3.12', 'Programming Language :: Python :: Implementation :: CPython', 'Programming Language :: Python :: Implementation :: PyPy', 'Topic :: Internet :: WWW/HTTP',