Skip to content
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
17 changes: 16 additions & 1 deletion CHANGES.rst
Original file line number Diff line number Diff line change
@@ -1,7 +1,22 @@
ChangeLog
=========

0.50 (2024-08-XX)
0.51 (2026-02-0X)
===================

Features:

* Add Support Python 3.13, 3.14
* Add Support Django 5.1, 5.2
* Add Support Celery 5.6

Incompatible Changes:

* Drop Python 3.9
* Migrate to implicit namespace package (PEP 420)


0.50 (2024-08-08)
===================

Incompatible Changes:
Expand Down
Empty file removed beproud/__init__.py
Empty file.
Empty file removed beproud/django/__init__.py
Empty file.
12 changes: 8 additions & 4 deletions pyproject.toml
Original file line number Diff line number Diff line change
@@ -1,28 +1,31 @@
[build-system]
requires = ["setuptools>=61.0.0", "wheel"]
requires = ["setuptools>=77.0.3", "wheel"]
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

build-backend = "setuptools.build_meta"

[project]
name = "bpnotify"
version = "0.50"
version = "0.51"
authors = [
{ name="BeProud Inc.", email="project@beproud.jp" },
]
description = "Notification routing for Django"
readme = "README.rst"
requires-python = ">=3.9"
requires-python = ">=3.10"
keywords=["django"]
classifiers = [
"Development Status :: 3 - Alpha",
"License :: OSI Approved :: BSD License",
"Programming Language :: Python",
"Programming Language :: Python :: 3",
"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 :: 3.14",
"Framework :: Django",
"Framework :: Django :: 4.2",
"Framework :: Django :: 5.1",
"Framework :: Django :: 5.2",
"Intended Audience :: Developers",
"Environment :: Plugins",
"Topic :: Software Development :: Libraries :: Python Modules",
Expand All @@ -34,3 +37,4 @@ Homepage = "https://github.com/beproud/bpnotify/"

[tool.setuptools.packages.find]
where = ["."]
include = ["beproud.django.notify*"]
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

MEMO: このPRではこの行でincludeの追加と、 __init__.py を削除したのがキモ
ref: https://packaging.python.org/ja/latest/guides/packaging-namespace-packages/#native-namespace-packages

13 changes: 8 additions & 5 deletions tox.ini
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# content of: tox.ini , put in same dir as setup.py
[tox]
envlist = py{39,310,311,312}-dj42-celery53
envlist = py{310,311,312}-dj{42,52}-celery53,py{313,314}-dj{42,52}-celery56
skipsdist = True

[pytest]
Expand All @@ -10,29 +10,32 @@ DJANGO_SETTINGS_MODULE = test_settings

[testenv]
basepython =
py39: python3.9
py310: python3.10
py311: python3.11
py312: python3.12
py313: python3.13
py314: python3.14
deps =
pytest
pytest-django
pytest-pythonpath
setuptools
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

MEMO: ソースコード上利用している箇所もなく、toxも通っているので削除しました。

six
dj42: Django>=4.2,<5.0
dj52: Django>=5.2,<6.0
celery53: celery>=5.3,<5.4
celery56: celery>=5.6,<5.7
commands=pytest {posargs}

# tox-gh-actionsパッケージの設定
[gh-actions]
python =
3.9: py39
3.10: py310
3.11: py311
3.12: py312
3.13: py313
3.14: py314

[gh-actions:env]
DJANGO =
3.2: dj32
4.2: dj42
5.2: dj52