Skip to content

Commit

Permalink
ci: remove celery 4 testing (elastic#2068)
Browse files Browse the repository at this point in the history
With latest pip 24.1 Celery 4 is not installable anymore because the
latest released version in 2020 contains invalid metadata:

WARNING: Ignoring version 4.4.7 of celery since it has invalid metadata:
Requested celery<5,>4.0 from celery-4.4.7-py2.py3-none-any.whl (from -r tests/requirements/reqs-celery-4.txt (line 1)) has invalid metadata: Expected matching RIGHT_PARENTHESIS for LEFT_PARENTHESIS, after version specifier
    pytz (>dev)
         ~^
Please use pip<24.1 if you need to use this version.
  • Loading branch information
xrmx committed Aug 19, 2024
1 parent b7dd8e3 commit 0394671
Show file tree
Hide file tree
Showing 8 changed files with 2 additions and 35 deletions.
18 changes: 0 additions & 18 deletions .ci/.matrix_exclude.yml
Original file line number Diff line number Diff line change
Expand Up @@ -57,20 +57,12 @@ exclude:
FRAMEWORK: django-1.11
- VERSION: python-3.10
FRAMEWORK: django-2.0
- VERSION: python-3.10
FRAMEWORK: celery-4-django-2.0
- VERSION: python-3.10
FRAMEWORK: celery-4-django-1.11
- VERSION: python-3.11 # cannot import name 'formatargspec' from 'inspect'
FRAMEWORK: celery-4-flask-1.0
- VERSION: python-3.11 # https://github.com/celery/billiard/issues/377
FRAMEWORK: celery-5-flask-2
- VERSION: python-3.11 # https://github.com/celery/billiard/issues/377
FRAMEWORK: celery-5-django-3
- VERSION: python-3.11 # https://github.com/celery/billiard/issues/377
FRAMEWORK: celery-5-django-4
- VERSION: python-3.12 # cannot import name 'formatargspec' from 'inspect'
FRAMEWORK: celery-4-flask-1.0
- VERSION: python-3.12 # https://github.com/celery/billiard/issues/377
FRAMEWORK: celery-5-flask-2
- VERSION: python-3.12 # https://github.com/celery/billiard/issues/377
Expand All @@ -93,10 +85,6 @@ exclude:
FRAMEWORK: django-2.0
- VERSION: python-3.11
FRAMEWORK: django-2.1
- VERSION: python-3.11
FRAMEWORK: celery-4-django-2.0
- VERSION: python-3.11
FRAMEWORK: celery-4-django-1.11
- VERSION: python-3.11
FRAMEWORK: graphene-2
- VERSION: python-3.11
Expand All @@ -113,10 +101,6 @@ exclude:
FRAMEWORK: django-2.0
- VERSION: python-3.12
FRAMEWORK: django-2.1
- VERSION: python-3.12
FRAMEWORK: celery-4-django-2.0
- VERSION: python-3.12
FRAMEWORK: celery-4-django-1.11
- VERSION: python-3.12
FRAMEWORK: graphene-2
- VERSION: python-3.12
Expand Down Expand Up @@ -294,8 +278,6 @@ exclude:
FRAMEWORK: flask-1.1
- VERSION: python-3.7
FRAMEWORK: jinja2-2
- VERSION: python-3.7
FRAMEWORK: celery-4-flask-1.0
# TODO py3.12
- VERSION: python-3.12
FRAMEWORK: sanic-20.12 # no wheels available yet
Expand Down
2 changes: 0 additions & 2 deletions .ci/.matrix_framework.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,8 +14,6 @@ FRAMEWORK:
- opentelemetry-newest
- opentracing-newest
- twisted-newest
- celery-4-flask-1.0
- celery-4-django-2.0
- celery-5-flask-2
- celery-5-django-4
- celery-5-django-5
Expand Down
3 changes: 0 additions & 3 deletions .ci/.matrix_framework_full.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,9 +25,6 @@ FRAMEWORK:
- flask-3.0
- jinja2-2
- jinja2-3
- celery-4-flask-1.0
- celery-4-django-1.11
- celery-4-django-2.0
- celery-5-flask-2
- celery-5-django-3
- celery-5-django-4
Expand Down
4 changes: 2 additions & 2 deletions docs/supported-technologies.asciidoc
Original file line number Diff line number Diff line change
Expand Up @@ -128,8 +128,8 @@ The Python APM agent comes with automatic instrumentation of various 3rd party m

We support these Celery versions:

* 3.x
* 4.x
* 4.x (deprecated)
* 5.x

Celery tasks will be recorded automatically with Django and Flask only.

Expand Down
2 changes: 0 additions & 2 deletions tests/requirements/reqs-celery-4-django-1.11.txt

This file was deleted.

2 changes: 0 additions & 2 deletions tests/requirements/reqs-celery-4-django-2.0.txt

This file was deleted.

2 changes: 0 additions & 2 deletions tests/requirements/reqs-celery-4-flask-1.0.txt

This file was deleted.

4 changes: 0 additions & 4 deletions tests/requirements/reqs-celery-4.txt

This file was deleted.

0 comments on commit 0394671

Please sign in to comment.