Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 6 additions & 4 deletions .github/workflows/watch-mainnet-release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,8 @@ name: Watch Mainnet Release
# docker-localnet.yml (a release created with the default GITHUB_TOKEN
# does not emit `release: published`, so their `on: release` triggers
# never fire for releases cut by this workflow)
# 3. Python SDK + bittensor-core wheels to PyPI
# 3. Python SDK + bittensor-core wheels to PyPI when the tagged versions
# are not already published completely
# 4. Publishable Rust crates to crates.io
# 5. Production website/docs deployment on Vercel
# 6. Before finalizing the GitHub release, the `mainnet` branch is
Expand Down Expand Up @@ -193,12 +194,13 @@ jobs:
"$chain_spec" "$release_sha" "$chain_code_hash")
: ${artifact_id:?no artifact matches the immutable tag and finalized runtime}
echo "artifact_id=$artifact_id" >> "$GITHUB_OUTPUT"
python_needed=true
elif python3 .github/scripts/check-python-release.py \
fi

if python3 .github/scripts/check-python-release.py \
--sdk-version "$sdk_version" \
--core-version "$core_version" \
--repository "$GITHUB_REPOSITORY"; then
echo "Stable Python packages are complete on PyPI."
echo "Stable Python packages are complete on PyPI; skipping Python publication."
python_needed=false
else
python_status=$?
Expand Down
2 changes: 1 addition & 1 deletion runtime/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -235,7 +235,7 @@ pub const VERSION: RuntimeVersion = RuntimeVersion {
// `spec_version`, and `authoring_version` are the same between Wasm and native.
// This value is set to 100 to notify Polkadot-JS App (https://polkadot.js.org/apps) to use
// the compatible custom types.
spec_version: 440,
spec_version: 441,
impl_version: 1,
apis: RUNTIME_API_VERSIONS,
transaction_version: 1,
Expand Down
2 changes: 2 additions & 0 deletions runtime/src/proxy_filters/call_groups.rs
Original file line number Diff line number Diff line change
Expand Up @@ -583,6 +583,8 @@ call_filter_group!(
RuntimeCall::AdminUtils(AdminUtilsCall::sudo_set_tao_flow_normalization_exponent),
RuntimeCall::AdminUtils(AdminUtilsCall::sudo_set_tao_flow_smoothing_factor),
RuntimeCall::AdminUtils(AdminUtilsCall::sudo_set_net_tao_flow_enabled),
RuntimeCall::AdminUtils(AdminUtilsCall::sudo_set_emission_bar_quantile),
RuntimeCall::AdminUtils(AdminUtilsCall::sudo_set_emission_gate_exponent),
RuntimeCall::AdminUtils(AdminUtilsCall::sudo_set_max_mechanism_count),
RuntimeCall::AdminUtils(AdminUtilsCall::sudo_set_start_call_delay),
RuntimeCall::AdminUtils(AdminUtilsCall::sudo_set_coldkey_swap_announcement_delay),
Expand Down
6 changes: 4 additions & 2 deletions runtime/tests/claim_root_weight.rs
Original file line number Diff line number Diff line change
Expand Up @@ -34,10 +34,12 @@ fn claim_root_with_extensions_fits_normal_extrinsic_limit() {

let mut dispatch_info = call.get_dispatch_info();
dispatch_info.extension_weight = extensions.weight(&call);
let max_extrinsic = BlockWeights::get()
let Some(max_extrinsic) = BlockWeights::get()
.get(DispatchClass::Normal)
.max_extrinsic
.expect("normal extrinsics have a configured maximum");
else {
panic!("normal extrinsics have a configured maximum");
};

assert!(
dispatch_info.total_weight().all_lte(max_extrinsic),
Expand Down
2 changes: 1 addition & 1 deletion sdk/bittensor-core-py/pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ build-backend = "maturin"
name = "bittensor-core"
# Static (not read from Cargo.toml) so the release train can stamp PEP 440
# rc/dev suffixes that cargo's semver would reject.
version = "0.1.1"
version = "0.1.2"
description = "The chain-defined compute core for Bittensor clients: sp-core keys, keyfiles, drand timelock, ML-KEM, SCALE codec, and RFC-0078 metadata digest, built from the bittensor monorepo"
readme = "README.md"
requires-python = ">=3.10"
Expand Down
2 changes: 1 addition & 1 deletion sdk/python/pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ build-backend = "hatchling.build"

[project]
name = "bittensor"
version = "11.0.1.dev0"
version = "11.0.2.dev0"

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

[MEDIUM] Regenerate the Python lockfile after both version bumps

sdk/python/uv.lock still identifies the editable bittensor package as 11.0.1.dev0 and the local bittensor-core package as 0.1.1. CI runs uv sync --locked, which rejects a lockfile that is stale relative to these project files. Run uv lock from sdk/python/ and commit the resulting lockfile updates for both packages.

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

[MEDIUM] Regenerate the Python lockfile after both version bumps

sdk/python/uv.lock still records the local bittensor package as 11.0.1.dev0 and bittensor-core as 0.1.1. Regenerate and commit the lockfile after these metadata changes so locked uv operations resolve the release versions consistently.

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

[MEDIUM] Regenerate the Python lockfile after both version bumps

sdk/python/uv.lock still records the local bittensor package as 11.0.1.dev0 and bittensor-core as 0.1.1, while this PR changes them to 11.0.2.dev0 and 0.1.2. Regenerate and commit the lockfile so locked uv operations remain consistent with both manifests.

description = "A lean Python SDK (import bittensor) and CLI (btcli) for the Bittensor chain."
readme = "README.md"
requires-python = ">=3.10,<3.15"
Expand Down
Loading