Skip to content

Sync templates action fails with dependency errors for stable2412 #23

@iulianbarbu

Description

@iulianbarbu

Last runs of misc-sync-templates.yml action failed like so: https://github.com/paritytech/polkadot-sdk/actions/runs/12466779475/job/34794912768.

The error suggests that there is usage of dependency versions that conflicts with what's actually needed by the templates components (node/runtime). E.g. PSVM sets polkadot-sdk version to 0.1.0, which was released 18 months ago, while the most recent one was released 17 days ago, and I expected to pick the latest for stable2412. The same applies to other dependencies, set by PSVM to old versions, incompatible with the requested feature set (and probably, functionality).

error: failed to select a version for `polkadot-sdk`.
    ... required by package `minimal-template-node v0.0.0 (/home/runner/work/polkadot-sdk/polkadot-sdk/polkadot-sdk-minimal-template/node)`
versions that meet the requirements `^0.1.0` are: 0.1.0

Seems like using PSVM to set crates versions from the action doesn't work anymore, but not sure what brakes it. PSVM doesn't have other updates since 4 months ago, we install it from its GH repo, master branch. Probably one of its dependencies is broken, but hard to pin point.

PRs were created for the first time the action failed (#22). We can fix each PR one by one manually for now, but investigating why PSVM resolves crates versions for stable2412 in such a distant way (with old versions) should be covered next. cc @kianenigma

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions