Skip to content

Commit 19da243

Browse files
committed
docs: Add classifiers to pyproject.toml
1 parent 9313457 commit 19da243

File tree

2 files changed

+39
-1
lines changed

2 files changed

+39
-1
lines changed

.github/workflows/release.yml

Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,26 @@ permissions:
1010
id-token: write
1111

1212
jobs:
13+
validate-version:
14+
runs-on: ubuntu-latest
15+
steps:
16+
- uses: actions/checkout@v4
17+
18+
- name: Install uv
19+
uses: astral-sh/setup-uv@v3
20+
with:
21+
version: "latest"
22+
enable-cache: true
23+
24+
- name: Validate version matches tag
25+
run: |
26+
TAG_VERSION=${{ github.ref_name }}
27+
PYPROJECT_VERSION=$(uv run python -c "import tomllib; print(tomllib.load(open('pyproject.toml', 'rb'))['project']['version'])")
28+
if [ "$TAG_VERSION" != "$PYPROJECT_VERSION" ]; then
29+
echo "Error: Git tag ($TAG_VERSION) doesn't match pyproject.toml version ($PYPROJECT_VERSION)"
30+
exit 1
31+
fi
32+
1333
lint:
1434
runs-on: ubuntu-latest
1535
steps:

pyproject.toml

Lines changed: 19 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[project]
22
name = "django-rss-filter"
3-
version = "0.14.0"
3+
version = "0.14.1"
44
description = "Filter public RSS feeds, remove articles that contain certain keywords or categories."
55
authors = [
66
{name = "Kevin Renskers", email = "[email protected]"},
@@ -16,6 +16,24 @@ dependencies = [
1616
"httpx>=0.28.1",
1717
]
1818
keywords = ["rss", "atom", "feed", "filter", "mute", "django"]
19+
classifiers = [
20+
"License :: OSI Approved :: MIT License",
21+
"Development Status :: 5 - Production/Stable",
22+
"Intended Audience :: Developers",
23+
"Framework :: Django",
24+
"Framework :: Django :: 4.2",
25+
"Framework :: Django :: 5.0",
26+
"Framework :: Django :: 5.1",
27+
"Framework :: Django :: 5.2",
28+
"Framework :: Django :: 6.0",
29+
"Programming Language :: Python",
30+
"Programming Language :: Python :: 3.10",
31+
"Programming Language :: Python :: 3.11",
32+
"Programming Language :: Python :: 3.12",
33+
"Programming Language :: Python :: 3.13",
34+
"Programming Language :: Python :: 3.14",
35+
"Programming Language :: Python :: 3.15",
36+
]
1937

2038
[dependency-groups]
2139
dev = [

0 commit comments

Comments
 (0)