@@ -81,6 +81,22 @@ commands:
8181 paths :
8282 - coverage_results
8383
84+ capture-installed-versions :
85+ parameters :
86+ label :
87+ type : string
88+ steps :
89+ - run :
90+ name : Capture installed package versions
91+ when : on_success
92+ command : |
93+ . venv/bin/activate
94+ pip freeze > /tmp/installed_<<parameters.label>>.txt
95+ - persist_to_workspace :
96+ root : /tmp
97+ paths :
98+ - installed_<<parameters.label>>.txt
99+
84100 store-pytest-results :
85101 steps :
86102 - store_test_results :
@@ -158,12 +174,14 @@ jobs:
158174 - pip-install-deps
159175 - pip-install-tests-deps
160176 - run-tests-with-coverage-report
177+ - capture-installed-versions :
178+ label : " py<<parameters.py-version>>"
161179 - store-pytest-results
162180 - store-coverage-report
163181
164- py39cassandra :
182+ py312cassandra :
165183 docker :
166- - image : public.ecr.aws/docker/library/python:3.9
184+ - image : public.ecr.aws/docker/library/python:3.12
167185 - image : public.ecr.aws/docker/library/cassandra:3.11.16-jammy
168186 environment :
169187 MAX_HEAP_SIZE : 2048m
@@ -178,6 +196,8 @@ jobs:
178196 - run-tests-with-coverage-report :
179197 cassandra : " true"
180198 tests : " tests/clients/test_cassandra-driver.py"
199+ - capture-installed-versions :
200+ label : " cassandra"
181201 - store-pytest-results
182202 - store-coverage-report
183203
@@ -194,6 +214,8 @@ jobs:
194214 - run-tests-with-coverage-report :
195215 gevent : " true"
196216 tests : " tests/frameworks/test_gevent.py"
217+ - capture-installed-versions :
218+ label : " gevent"
197219 - store-pytest-results
198220 - store-coverage-report
199221
@@ -209,6 +231,8 @@ jobs:
209231 requirements : " tests/requirements-aws.txt"
210232 - run-tests-with-coverage-report :
211233 tests : " tests_aws"
234+ - capture-installed-versions :
235+ label : " aws"
212236 - store-pytest-results
213237 - store-coverage-report
214238
@@ -253,6 +277,8 @@ jobs:
253277 - run-tests-with-coverage-report :
254278 kafka : " true"
255279 tests : " tests/clients/kafka/test*.py"
280+ - capture-installed-versions :
281+ label : " kafka"
256282 - store-pytest-results
257283 - store-coverage-report
258284
@@ -285,6 +311,22 @@ jobs:
285311 - check-if-tests-needed
286312 - run_sonarqube
287313
314+ update-currency-versions :
315+ docker :
316+ - image : public.ecr.aws/docker/library/alpine:latest
317+ steps :
318+ - attach_workspace :
319+ at : /tmp/workspace
320+ - run :
321+ name : Collect pip freeze files
322+ command : |
323+ mkdir -p /tmp/pip-freeze
324+ cp /tmp/workspace/installed_*.txt /tmp/pip-freeze/
325+ ls -la /tmp/pip-freeze/
326+ - store_artifacts :
327+ path : /tmp/pip-freeze
328+ destination : pip-freeze
329+
288330workflows :
289331 tests :
290332 max_auto_reruns : 2
@@ -293,8 +335,8 @@ workflows:
293335 matrix :
294336 parameters :
295337 py-version : ["3.9", "3.10", "3.11", "3.12", "3.13", "3.14"]
296- - py39cassandra
297338 - py39gevent
339+ - py312cassandra
298340 - py312aws
299341 - py313kafka
300342 - autowrapt :
@@ -304,8 +346,14 @@ workflows:
304346 - final_job :
305347 requires :
306348 - python3x
307- - py39cassandra
308349 - py39gevent
350+ - py312cassandra
309351 - py312aws
310352 - py313kafka
311353 - autowrapt
354+ - update-currency-versions :
355+ requires :
356+ - final_job
357+ # filters:
358+ # branches:
359+ # only: main
0 commit comments