When the entry-point kclVersion is 3.0-preview or later, it should be an error for an imported file to specify a non-matching kclVersion.
We can relax this constraint in the future, but once it's released, it would be a breaking change to add an error.
We must allow specifying a version so that users can switch between entry-point files. I.e. they can run assembly.kcl and part.kcl, both with kclVersion = "3.0-preview". Until the project.toml setting works, this is the only option.
When the entry-point kclVersion is 3.0-preview or later, it should be an error for an imported file to specify a non-matching kclVersion.
We can relax this constraint in the future, but once it's released, it would be a breaking change to add an error.
We must allow specifying a version so that users can switch between entry-point files. I.e. they can run
assembly.kclandpart.kcl, both withkclVersion = "3.0-preview". Until theproject.tomlsetting works, this is the only option.