Skip to content

Commit 123111d

Browse files
committed
update to use python 3.10
1 parent e1a49e2 commit 123111d

File tree

3 files changed

+15
-15
lines changed

3 files changed

+15
-15
lines changed

docs/user/tutorials/create_ioc.rst

Lines changed: 11 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@ This should launch vscode and open the values.yaml file. Add the following:
4242

4343
.. code-block:: yaml
4444
45-
image: ghcr.io/epics-containers/ioc-adsimdetector-linux-runtime:2023.10.6b1
45+
image: ghcr.io/epics-containers/ioc-adsimdetector-linux-runtime:2023.10.7
4646
4747
This tells the IOC Instance to run in the ``ioc-adsimdetector-linux-runtime``
4848
container. This container was built by the Generic IOC source repo here
@@ -180,7 +180,7 @@ detector as follows:
180180

181181
.. code:: yaml
182182
183-
# yaml-language-server: $schema=https://github.com/epics-containers/ioc-adsimdetector/releases/download/2023.10.6b1/ibek.ioc.schema.json
183+
# yaml-language-server: $schema=https://github.com/epics-containers/ioc-adsimdetector/releases/download/2023.10.7/ibek.ioc.schema.json
184184
185185
ioc_name: bl01t-ea-ioc-02
186186
description: Example simulated camera for BL01T
@@ -189,7 +189,7 @@ detector as follows:
189189
190190
- type: ADSimDetector.simDetector
191191
PORT: DET.DET
192-
P: BL01T-EA-TST-01
192+
P: BL01T-EA-TST-02
193193
R: ":DET:"
194194
195195
.. note::
@@ -205,7 +205,7 @@ detector as follows:
205205

206206

207207
This will create us a simulation detector driver with PV prefix
208-
``BL01T-EA-TST-01:DET:`` that publishes its output on the Asyn port ``DET.DET``.
208+
``BL01T-EA-TST-02:DET:`` that publishes its output on the Asyn port ``DET.DET``.
209209

210210
Note that the Generic IOC includes all of the support modules that are dependencies
211211
of ``ADSimDetector`` and each of those contributes its own set of definitions in its
@@ -216,13 +216,13 @@ it to our simulation detector by adding this to our *IOC yaml* file:
216216
217217
- type: ADCore.NDPvaPlugin
218218
PORT: DET.PVA
219-
PVNAME: BL01T-EA-TST-01:PVA:OUTPUT
220-
P: BL01T-EA-TST-01
219+
PVNAME: BL01T-EA-TST-02:PVA:OUTPUT
220+
P: BL01T-EA-TST-02
221221
R: ":PVA:"
222222
NDARRAY_PORT: DET.DET
223223
224224
This adds a PVA plugin to the IOC that will publish the output of the simulation
225-
detector over a PVAccess channel called ``BL01T-EA-TST-01:PVA:OUTPUT``. The
225+
detector over a PVAccess channel called ``BL01T-EA-TST-02:PVA:OUTPUT``. The
226226
*Support yaml* that declared that plugin came from the ADCore module. This is
227227
a dependency of ADSimDetector and so is included in the Generic IOC container.
228228

@@ -273,14 +273,14 @@ and launch it to view the IOC output:
273273
.. code-block:: bash
274274
275275
pip install c2dataviewer
276-
c2dv --pv BL01T-EA-TST-01:PVA:OUTPUT &
276+
c2dv --pv BL01T-EA-TST-02:PVA:OUTPUT &
277277
278278
Now we can start our simulation detector like this:
279279

280280
.. code-block:: bash
281281
282282
ec ioc exec bl01t-ea-ioc-02
283-
caput BL01T-EA-TST-01:DET:Acquire 1
283+
caput BL01T-EA-TST-02:DET:Acquire 1
284284
285285
You should see a moving image appear in the ``c2dv`` window. For smoothest
286286
results you may want to hit ``Auto`` in the ``Image and Zoom`` section of the
@@ -307,15 +307,15 @@ That is because every Generic IOC publishes an *IOC schema* that describes
307307
the set of entities that an instance of that IOC may instantiate.
308308

309309
The Generic IOC we used was released at this location:
310-
https://github.com/epics-containers/ioc-adsimdetector/releases/tag/2023.10.6b1.
310+
https://github.com/epics-containers/ioc-adsimdetector/releases/tag/2023.10.7.
311311
This page includes the assets that are published as part of the release and
312312
one of those is ``ibek.ioc.schema.json``. This is the *IOC schema* for the
313313
``ioc-adsimdetector`` Generic IOC. This is what we referred to at the top of
314314
our *IOC yaml* file like this:
315315

316316
.. code:: yaml
317317
318-
# yaml-language-server: $schema=https://github.com/epics-containers/ioc-adsimdetector/releases/download/2023.10.6b1/ibek.ioc.schema.json
318+
# yaml-language-server: $schema=https://github.com/epics-containers/ioc-adsimdetector/releases/download/2023.10.7/ibek.ioc.schema.json
319319
320320
When editing with a YAML aware editor like VSCode this will enable auto
321321
completion and validation of the *IOC yaml* file. To enable this in VSCode

docs/user/tutorials/dev_container.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -125,7 +125,7 @@ this tutorial:
125125
126126
# starting from folder bl01t so that the clone is next to bl01t
127127
cd ..
128-
git clone --recursive [email protected]:epics-containers/ioc-adsimdetector.git -b 2023.10.6b1
128+
git clone --recursive [email protected]:epics-containers/ioc-adsimdetector.git -b 2023.10.7
129129
cd ioc-adsimdetector
130130
ec dev build
131131

docs/user/tutorials/setup_workstation.rst

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ The tools you need to install are:
77

88
- Visual Studio Code
99
- a container platform, either podman or docker
10-
- Python 3.9 or later + a Python virtual environment
10+
- Python 3.10 or later + a Python virtual environment
1111
- git client for version control
1212

1313
Visual Studio Code is recommended because it has excellent integration with
@@ -115,9 +115,9 @@ Install Python
115115

116116
.. Note::
117117

118-
**DLS Users**: RHEL 8 Workstations at DLS have Python 3.9 installed by default.
118+
**DLS Users**: use ``module load python/3.11``
119119

120-
Go ahead and install Python 3.9 or later. 3.11 is recommended as this is the
120+
Go ahead and install Python 3.10 or later. 3.11 is recommended as this is the
121121
highest version that epics-containers has been tested with.
122122

123123
There are instructions for installing Python on all platforms here:

0 commit comments

Comments
 (0)