Skip to content

Commit 7ed21b5

Browse files
committed
fix: failing Python 3.14 tests.
The package grpcio started failing to build on Python 3.14.0a5. Signed-off-by: Paulo Vital <paulo.vital@ibm.com>
1 parent 06b545a commit 7ed21b5

File tree

1 file changed

+43
-25
lines changed

1 file changed

+43
-25
lines changed

.circleci/config.yml

+43-25
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,9 @@ commands:
3636
steps:
3737
- run:
3838
name: Install Python Dependencies
39+
no_output_timeout: 20m
3940
command: |
41+
export PYTHONUNBUFFERED=1
4042
python -m venv venv
4143
. venv/bin/activate
4244
pip install --upgrade pip
@@ -330,8 +332,24 @@ jobs:
330332
steps:
331333
- checkout
332334
- check-if-tests-needed
333-
- pip-install-deps:
334-
requirements: "tests/requirements-pre314.txt"
335+
- run:
336+
name: Install binutils
337+
command: |
338+
apt-get update
339+
apt-get -y install build-essential libssl-dev libffi-dev python3-dev
340+
- run:
341+
name: Install Python Dependencies
342+
no_output_timeout: 20m
343+
command: |
344+
export PYTHONUNBUFFERED=1
345+
python -m venv venv
346+
. venv/bin/activate
347+
pip install --upgrade pip
348+
pip install 'wheel>=0.29.0'
349+
pip install -r requirements.txt
350+
pip install -r tests/requirements-pre314.txt
351+
# - pip-install-deps:
352+
# requirements: "tests/requirements-pre314.txt"
335353
- run-tests-with-coverage-report
336354
- store-pytest-results
337355
- store-coverage-report
@@ -412,27 +430,27 @@ workflows:
412430
version: 2
413431
build:
414432
jobs:
415-
- python38
416-
- python39
417-
- python310
418-
- python311
419-
- python312
420-
- python313
433+
# - python38
434+
# - python39
435+
# - python310
436+
# - python311
437+
# - python312
438+
# - python313
421439
- python314
422-
- py39cassandra
423-
- py39gevent_starlette
424-
- py312aws
425-
- py312kafka
426-
- final_job:
427-
requires:
428-
- python38
429-
- python39
430-
- python310
431-
- python311
432-
- python312
433-
- python313
434-
# Uncomment the following when giving real support to 3.14
435-
# - python314
436-
- py39cassandra
437-
- py39gevent_starlette
438-
- py312aws
440+
# - py39cassandra
441+
# - py39gevent_starlette
442+
# - py312aws
443+
# - py312kafka
444+
# - final_job:
445+
# requires:
446+
# - python38
447+
# - python39
448+
# - python310
449+
# - python311
450+
# - python312
451+
# - python313
452+
# # Uncomment the following when giving real support to 3.14
453+
# # - python314
454+
# - py39cassandra
455+
# - py39gevent_starlette
456+
# - py312aws

0 commit comments

Comments
 (0)