diff --git a/.github/workflows/tests.yml b/.github/workflows/tests.yml index ab0c4d3..225d162 100644 --- a/.github/workflows/tests.yml +++ b/.github/workflows/tests.yml @@ -9,12 +9,12 @@ jobs: fail-fast: false matrix: os: [ubuntu-latest, macos-latest, windows-latest] - python-version: ['3.12'] + python-version: ['3.13'] include: - os: ubuntu-latest - python-version: '3.8' + python-version: '3.9' - os: ubuntu-latest - python-version: 'pypy-3.8' + python-version: 'pypy-3.9' steps: - uses: actions/checkout@v4 - uses: actions/setup-python@v5 @@ -38,6 +38,8 @@ jobs: run: python -m pip install .[test] pytest-xdist - name: Launch tests run: python -m pytest -n auto + env: + DYLD_FALLBACK_LIBRARY_PATH: /opt/homebrew/lib - name: Check coding style run: python -m flake8 - name: Check imports order diff --git a/README.rst b/README.rst index 9ae172f..3873ff4 100644 --- a/README.rst +++ b/README.rst @@ -2,7 +2,7 @@ Flask-WeasyPrint generates PDF files out of your Flask website thanks to WeasyPrint. * Free software: BSD license -* For Python 3.8+, tested on CPython and PyPy +* For Python 3.9+, tested on CPython and PyPy * Documentation: https://doc.courtbouillon.org/flask-weasyprint * Changelog: https://github.com/Kozea/Flask-WeasyPrint/releases * Code, issues, tests: https://github.com/Kozea/Flask-WeasyPrint diff --git a/pyproject.toml b/pyproject.toml index 17a4886..565d16f 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -8,7 +8,7 @@ description = 'Make PDF in your Flask app with WeasyPrint' keywords = ['html', 'css', 'pdf', 'converter', 'flask', 'weasyprint'] authors = [{name = 'Simon Sapin', email = 'simon.sapin@exyr.org'}] maintainers = [{name = 'CourtBouillon', email = 'contact@courtbouillon.org'}] -requires-python = '>=3.7' +requires-python = '>=3.9' readme = {file = 'README.rst', content-type = 'text/x-rst'} license = {file = 'LICENSE'} dependencies = [ @@ -24,11 +24,11 @@ classifiers = [ 'Programming Language :: Python', 'Programming Language :: Python :: 3', 'Programming Language :: Python :: 3 :: Only', - '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 :: 3.13', 'Programming Language :: Python :: Implementation :: CPython', 'Programming Language :: Python :: Implementation :: PyPy', 'Topic :: Internet :: WWW/HTTP :: Dynamic Content',