-
Notifications
You must be signed in to change notification settings - Fork 255
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
Frequent dependency failures - substrate, polkadot, and subxt dependency mismatches #1053
Comments
It's currently not possible to release a version of Subxt that aligns with latest Polkadot/Substrate crates since we have stopped publishing them to github. Once we have this publishing-to-github working again (@bkchr I think you were going to be helping a new hire on Mara's team with this), we'll either strive to stay in alignment with Polkadot releases (if substrate crates are published based on polkadot release branches) or just keep fairly uptodate (if Substrate crates are published on some regular cadence independently of Polkadot releases). That said, |
(probably at some point |
The problem is much larger than |
Ah, sorry to hear that! Is there anything I can help with from the Subxt side at all? |
Lockstep releases and lockstep branching with polkadot releases would be a dream. |
For that, we can't really do anything until Substrate crates are being released again. What issues did you encounter when disabling the "substrate-compat" feature flag? Doing this removes any ties to the Substrate crates and so Subxt should be able to coexist quite peacefully in a workspace with Substrate crates with this.
|
subxt is now independent of substrate/polkadot-sdk after we removed the substrate-compat feature and the only polkadot-sdk dependency subxt has is So, subxt should really work with any version polkadot-sdk i.e, from crates.io/git or whatever you like.. I guess it's technically possible to have dependency mismatches within the "subxt macro" because it depends sp-executor if I think and hope that that this isn't any issue anymore. Can you please double-check and let us know? |
We are building a CLI tool with subxt, but try to keep everything in a single workspace. This breaks frequently due to version mismatches of i.e.
wasmtime
and causes more friction than needed. We are not particularly keen on splitting the workspace into two.Could it be viable to have a substrate/polkadot branch in subxt to be released in lockstep with the substrate versions that are used in polkadot?
Pretty sure this is the wrong place to file, but technically it'd need to be in all 3 repositories
The text was updated successfully, but these errors were encountered: