@@ -5,24 +5,6 @@ version: 2.1
55# ruby: circleci/[email protected] 66
77commands :
8- pip-install-deps-27 :
9- parameters :
10- requirements :
11- default : " tests/requirements-27.txt"
12- type : string
13- steps :
14- - run :
15- name : Install Python 2.7 Dependencies
16- command : |
17- rm -rf venv
18- export PATH=/home/circleci/.local/bin:$PATH
19- pip install -U pip setuptools virtualenv wheel
20- virtualenv --python=python2.7 --always-copy venv
21- . venv/bin/activate
22- pip install 'wheel>=0.29.0'
23- pip install -r requirements.txt
24- pip install -r <<parameters.requirements>>
25-
268 pip-install-deps :
279 parameters :
2810 requirements :
@@ -31,12 +13,9 @@ commands:
3113 steps :
3214 - run :
3315 name : Install Python Dependencies
34- # TODO: Remove the pinning of setuptools
35- # as soon as we get rid of suds-jurko
3616 command : |
3717 python -m venv venv
3818 . venv/bin/activate
39- pip install --upgrade 'setuptools<58'
4019 pip install --upgrade pip
4120 pip install 'wheel>=0.29.0'
4221 pip install -r requirements.txt
@@ -57,39 +36,6 @@ commands:
5736 sudo apt install libcouchbase-dev -y
5837
5938jobs :
60- python27 :
61- docker :
62- - image : cimg/python:2.7.18
63- - image : cimg/postgres:9.6.24
64- environment :
65- POSTGRES_USER : root
66- POSTGRES_PASSWORD : ' '
67- POSTGRES_DB : circle_test
68- - image : cimg/mariadb:10.6.7
69- - image : cimg/redis:5.0.14
70- - image : rabbitmq:3.9.13
71- - image : mongo:4.2.3
72- - image : singularities/pubsub-emulator
73- environment :
74- PUBSUB_PROJECT_ID : " project-test"
75- PUBSUB_LISTEN_ADDRESS : " 0.0.0.0:8432"
76- working_directory : ~/repo
77- steps :
78- - checkout
79- - run :
80- name : Install MySQL Dependencies
81- command : |
82- sudo apt update
83- sudo apt install libmysqlclient-dev
84- - pip-install-deps-27
85- - run :
86- name : run tests
87- environment :
88- INSTANA_TEST : " true"
89- command : |
90- . venv/bin/activate
91- pytest -v
92-
9339 python37 :
9440 docker :
9541 - image : cimg/python:3.7.13
@@ -228,49 +174,9 @@ jobs:
228174 . venv/bin/activate
229175 pytest -v tests/clients/test_couchbase.py
230176
231- py27couchbase :
232- docker :
233- - image : cimg/python:2.7.18
234- - image : couchbase/server-sandbox:5.5.0
235- working_directory : ~/repo
236- steps :
237- - checkout
238- - install-couchbase-deps
239- - pip-install-deps-27 :
240- requirements : " tests/requirements-couchbase.txt"
241- - run :
242- name : run tests
243- environment :
244- INSTANA_TEST : " true"
245- COUCHBASE_TEST : " true"
246- command : |
247- . venv/bin/activate
248- pytest -v tests/clients/test_couchbase.py
249-
250- py27cassandra :
177+ py37cassandra :
251178 docker :
252- - image : cimg/python:2.7.16
253- - image : cassandra:3.11
254- environment :
255- MAX_HEAP_SIZE : 2048m
256- HEAP_NEWSIZE : 512m
257- working_directory : ~/repo
258- steps :
259- - checkout
260- - pip-install-deps-27 :
261- requirements : " tests/requirements-cassandra.txt"
262- - run :
263- name : run tests
264- environment :
265- INSTANA_TEST : " true"
266- CASSANDRA_TEST : " true"
267- command : |
268- . venv/bin/activate
269- pytest -v tests/clients/test_cassandra-driver.py
270-
271- py36cassandra :
272- docker :
273- - image : cimg/python:3.6.15
179+ - image : cimg/python:3.7.13
274180 - image : cassandra:3.11
275181 environment :
276182 MAX_HEAP_SIZE : 2048m
@@ -289,47 +195,7 @@ jobs:
289195 . venv/bin/activate
290196 pytest -v tests/clients/test_cassandra-driver.py
291197
292- py37asynqp :
293- docker :
294- - image : cimg/python:3.7.13
295- - image : rabbitmq:3.9.13
296- working_directory : ~/repo
297- steps :
298- - checkout
299- - pip-install-deps :
300- requirements : " tests/requirements-asynqp.txt"
301- - run :
302- name : run tests
303- environment :
304- INSTANA_TEST : " true"
305- ASYNQP_TEST : " true"
306- command : |
307- . venv/bin/activate
308- # We uninstall uvloop as it interferes with asyncio changing the event loop policy
309- pip uninstall -y uvloop
310- pytest -v tests/clients/test_asynqp.py
311-
312- py37asynqp-legacy :
313- docker :
314- - image : cimg/python:3.7.13
315- - image : rabbitmq:3.9.13
316- working_directory : ~/repo
317- steps :
318- - checkout
319- - pip-install-deps :
320- requirements : " tests/requirements-asynqp-legacy-flask-markupsafe.txt"
321- - run :
322- name : run tests
323- environment :
324- INSTANA_TEST : " true"
325- ASYNQP_TEST : " true"
326- command : |
327- . venv/bin/activate
328- # We uninstall uvloop as it interferes with asyncio changing the event loop policy
329- pip uninstall -y uvloop
330- pytest -v tests/clients/test_asynqp.py
331-
332- gevent38 :
198+ py38gevent :
333199 docker :
334200 - image : cimg/python:3.8.12
335201 working_directory : ~/repo
@@ -350,14 +216,10 @@ workflows:
350216 version : 2
351217 build :
352218 jobs :
353- - python27
354219 - python37
355220 - python38
356221 - python39
357222 - python310
358- - py27cassandra
359- - py36cassandra
360- - py37asynqp
361- - py37asynqp-legacy
223+ - py37cassandra
362224 - py38couchbase
363- - gevent38
225+ - py38gevent
0 commit comments