Skip to content

Commit 94dd47f

Browse files
authored
fix: upgrade celery to avoid redis disconnection (#209)
* fix: upgrade celery to avoid redis disconnection Signed-off-by: Enzo Hamelin <[email protected]> * chore: no supports for Python 3.8 anymore Signed-off-by: Enzo Hamelin <[email protected]> * chore: bump version 0.10.0 Signed-off-by: Enzo Hamelin <[email protected]> --------- Signed-off-by: Enzo Hamelin <[email protected]>
1 parent 0123fb0 commit 94dd47f

File tree

6 files changed

+14
-10
lines changed

6 files changed

+14
-10
lines changed

.github/workflows/tests.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ jobs:
88
- uses: actions/checkout@v2
99
- uses: actions/setup-python@v2
1010
with:
11-
python-version: 3.8
11+
python-version: 3.9
1212
architecture: x64
1313
- name: Check code with Python Black
1414
run: |
@@ -19,7 +19,7 @@ jobs:
1919
runs-on: ubuntu-latest
2020
strategy:
2121
matrix:
22-
python-version: ['3.8', '3.9', '3.10', '3.11']
22+
python-version: ['3.9', '3.9', '3.10', '3.11']
2323
database-type: ["sqlite", "postgres"]
2424
services:
2525
redis:
@@ -72,6 +72,6 @@ jobs:
7272
- name: Execute tests
7373
run: |
7474
export DIRECTOR_HOME=$GITHUB_WORKSPACE/tests/workflows/
75-
director celery worker --concurrency=1 > /dev/null 2>&1 &
75+
director celery worker -P prefork > /dev/null 2>&1 &
7676
sleep 5
7777
pytest tests/ -v

CHANGELOG.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,10 @@
11
# Changelog
22

3+
## 0.10.0 - 2025-04-22
4+
### Changed
5+
- **Upgrade Celery to 5.5.1**
6+
- **Remove Python 3.8 support**
7+
38
## 0.9.0 - 2023-05-02
49
### Changed
510
- **Remove Python 3.7 support**

director/VERSION

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
0.9.0
1+
0.10.0

docs/docs/index.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ The objective is to make Celery easier to use by providing :
2626

2727
## Installation
2828

29-
Install the latest version of Director with pip (requires at least `Python 3.8`):
29+
Install the latest version of Director with pip (requires at least `Python 3.9`):
3030

3131
```bash
3232
pip install celery-director

requirements.txt

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
# Celery Packages
2-
celery==5.2.6
2+
celery==5.5.1
33
flower==1.2.0
4-
kombu==5.2.4
4+
kombu==5.5.2
55

66
# Databases
77
psycopg2-binary==2.9.5
@@ -21,7 +21,7 @@ Werkzeug==2.3.3
2121

2222
# Misc
2323
gunicorn==20.0.4
24-
environs==9.5.0
24+
environs==14.1.1
2525
pyyaml==6.0.1
2626
terminaltables==3.1.0
2727
pluginbase==1.0.0

setup.py

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -51,11 +51,10 @@
5151
"Intended Audience :: Developers",
5252
"License :: OSI Approved :: BSD License",
5353
"Programming Language :: Python :: 3",
54-
"Programming Language :: Python :: 3.8",
5554
"Programming Language :: Python :: 3.9",
5655
"Programming Language :: Python :: 3.10",
5756
"Programming Language :: Python :: 3.11",
5857
"Topic :: System :: Monitoring",
5958
],
60-
python_requires="~=3.8",
59+
python_requires="~=3.9",
6160
)

0 commit comments

Comments
 (0)