Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Sync templates action fails with dependency errors for stable2412 #23

Closed
iulianbarbu opened this issue Jan 6, 2025 · 2 comments
Closed
Assignees

Comments

@iulianbarbu
Copy link
Collaborator

iulianbarbu commented Jan 6, 2025

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

@iulianbarbu
Copy link
Collaborator Author

Seems that the same PSVM behavior was noticed again here: paritytech/psvm#30.

@iulianbarbu iulianbarbu self-assigned this Jan 6, 2025
@iulianbarbu
Copy link
Collaborator Author

Closing this, added a comment on the associated polkadot-sdk repo: paritytech/polkadot-sdk#6329 (comment)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant