Skip to content

Commit

Permalink
Support Celery 5.4 & Python 3.12. (#91)
Browse files Browse the repository at this point in the history
  • Loading branch information
clokep committed Jun 3, 2024
1 parent e64441b commit cf97e06
Show file tree
Hide file tree
Showing 4 changed files with 13 additions and 6 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,7 @@ jobs:

strategy:
matrix:
python-version: ["3.8", "3.9", "3.10", "3.11", "pypy-3.8"]
python-version: ["3.8", "3.9", "3.10", "3.11", "3.12", "pypy-3.8"]

steps:
- uses: actions/checkout@v2
Expand Down
2 changes: 2 additions & 0 deletions CHANGELOG.rst
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,8 @@ Maintenance
* Limit test requirements to ``pytest-celery~=0.0.0`` for an incompatibility with 1.0.0.
(`#90 <https://github.com/clokep/celery-batches/pull/90>`_)
* Bump black to 24.3.0. (`#86 <https://github.com/clokep/celery-batches/pull/86>`_)
* Support Celery 5.4. (`#91 <https://github.com/clokep/celery-batches/pull/91>`_)
* Support Python 3.12. (`#91 <https://github.com/clokep/celery-batches/pull/91>`_)


0.8.1 (2023-06-27)
Expand Down
3 changes: 2 additions & 1 deletion setup.cfg
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,7 @@ classifiers =
Programming Language :: Python :: 3.9
Programming Language :: Python :: 3.10
Programming Language :: Python :: 3.11
Programming Language :: Python :: 3.12
Programming Language :: Python :: Implementation :: CPython
Programming Language :: Python :: Implementation :: PyPy
Operating System :: OS Independent
Expand All @@ -35,7 +36,7 @@ project_urls =
[options]
packages =
celery_batches
install_requires = celery>=5.0,<5.4
install_requires = celery>=5.0,<5.5
python_requires = >=3.8

[flake8]
Expand Down
12 changes: 8 additions & 4 deletions tox.ini
Original file line number Diff line number Diff line change
@@ -1,10 +1,12 @@
[tox]
envlist =
{pypy3,3.8,3.9}-celery{50,51,52,master}-unit,
{pypy3,3.8,3.9}-celery{50,51,52,main}-unit,
# Celery 5.2 added support for Python 3.10.
3.10-celery{52,53,master}-unit,
3.10-celery{52,53,main}-unit,
# Celery 5.3 added support for Python 3.11.
3.11-celery{53,master}-unit,
3.11-celery{53,main}-unit,
# Celery 5.4 added support for Python 3.12.
3.12-celery{54,main}-unit,
# Integration tests.
3.10-celery52-integration-{rabbitmq,redis},
flake8
Expand All @@ -17,6 +19,7 @@ python =
3.9: 3.9
3.10: 3.10
3.11: 3.11
3.12: 3.12

[testenv]
deps=
Expand All @@ -25,7 +28,8 @@ deps=
celery51: celery>=5.1,<5.2
celery52: celery>=5.2.0,<5.3
celery53: celery>=5.3.0,<5.4
celerymaster: https://codeload.github.com/celery/celery/zip/master
celery54: celery>=5.4.0,<5.5
celerymain: https://codeload.github.com/celery/celery/zip/main

# By default celery (via kombu) install py-amqp.
redis: celery[redis]
Expand Down

0 comments on commit cf97e06

Please sign in to comment.