Currently, there's no obvious way to use the latest SDK to target older (e.g. pre-3.4) versions of Spin; the only option is to use an earlier SDK version. One easy way to address that would be to add version-specific worlds to spin.wit, e.g. one for Spin 3.2.x, one for Spin 3.3.x, etc. This will allow the user to specify which Spin version they wish to target using the --world option to componentize-py in the build directive of their spin.toml file. The default would remain the latest version of Spin supported by the SDK.
Currently, there's no obvious way to use the latest SDK to target older (e.g. pre-3.4) versions of Spin; the only option is to use an earlier SDK version. One easy way to address that would be to add version-specific worlds to
spin.wit, e.g. one for Spin 3.2.x, one for Spin 3.3.x, etc. This will allow the user to specify which Spin version they wish to target using the--worldoption tocomponentize-pyin the build directive of theirspin.tomlfile. The default would remain the latest version of Spin supported by the SDK.