Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat(celery): add support for Python 3.11, 3.12 #6389

Merged
merged 11 commits into from
Nov 10, 2023
33 changes: 16 additions & 17 deletions .riot/requirements/23133eb.txt
Original file line number Diff line number Diff line change
Expand Up @@ -5,31 +5,30 @@
# pip-compile --no-annotate --resolver=backtracking .riot/requirements/23133eb.in
#
amqp==5.1.1
attrs==22.2.0
billiard==3.6.4.0
celery==5.2.7
click==8.1.3
attrs==23.1.0
billiard==4.1.0
celery==5.3.1
click==8.1.5
click-didyoumean==0.3.0
click-plugins==1.1.1
click-repl==0.2.0
coverage[toml]==7.2.2
exceptiongroup==1.1.1
click-repl==0.3.0
coverage[toml]==7.2.7
hypothesis==6.45.0
iniconfig==2.0.0
kombu==5.2.4
mock==5.0.1
kombu==5.3.1
mock==5.1.0
more-itertools==8.10.0
opentracing==2.4.0
packaging==23.0
pluggy==1.0.0
prompt-toolkit==3.0.38
pytest==7.2.2
pytest-cov==4.0.0
pytest-mock==3.10.0
pytz==2022.7.1
packaging==23.1
pluggy==1.2.0
prompt-toolkit==3.0.39
pytest==7.4.0
pytest-cov==4.1.0
pytest-mock==3.11.1
python-dateutil==2.8.2
redis==3.5.3
six==1.16.0
sortedcontainers==2.4.0
tomli==2.0.1
tzdata==2023.3
vine==5.0.0
wcwidth==0.2.6
34 changes: 34 additions & 0 deletions .riot/requirements/b70a077.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,34 @@
#
# This file is autogenerated by pip-compile with Python 3.11
# by the following command:
#
# pip-compile --no-annotate --resolver=backtracking .riot/requirements/b70a077.in
#
amqp==5.1.1
attrs==23.1.0
billiard==4.1.0
celery==5.3.1
click==8.1.5
click-didyoumean==0.3.0
click-plugins==1.1.1
click-repl==0.3.0
coverage[toml]==7.2.7
hypothesis==6.45.0
iniconfig==2.0.0
kombu==5.3.1
mock==5.1.0
more-itertools==8.10.0
opentracing==2.4.0
packaging==23.1
pluggy==1.2.0
prompt-toolkit==3.0.39
pytest==7.4.0
pytest-cov==4.1.0
pytest-mock==3.11.1
python-dateutil==2.8.2
redis==3.5.3
six==1.16.0
sortedcontainers==2.4.0
tzdata==2023.3
vine==5.0.0
wcwidth==0.2.6
5 changes: 1 addition & 4 deletions riotfile.py
Original file line number Diff line number Diff line change
Expand Up @@ -728,10 +728,7 @@ def select_pys(min_version=MIN_PYTHON_VERSION, max_version=MAX_PYTHON_VERSION):
},
),
Venv(
# celery added support for Python 3.10 in 5.2, no official support for 3.11 yet
# Billiard dependency is incompatible with Python 3.11
# https://github.com/celery/billiard/issues/377
pys="3.10",
pys=select_pys(min_version="3.10"),
env={
# https://docs.celeryproject.org/en/v5.0.5/userguide/testing.html#enabling
"PYTEST_PLUGINS": "celery.contrib.pytest",
Expand Down