Skip to content

Commit bbc46a5

Browse files
committed
Remove Python 3.9 support
1 parent 0182512 commit bbc46a5

File tree

7 files changed

+18
-73
lines changed

7 files changed

+18
-73
lines changed

.github/workflows/ci.yml

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -26,8 +26,6 @@ jobs:
2626
# Test with all supported Django versions, for all compatible Python versions.
2727
# See https://docs.djangoproject.com/en/dev/faq/install/#what-python-version-can-i-use-with-django for the official matrix.
2828
# Additionally test on Django’s main branch with the most recent Python version.
29-
- python: "3.9"
30-
toxenv: py39-dj42
3129
- python: "3.10"
3230
toxenv: py310-dj42,py310-dj51,py310-dj52
3331
- python: "3.11"

CHANGELOG.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,10 @@
22

33
## [Unreleased]
44

5+
### Removed
6+
7+
- Drop support for Python 3.9
8+
59
## [1.5.0](https://github.com/torchbox/django-pattern-library/releases/tag/v1.5.0) - 2025-04-08
610

711
### Added

docs/getting-started.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ poetry add --dev django-pattern-library
1818
We support:
1919

2020
- Django 4.2, 5.0, 5.1
21-
- Python 3.9, 3.10, 3.11, 3.12
21+
- Python 3.10, 3.11, 3.12, 3.13, 3.14
2222
- Django Templates and Jinja (experimental)
2323
- Modern “evergreen” desktop and mobile browsers
2424

docs/guides/automated-tests.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -112,7 +112,7 @@ static:
112112
expire_in: 30 mins
113113

114114
test_python:
115-
image: python:3.9
115+
image: python:3.14
116116
stage: test
117117
dependencies:
118118
- static

poetry.lock

Lines changed: 5 additions & 56 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

pyproject.toml

Lines changed: 6 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -2,9 +2,7 @@
22
name = "django-pattern-library"
33
version = "1.5.0"
44
description = "A module for Django that allows to build pattern libraries for your projects."
5-
authors = [
6-
"Thibaud Colas <thibaud.colas@torchbox.com>",
7-
]
5+
authors = ["Thibaud Colas <thibaud.colas@torchbox.com>"]
86
license = "BSD-3-Clause"
97
readme = "README.md"
108
repository = "https://github.com/torchbox/django-pattern-library"
@@ -16,45 +14,41 @@ classifiers = [
1614
"License :: OSI Approved :: BSD License",
1715
"Operating System :: OS Independent",
1816
"Programming Language :: Python",
19-
"Programming Language :: Python :: 3.9",
2017
"Programming Language :: Python :: 3.10",
2118
"Programming Language :: Python :: 3.11",
2219
"Programming Language :: Python :: 3.12",
2320
"Programming Language :: Python :: 3.13",
21+
"Programming Language :: Python :: 3.14",
2422
"Framework :: Django",
2523
"Framework :: Django :: 4.2",
2624
"Framework :: Django :: 5.0",
2725
"Framework :: Django :: 5.1",
2826
"Framework :: Django :: 5.2",
2927
]
30-
packages = [
31-
{ include = "pattern_library" },
32-
]
28+
packages = [{ include = "pattern_library" }]
3329
include = [
3430
{ path = "pattern_library/static/pattern_library/dist/bundle.js", format = [
3531
"sdist",
3632
"wheel",
3733
] },
3834
]
39-
exclude = [
40-
'pattern_library/static/pattern_library/src/**/*',
41-
]
35+
exclude = ['pattern_library/static/pattern_library/src/**/*']
4236

4337
[tool.poetry.urls]
4438
"Demo" = "https://torchbox.github.io/django-pattern-library/demo/"
4539
"Support" = "https://github.com/torchbox/django-pattern-library/discussions"
4640
"Issues" = "https://github.com/torchbox/django-pattern-library/issues"
4741

4842
[tool.poetry.dependencies]
49-
python = "^3.9"
43+
python = "^3.10"
5044
Django = ">=4.2"
5145
PyYAML = ">=5.1,<7.0"
5246
Markdown = "^3.1"
5347

5448
[tool.poetry.dev-dependencies]
5549
beautifulsoup4 = "^4.8"
5650
coverage = "^7.4"
57-
flake8 = {version = "^7.0", python = ">=3.8.1,<4.0"}
51+
flake8 = { version = "^7.0", python = ">=3.8.1,<4.0" }
5852
isort = "^5.10.1"
5953
mkdocs = "^1.1.2"
6054
mkdocs-material = "^5.5.14"

tox.ini

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[tox]
22
envlist =
3-
py{39,310,311,312,313}-dj42
3+
py{310,311,312,313}-dj42
44
py{310,311,312,313}-dj50
55
py{310,311,312,313}-dj51
66
py{313}-djmain

0 commit comments

Comments
 (0)