Skip to content

Commit 0abe490

Browse files
authored
Merge pull request #1461 from SpiNNakerManchester/use_build
github action fixes
2 parents 549948f + da4fa7d commit 0abe490

30 files changed

Lines changed: 35 additions & 58 deletions

.github/workflows/c_actions.yml

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,6 @@ jobs:
2525
- name: Prepare
2626
uses: SpiNNakerManchester/SupportScripts/actions/prepare@main
2727
with:
28-
python-version: "3.12"
2928
checkout_dependencies: spinnaker_tools spinn_common SpiNNFrontEndCommon
3029
install_dependencies: SpiNNUtils
3130
install_module: false
@@ -103,7 +102,6 @@ jobs:
103102
- name: Prepare
104103
uses: SpiNNakerManchester/SupportScripts/actions/prepare@main
105104
with:
106-
python-version: "3.12"
107105
install_dependencies: >
108106
SpiNNUtils SpiNNMachine SpiNNMan PACMAN spalloc
109107
SpiNNFrontEndCommon TestBase

.github/workflows/python_actions.yml

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -30,8 +30,7 @@ jobs:
3030
ubuntu_packages: graphviz
3131
test_directories: unittests
3232
coverage-package: spynnaker
33-
flake8-packages: spynnaker unittests
33+
flake8-packages: spynnaker unittests spynnaker_integration_tests proxy_integration_tests
3434
pylint-packages: spynnaker
35-
mypy-packages: spynnaker
36-
check_prereleases: false
35+
mypy-packages: spynnaker unittests spynnaker_integration_tests proxy_integration_tests
3736
cfg_file: spynnaker

proxy_integration_tests/test_python_debug/check_debug.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@
3333
from spynnaker.pyNN.data import SpynnakerDataView
3434
from spynnaker.pyNN.extra_algorithms.\
3535
spynnaker_neuron_network_specification_report import (
36-
_GRAPH_NAME) #, _GRAPH_FORMAT)
36+
_GRAPH_NAME)
3737
import pyNN.spiNNaker as sim
3838

3939

setup.cfg

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@
1515
[metadata]
1616
name = sPyNNaker
1717
version = attr: spynnaker._version.__version__
18-
description = Tools for simulating neural models generated using PyNN 0.9 on the SpiNNaker platform
18+
description = Tools for simulating neural models generated using PyNN on the SpiNNaker platform
1919
long_description = file: README.md
2020
long_description_content_type = text/markdown
2121
url = https://github.com/SpiNNakerManchester/SpyNNaker

spynnaker/pyNN/models/populations/population.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -69,7 +69,7 @@ def _we_dont_do_this_now(*args): # pylint: disable=unused-argument
6969

7070
class Population(PopulationBase):
7171
"""
72-
PyNN 0.9 population object.
72+
PyNN population object.
7373
"""
7474
# pylint: disable=redefined-builtin
7575
__slots__ = (

spynnaker_integration_tests/setup.py

Lines changed: 0 additions & 22 deletions
This file was deleted.

spynnaker_integration_tests/test_additional_params_on_pop_not_recogonised/test_additional_params_mix.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@
1313
# limitations under the License.
1414
import pyNN.spiNNaker as p
1515
from spinnaker_testbase import BaseTestCase
16-
from testfixtures import LogCapture
16+
from testfixtures import LogCapture # type: ignore[import]
1717

1818

1919
def a_run():

spynnaker_integration_tests/test_additional_params_on_pop_not_recogonised/test_additional_params_not_needed.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@
1313
# limitations under the License.
1414
import pyNN.spiNNaker as p
1515
from spinnaker_testbase import BaseTestCase
16-
from testfixtures import LogCapture
16+
from testfixtures import LogCapture # type: ignore[import]
1717

1818

1919
def a_run():

spynnaker_integration_tests/test_auto_pause_and_resume_tests/test_does_auto_pause/test_synfire_low_sdram_long_run.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@
1515
"""
1616
Synfirechain-like example
1717
"""
18-
from testfixtures import LogCapture
18+
from testfixtures import LogCapture # type: ignore[import]
1919
import spynnaker.plot_utils as plot_utils
2020
import spynnaker.spike_checker as spike_checker
2121
from spinnaker_testbase import BaseTestCase

spynnaker_integration_tests/test_connectors/test_array_connector.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@
1212
# See the License for the specific language governing permissions and
1313
# limitations under the License.
1414

15-
import matplotlib.pyplot as plt
15+
import matplotlib.pyplot as plt # type: ignore[import]
1616
import numpy
1717
from pyNN.utility.plotting import Figure, Panel
1818
import pyNN.spiNNaker as p

0 commit comments

Comments
 (0)