Skip to content

Commit 92892d9

Browse files
committed
Drop official Python 3.10 support
Python 3.10 doesn’t handle 308 HTTP redirects, used by recent versions of Flask.
1 parent 5ecb765 commit 92892d9

File tree

2 files changed

+2
-3
lines changed

2 files changed

+2
-3
lines changed

.github/workflows/tests.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ jobs:
1212
python-version: ['3.14']
1313
include:
1414
- os: ubuntu-latest
15-
python-version: '3.10'
15+
python-version: '3.11'
1616
- os: ubuntu-latest
1717
python-version: 'pypy-3.11'
1818
steps:

pyproject.toml

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ description = 'Make PDF in your Flask app with WeasyPrint'
88
keywords = ['html', 'css', 'pdf', 'converter', 'flask', 'weasyprint']
99
authors = [{name = 'Simon Sapin', email = 'simon.sapin@exyr.org'}]
1010
maintainers = [{name = 'CourtBouillon', email = 'contact@courtbouillon.org'}]
11-
requires-python = '>=3.10'
11+
requires-python = '>=3.11'
1212
readme = {file = 'README.rst', content-type = 'text/x-rst'}
1313
license = {file = 'LICENSE'}
1414
dependencies = [
@@ -24,7 +24,6 @@ classifiers = [
2424
'Programming Language :: Python',
2525
'Programming Language :: Python :: 3',
2626
'Programming Language :: Python :: 3 :: Only',
27-
'Programming Language :: Python :: 3.10',
2827
'Programming Language :: Python :: 3.11',
2928
'Programming Language :: Python :: 3.12',
3029
'Programming Language :: Python :: 3.13',

0 commit comments

Comments
 (0)