Skip to content
This repository has been archived by the owner on Nov 15, 2023. It is now read-only.

Bump sp-crates from latest crates.io version and release #14265

Merged
merged 2 commits into from
May 31, 2023

Conversation

lexnv
Copy link
Contributor

@lexnv lexnv commented May 30, 2023

This PR bumps the SP-crates to the latest version from crates.io + a version bump for release.

This is a follow-up to: #14237.

It seems that some sp-crates where published on crates.io previously without doing a PR in substrate.
This behavior led the subpub tool to increment the crates versions from the local Cargo.toml, instead of inspecting crates.io.

Related subpub PR: paritytech/subpub#12

Similarly, we need to publish the following crates:

  • sp-core
  • sp-core-hashing
  • sp-runtime
  • sp-keyring
  • sp-version

Versions bumped to achieve this:

  • sp-debug-derive: 6.0.0 -> 8.0.0
  • sp-std: 6.0.0 -> 8.0.0
  • sp-storage: 8.0.0 -> 13.0.0
  • sp-wasm-interface: 8.0.0 -> 14.0.0
  • sp-externalities: 0.14.0 -> 0.19.0
  • sp-runtime-interface-proc-macro: 7.0.0 -> 11.0.0
  • sp-tracing: 7.0.0 -> 10.0.0
  • sp-runtime-interface: 8.0.0 -> 17.0.0
  • sp-core-hashing: 6.0.0 -> 9.0.0
  • sp-core: 8.0.0 -> 21.0.0
  • sp-trie: 8.0.0 -> 22.0.0
  • sp-panic-handler: 6.0.0 -> 8.0.0
  • sp-keystore: 0.14.0 -> 0.27.0
  • sp-state-machine: 0.14.0 -> 0.28.0
  • sp-arithmetic: 7.0.0 -> 16.0.0
  • sp-io: 8.0.0 -> 23.0.0
  • sp-weights: 5.0.0 -> 20.0.0
  • sp-application-crypto: 8.0.0 -> 23.0.0
  • sp-core-hashing-proc-macro: 6.0.0 -> 9.0.0
  • sp-version-proc-macro: 4.0.0 -> 8.0.0
  • sp-runtime: 8.0.0 -> 24.0.0
  • sp-version: 6.0.0 -> 22.0.0
  • sp-keyring: 8.0.0 -> 24.0.0

cumulus companion: paritytech/cumulus#2655
polkadot companion: paritytech/polkadot#7307

// @paritytech/subxt-team

@lexnv lexnv added A0-please_review Pull request needs code review. B0-silent Changes should not be mentioned in any release notes C1-low PR touches the given topic and has a low impact on builders. D3-trivial 🧸 PR contains trivial changes in a runtime directory that do not require an audit labels May 30, 2023
@lexnv lexnv self-assigned this May 30, 2023
@lexnv lexnv requested review from a team May 30, 2023 14:06
@lexnv lexnv requested a review from a team May 30, 2023 14:06
@lexnv lexnv requested a review from koute as a code owner May 30, 2023 14:06
@lexnv
Copy link
Contributor Author

lexnv commented May 31, 2023

bot merge

@davxy
Copy link
Member

davxy commented Jun 13, 2023

@lexnv maybe the same modifications are required for some frame pallets?
For example I see that pallet-aura is at version 4.0.0-dev in our codebase while on crates.io is at version 20.0.0

Question. Why these major numbers are incremented so often when publishing? Shouldn't we increment minors?

@bkchr
Copy link
Member

bkchr commented Jun 13, 2023

@davxy there was this script running that was publishing to master every week, which should be the reason for this high major number. The script is not running anymore and we will replace it with a new system

nathanwhit pushed a commit to nathanwhit/substrate that referenced this pull request Jul 19, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
A0-please_review Pull request needs code review. B0-silent Changes should not be mentioned in any release notes C1-low PR touches the given topic and has a low impact on builders. D3-trivial 🧸 PR contains trivial changes in a runtime directory that do not require an audit
Projects
None yet
Development

Successfully merging this pull request may close these issues.

7 participants