SpiNNakerManchester / spalloc

SpiNNaker machine allocation client.
Apache License 2.0
0 stars 1 forks source link

Stop using Rig #46

Closed dkfellows closed 11 months ago

dkfellows commented 4 years ago

Rig uses some features (introspection facilities) that have been deprecated, and rig is not being ported/supported in newer versions of Python. This generates warnings.

But the warnings are mostly spurious, as spalloc only uses rig to boot the machine, an optional feature of the command line. We should switch to using spinnman for booting (or drop support for booting entirely) so that we can drop the use of rig.

Note that this is the only remaining actual use of rig code remaining in our supported tools. (We have more documentation references, but those aren't a problem.)

dkfellows commented 3 years ago

Current version requires special install option (pip install "spalloc[boot]" instead of pip install spalloc) to turn on rig installs and the booting feature, and we don't actually use this in, say, FrontEndCommon when declaring the dependency on spalloc so things default to being not-a-problem. While we ought to fix this, it's not pressing any more.

dkfellows commented 11 months ago

Current system supports using Rig but doesn't ever require it. It's only used for booting boards in an allocation when using the command line tools (--boot option to spinnaker-alloc), and then it uses an old version of SCAMP. It's not recommended.