Skip to content

Commit 8233f3c

Browse files
committed
Remove python 3.10 from CI testing
We remove 3.10 since some recipe notebooks have dependencies which require 3.11+. Signed-off-by: BJ Hargrave <hargrave@us.ibm.com>
1 parent f6aeef0 commit 8233f3c

7 files changed

Lines changed: 106 additions & 232 deletions

File tree

.github/workflows/notebooks.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -98,8 +98,8 @@ jobs:
9898
notebook-lists: |
9999
.github/notebook_lists/vanilla_notebooks.txt
100100
python-versions: >-
101-
3.10
102101
3.11
102+
3.12
103103
ref: ${{ needs.test_workflow_ready.outputs.ref }}
104104
all: ${{ fromJSON(needs.test_workflow_ready.outputs.all) }}
105105
free-disk-space: '{"large-packages": false}' # Takes a long time

recipes/AI-Agents/github_agent.ipynb

Lines changed: 1 addition & 23 deletions
Original file line numberDiff line numberDiff line change
@@ -21,29 +21,7 @@
2121
"- Either a local Ollama server or a Replicate API token\n",
2222
"- Basic understanding of Python and LLMs\n",
2323
"\n",
24-
"Let's start by insuring we are using Python 3.10, 3.11, or 3.12"
25-
]
26-
},
27-
{
28-
"cell_type": "code",
29-
"execution_count": null,
30-
"metadata": {
31-
"id": "f8o9Ga6mBAus"
32-
},
33-
"outputs": [],
34-
"source": [
35-
"\n",
36-
"import sys\n",
37-
"assert sys.version_info >= (3, 10) and sys.version_info < (3, 13), \"Use Python 3.10, 3.11 or 3.12 to run this notebook.\""
38-
]
39-
},
40-
{
41-
"cell_type": "markdown",
42-
"metadata": {
43-
"id": "D4C5FZicBAut"
44-
},
45-
"source": [
46-
"and Installing some dependencies:"
24+
"Let's start by installing some dependencies:"
4725
]
4826
},
4927
{

recipes/Intrinsics/Granite_RAG_LoRA_HF.ipynb

Lines changed: 0 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -66,23 +66,6 @@
6666
"## Setting up the environment"
6767
]
6868
},
69-
{
70-
"cell_type": "markdown",
71-
"metadata": {},
72-
"source": [
73-
"Ensure you are running python 3.10 or 3.11 in a freshly-created virtual environment."
74-
]
75-
},
76-
{
77-
"cell_type": "code",
78-
"execution_count": null,
79-
"metadata": {},
80-
"outputs": [],
81-
"source": [
82-
"import sys\n",
83-
"assert sys.version_info >= (3, 10) and sys.version_info < (3, 12), \"Use Python 3.10 or 3.11 to run this notebook.\""
84-
]
85-
},
8669
{
8770
"cell_type": "markdown",
8871
"metadata": {

recipes/RAG/Granite_Docling_RAG.ipynb

Lines changed: 4 additions & 25 deletions
Original file line numberDiff line numberDiff line change
@@ -70,27 +70,6 @@
7070
"## Step 1: Setting up the environment"
7171
]
7272
},
73-
{
74-
"cell_type": "markdown",
75-
"metadata": {
76-
"id": "Wfg8kTVr_JRH"
77-
},
78-
"source": [
79-
"Ensure you are running python 3.10, 3.11, or 3.12 in a freshly-created virtual environment."
80-
]
81-
},
82-
{
83-
"cell_type": "code",
84-
"execution_count": null,
85-
"metadata": {
86-
"id": "UEoM938B_JRH"
87-
},
88-
"outputs": [],
89-
"source": [
90-
"import sys\n",
91-
"assert sys.version_info >= (3, 10) and sys.version_info < (3, 13), \"Use Python 3.10, 3.11, or 3.12 to run this notebook.\""
92-
]
93-
},
9473
{
9574
"cell_type": "markdown",
9675
"metadata": {
@@ -103,7 +82,7 @@
10382
}
10483
},
10584
"source": [
106-
"## Step 2: Install dependencies"
85+
"Install dependencies."
10786
]
10887
},
10988
{
@@ -135,7 +114,7 @@
135114
"id": "4gu-Oeay_JRJ"
136115
},
137116
"source": [
138-
"## Step 3: Selecting System Components"
117+
"## Step 2: Selecting System Components"
139118
]
140119
},
141120
{
@@ -333,7 +312,7 @@
333312
}
334313
},
335314
"source": [
336-
"## Step 4: Building the Vector Database"
315+
"## Step 3: Building the Vector Database"
337316
]
338317
},
339318
{
@@ -448,7 +427,7 @@
448427
"id": "Wq50gMAO_JRK"
449428
},
450429
"source": [
451-
"## Step 5: RAG with Granite"
430+
"## Step 4: RAG with Granite"
452431
]
453432
},
454433
{

recipes/RAG/Granite_Multimodal_RAG.ipynb

Lines changed: 4 additions & 25 deletions
Original file line numberDiff line numberDiff line change
@@ -92,27 +92,6 @@
9292
"## Step 1: Setting up the environment"
9393
]
9494
},
95-
{
96-
"cell_type": "markdown",
97-
"metadata": {
98-
"id": "Wfg8kTVr_JRH"
99-
},
100-
"source": [
101-
"Ensure you are running Python 3.10, 3.11 or 3.12 in a freshly created virtual environment."
102-
]
103-
},
104-
{
105-
"cell_type": "code",
106-
"execution_count": null,
107-
"metadata": {
108-
"id": "UEoM938B_JRH"
109-
},
110-
"outputs": [],
111-
"source": [
112-
"import sys\n",
113-
"assert sys.version_info >= (3, 10) and sys.version_info < (3, 13), \"Use Python 3.10, 3.11, or 3.12 to run this notebook.\""
114-
]
115-
},
11695
{
11796
"cell_type": "markdown",
11897
"metadata": {
@@ -125,7 +104,7 @@
125104
}
126105
},
127106
"source": [
128-
"## Step 2: Install dependencies"
107+
"Install dependencies."
129108
]
130109
},
131110
{
@@ -158,7 +137,7 @@
158137
"id": "4gu-Oeay_JRJ"
159138
},
160139
"source": [
161-
"## Step 3: Selecting the AI models"
140+
"## Step 2: Selecting the AI models"
162141
]
163142
},
164143
{
@@ -298,7 +277,7 @@
298277
}
299278
},
300279
"source": [
301-
"## Step 4: Preparing the documents for the vector database"
280+
"## Step 3: Preparing the documents for the vector database"
302281
]
303282
},
304283
{
@@ -628,7 +607,7 @@
628607
"id": "Wq50gMAO_JRK"
629608
},
630609
"source": [
631-
"## Step 5: RAG with Granite"
610+
"## Step 4: RAG with Granite"
632611
]
633612
},
634613
{

0 commit comments

Comments
 (0)