Skip to content

Commit

Permalink
Drop support of Python 3.8, support 3.12 and update CI
Browse files Browse the repository at this point in the history
  • Loading branch information
liZe committed Nov 17, 2024
1 parent b3182cd commit 3ee20b7
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 6 deletions.
8 changes: 5 additions & 3 deletions .github/workflows/tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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
Expand Down
2 changes: 1 addition & 1 deletion README.rst
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
4 changes: 2 additions & 2 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -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 = '[email protected]'}]
maintainers = [{name = 'CourtBouillon', email = '[email protected]'}]
requires-python = '>=3.7'
requires-python = '>=3.9'
readme = {file = 'README.rst', content-type = 'text/x-rst'}
license = {file = 'LICENSE'}
dependencies = [
Expand All @@ -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',
Expand Down

0 comments on commit 3ee20b7

Please sign in to comment.