Skip to content

Commit 340a22b

Browse files
committed
ci: Fix CI job for 3.7 by switching to beta version of kombu
Because, the fix for the kombu issue celery/kombu#1600 in only available in beta. Signed-off-by: Ferenc Géczi <[email protected]>
1 parent 55b816a commit 340a22b

File tree

2 files changed

+52
-1
lines changed

2 files changed

+52
-1
lines changed

.circleci/config.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -55,7 +55,8 @@ jobs:
5555
working_directory: ~/repo
5656
steps:
5757
- checkout
58-
- pip-install-deps
58+
- pip-install-deps:
59+
requirements: "tests/requirements-307.txt"
5960
- run:
6061
name: run tests
6162
environment:

tests/requirements-307.txt

Lines changed: 50 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,50 @@
1+
aiofiles>=0.5.0
2+
aiohttp>=3.7.4
3+
boto3>=1.17.74
4+
celery>=5.0.5
5+
# TODO: Remove this when the fix is available in non beta
6+
# We have to use a beta version of kombu on Python 3.7
7+
# because only that fixes "AttributeError: 'EntryPoints' object has no attribute 'get'"
8+
# that we have in the CI: https://app.circleci.com/pipelines/github/instana/python-sensor/1372/workflows/90878561-aada-49f8-8a1b-78562aa05aab/jobs/7478
9+
# the issue: https://github.com/celery/kombu/issues/1600
10+
# the PR: https://github.com/celery/kombu/pull/1601/files
11+
# the release notes: https://github.com/celery/kombu/releases/tag/v5.3.0b2
12+
kombu>=5.3.0b2
13+
14+
coverage>=5.5
15+
Django>=3.2.10
16+
fastapi>=0.65.1
17+
flask>=1.1.4,<2.0.0
18+
grpcio>=1.37.1
19+
google-cloud-pubsub<=2.1.0
20+
google-cloud-storage>=1.24.0
21+
lxml>=4.6.3
22+
mock>=4.0.3
23+
moto>=1.3.16,<2.0
24+
mysqlclient>=2.0.3
25+
nose>=1.3.7
26+
PyMySQL[rsa]>=1.0.2
27+
psycopg2-binary>=2.8.6
28+
pika>=1.2.0
29+
30+
# protobuf is pulled in and also `basictracer`, a core instana dependency
31+
# and also by google-cloud-storage
32+
# but also directly needed by tests/apps/grpc_server/stan_pb2.py
33+
# On 4.0.0 we currently get:
34+
# AttributeError: module 'google._upb._message' has no attribute 'Message'
35+
# TODO: Remove this when support for 4.0.0 is done
36+
protobuf<4.0.0
37+
38+
pymongo>=3.11.4
39+
pyramid>=2.0
40+
pytest>=6.2.4
41+
pytest-celery
42+
redis>=3.5.3
43+
requests-mock
44+
responses<=0.17.0
45+
sanic==21.6.2
46+
sqlalchemy>=1.4.15
47+
spyne>=2.13.16
48+
tornado>=4.5.3,<6.0
49+
uvicorn>=0.13.4
50+
urllib3[secure]<1.27,>=1.26.5

0 commit comments

Comments
 (0)