From 06c8260bef5207cf6c7e5d751dca50cd3705bbc2 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Mon, 8 Jan 2024 13:39:07 +0000 Subject: [PATCH 1/5] Bump actions/setup-python from 4 to 5 Bumps [actions/setup-python](https://github.com/actions/setup-python) from 4 to 5. - [Release notes](https://github.com/actions/setup-python/releases) - [Commits](https://github.com/actions/setup-python/compare/v4...v5) --- updated-dependencies: - dependency-name: actions/setup-python dependency-type: direct:production update-type: version-update:semver-major ... Signed-off-by: dependabot[bot] --- .github/workflows/c_actions.yml | 2 +- .github/workflows/python_actions.yml | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/workflows/c_actions.yml b/.github/workflows/c_actions.yml index c59de60a..907b5483 100644 --- a/.github/workflows/c_actions.yml +++ b/.github/workflows/c_actions.yml @@ -31,7 +31,7 @@ jobs: with: packages: doxygen gcc-arm-none-eabi - name: Set up Python 3.12 - uses: actions/setup-python@v4 + uses: actions/setup-python@v5 with: python-version: 3.12 - name: Checkout SpiNNaker Dependencies diff --git a/.github/workflows/python_actions.yml b/.github/workflows/python_actions.yml index 175e2672..55742e4f 100644 --- a/.github/workflows/python_actions.yml +++ b/.github/workflows/python_actions.yml @@ -37,7 +37,7 @@ jobs: path: support - name: Set up Python ${{ matrix.python-version }} - uses: actions/setup-python@v4 + uses: actions/setup-python@v5 with: python-version: ${{ matrix.python-version }} - name: Install pip, etc @@ -92,7 +92,7 @@ jobs: path: support - name: Set up Python ${{ matrix.python-version }} - uses: actions/setup-python@v4 + uses: actions/setup-python@v5 with: python-version: ${{ matrix.python-version }} - name: Install pip, etc From 3772dc8d5e44f1ee77848ca8f6af0d9297c1e13a Mon Sep 17 00:00:00 2001 From: Andrew Rowley Date: Thu, 7 Mar 2024 11:27:18 +0000 Subject: [PATCH 2/5] No point accepting this if it isn't going to be used! --- .gitignore | 1 + spinnaker_graph_front_end/utilities/simulator_vertex.py | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/.gitignore b/.gitignore index 94473b00..9eb3ea46 100644 --- a/.gitignore +++ b/.gitignore @@ -17,3 +17,4 @@ __pycache__ **/modified_src/ **/Debug/ *.dict +/.mypy_cache/ diff --git a/spinnaker_graph_front_end/utilities/simulator_vertex.py b/spinnaker_graph_front_end/utilities/simulator_vertex.py index 1cc510e7..77fd14e6 100644 --- a/spinnaker_graph_front_end/utilities/simulator_vertex.py +++ b/spinnaker_graph_front_end/utilities/simulator_vertex.py @@ -47,7 +47,7 @@ def __init__(self, label, binary_name: str, vertex_slice=None): implements. :type vertex_slice: ~pacman.model.graphs.common.Slice or None """ - super().__init__(label) + super().__init__(label, vertex_slice=vertex_slice) self._binary_name = binary_name if not binary_name.lower().endswith(".aplx"): log.warning("APLX protocol used but name not matching; " From 6941e2def63fb9d90dafd5e4a7ed953460bce62c Mon Sep 17 00:00:00 2001 From: "Christian Y. Brenninkmeijer" Date: Wed, 13 Mar 2024 10:26:17 +0000 Subject: [PATCH 3/5] no need to add live_output MachineVertex --- gfe_examples/live_io/live_io.py | 1 - 1 file changed, 1 deletion(-) diff --git a/gfe_examples/live_io/live_io.py b/gfe_examples/live_io/live_io.py index 1ec45f39..94346611 100644 --- a/gfe_examples/live_io/live_io.py +++ b/gfe_examples/live_io/live_io.py @@ -95,7 +95,6 @@ def receive(label, time, keys): front_end.add_machine_edge_instance( MachineEdge(vertex, live_out), sender_partition) live_out.add_incoming_source(vertex, sender_partition) - FecDataView.add_live_output_vertex(vertex, sender_partition) front_end.run(10000) From 4c8fad916ef3ab073e3e8f23dc6babba31db18d0 Mon Sep 17 00:00:00 2001 From: "Christian Y. Brenninkmeijer" Date: Wed, 13 Mar 2024 10:29:01 +0000 Subject: [PATCH 4/5] remove unused import --- gfe_examples/live_io/live_io.py | 1 - 1 file changed, 1 deletion(-) diff --git a/gfe_examples/live_io/live_io.py b/gfe_examples/live_io/live_io.py index 94346611..00a22d52 100644 --- a/gfe_examples/live_io/live_io.py +++ b/gfe_examples/live_io/live_io.py @@ -16,7 +16,6 @@ from time import sleep from random import randint from pacman.model.graphs.machine.machine_edge import MachineEdge -from spinn_front_end_common.data.fec_data_view import FecDataView from spinn_front_end_common.utilities.connections import LiveEventConnection from spinn_front_end_common.utility_models import ( EIEIOParameters, LivePacketGatherMachineVertex, From d2f45ca5f22f3874a3dcfae39dea309a840c29a7 Mon Sep 17 00:00:00 2001 From: "Christian Y. Brenninkmeijer" Date: Fri, 12 Apr 2024 09:38:30 +0100 Subject: [PATCH 5/5] get board size from script --- unittests/test_using_virtual_board/spiNNakerGraphFrontEnd.cfg | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/unittests/test_using_virtual_board/spiNNakerGraphFrontEnd.cfg b/unittests/test_using_virtual_board/spiNNakerGraphFrontEnd.cfg index 49308cef..fa2d67a8 100644 --- a/unittests/test_using_virtual_board/spiNNakerGraphFrontEnd.cfg +++ b/unittests/test_using_virtual_board/spiNNakerGraphFrontEnd.cfg @@ -1,9 +1,7 @@ [Machine] -width = 8 -height = 8 virtual_board = True machineName = None spalloc_server = None remote_spinnaker_url = None -version = None +version = 5 time_scale_factor = None