Skip to content

Commit 41c2fcc

Browse files
authored
Remove Python 3.9 support (#31)
Also: - Update pyproject.toml config for license - Update pyproject.toml config for description
1 parent 2e6cf21 commit 41c2fcc

3 files changed

Lines changed: 15 additions & 15 deletions

File tree

‎.github/workflows/packaging.yml‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ jobs:
3131
runs-on: ubuntu-latest
3232
strategy:
3333
matrix:
34-
python-version: ["3.9", "3.10", "3.11", "3.12", "3.13", "3.14"]
34+
python-version: ["3.10", "3.11", "3.12", "3.13", "3.14"]
3535
steps:
3636
- uses: actions/checkout@v6
3737
- uses: actions/setup-python@v6

‎CHANGELOG.md‎

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,10 @@ All notable changes to this project will be documented in this file.
44
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
55
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
66

7+
## [4.0.0] - 2026-02-19
8+
### Removed
9+
- Support for Python 3.9
10+
711
## [3.0.0] - 2023-01-03
812
### Added
913
- Support for Django 4.0+

‎pyproject.toml‎

Lines changed: 10 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,13 @@
11
[project]
22
name = "django-webmention"
3-
version = "3.0.0"
4-
description = "A pluggable implementation of webmention for Django projects"
3+
version = "4.0.0"
4+
description = "A pluggable implementation for receiving webmentions for Django projects"
55
authors = [
66
{ name = "Dane Hillard", email = "github@danehillard.com" },
77
]
8-
license = { file = "LICENSE" }
8+
requires-python = ">=3.10"
9+
license = "MIT"
10+
license-files = ["LICENSE"]
911
classifiers = [
1012
"Development Status :: 5 - Production/Stable",
1113
"Intended Audience :: Developers",
@@ -14,11 +16,9 @@ classifiers = [
1416
"Framework :: Django :: 5.2",
1517
"Framework :: Django :: 6.0",
1618
"Topic :: Internet :: WWW/HTTP :: Indexing/Search",
17-
"License :: OSI Approved :: MIT License",
1819
"Programming Language :: Python",
1920
"Programming Language :: Python :: 3 :: Only",
2021
"Programming Language :: Python :: 3",
21-
"Programming Language :: Python :: 3.9",
2222
"Programming Language :: Python :: 3.10",
2323
"Programming Language :: Python :: 3.11",
2424
"Programming Language :: Python :: 3.12",
@@ -29,6 +29,7 @@ dependencies = [
2929
"Django>=4.2.0",
3030
"requests>=2.32.3",
3131
]
32+
dynamic = ["readme"]
3233

3334
[project.urls]
3435
Repository = "https://github.com/easy-as-python/django-webmention"
@@ -37,13 +38,16 @@ Repository = "https://github.com/easy-as-python/django-webmention"
3738
where = ["src"]
3839
exclude = ["test*"]
3940

41+
[tool.setuptools.dynamic]
42+
readme = { file = "README.md", content-type = "text/markdown" }
43+
4044
######################
4145
# Tool configuration #
4246
######################
4347

4448
[tool.black]
4549
line-length = 120
46-
target-version = ["py39", "py310", "py311", "py312", "py313", "py314"]
50+
target-version = ["py310", "py311", "py312", "py313", "py314"]
4751

4852
[tool.mypy]
4953
python_version = "3.10"
@@ -89,7 +93,6 @@ xfail_strict = true
8993

9094
[tool.tox]
9195
envlist = [
92-
"py39-django4.2",
9396
"py310-django4.2",
9497
"py310-django5.2",
9598
"py311-django4.2",
@@ -113,12 +116,6 @@ commands = [
113116
["pytest", { replace = "posargs", default = [], extend = true }],
114117
]
115118

116-
[tool.tox.env."py39-django4.2"]
117-
deps = [
118-
{ replace = "ref", of = ["tool", "tox", "env_run_base", "deps"], extend = true },
119-
"Django>=4.2,<4.3",
120-
]
121-
122119
[tool.tox.env."py310-django4.2"]
123120
deps = [
124121
{ replace = "ref", of = ["tool", "tox", "env_run_base", "deps"], extend = true },
@@ -215,7 +212,6 @@ commands = [
215212
]
216213

217214
[tool.tox-gh-actions.python]
218-
"3.9" = "py39-django4.2"
219215
"3.10" = "py310-django4.2, py310-django5.2"
220216
"3.11" = "py311-django4.2, py311-django5.2"
221217
"3.12" = "py312-django4.2, py312-django5.2, py312-django6.0"

0 commit comments

Comments
 (0)