bittensor-wallet
Advanced tools
@@ -220,63 +220,1 @@ name: Bittensor SDK Test | ||
| uv run pytest ${{ matrix.test-file }} -s | ||
| run-integration-and-unit-test: | ||
| needs: | ||
| - check-labels | ||
| if: always() && needs.check-labels.outputs.run-sdk-tests == 'true' | ||
| runs-on: ubuntu-latest | ||
| steps: | ||
| - name: Check-out repository | ||
| uses: actions/checkout@v4 | ||
| - name: Install dependencies | ||
| run: | | ||
| sudo apt-get update && | ||
| sudo apt-get install -y clang curl libssl-dev llvm libudev-dev protobuf-compiler | ||
| - name: Create Python virtual environment | ||
| working-directory: ${{ github.workspace }} | ||
| run: python3 -m venv venv | ||
| - name: Clone Bittensor SDK repo | ||
| working-directory: ${{ github.workspace }} | ||
| run: git clone https://github.com/opentensor/bittensor.git | ||
| - name: Setup Bittensor SDK from cloned repo | ||
| working-directory: ${{ github.workspace }}/bittensor | ||
| run: | | ||
| source ${{ github.workspace }}/venv/bin/activate | ||
| git checkout staging | ||
| git fetch origin staging | ||
| python3 -m pip install --upgrade pip | ||
| python3 -m pip install '.[dev]' | ||
| python3 -m pip install -r requirements/torch.txt | ||
| python3 -m pip install maturin | ||
| - name: Clone Bittensor Wallet repo | ||
| run: git clone https://github.com/opentensor/btwallet.git | ||
| - name: Checkout PR branch in Wallet repo | ||
| working-directory: ${{ github.workspace }}/btwallet | ||
| run: | | ||
| git fetch origin ${{ github.event.pull_request.head.ref }} | ||
| git checkout ${{ github.event.pull_request.head.ref }} | ||
| echo "Current branch: $(git rev-parse --abbrev-ref HEAD)" | ||
| - name: Build and install Rust Bittensor Wallet package | ||
| working-directory: ${{ github.workspace }} | ||
| run: | | ||
| source ${{ github.workspace }}/venv/bin/activate | ||
| maturin develop | ||
| - name: Run SDK integration tests | ||
| working-directory: ${{ github.workspace }} | ||
| run: | | ||
| source ${{ github.workspace }}/venv/bin/activate | ||
| pytest ${{ github.workspace }}/bittensor/tests/integration_tests | ||
| - name: Run bittensor-sdk unit tests | ||
| working-directory: ${{ github.workspace }} | ||
| run: | | ||
| source ${{ github.workspace }}/venv/bin/activate | ||
| pytest ${{ github.workspace }}/bittensor/tests/unit_tests |
@@ -71,2 +71,3 @@ from typing import Optional | ||
| ask_password_to_encrypt = ask_password | ||
@@ -80,2 +81,3 @@ def legacy_encrypt_keyfile_data( | ||
| get_coldkey_password_from_environment = get_password_from_environment | ||
@@ -82,0 +84,0 @@ def encrypt_keyfile_data( |
@@ -116,3 +116,3 @@ # The MIT License (MIT) | ||
| return Keypair.create_from_seed( | ||
| seed_hex=int.to_bytes(uid, 32, "big", signed=False), | ||
| seed=int.to_bytes(uid, 32, "big", signed=False), | ||
| ) | ||
@@ -119,0 +119,0 @@ |
+8
-0
| # Changelog | ||
| ## 3.0.9 /2025-04-28 | ||
| ## What's Changed | ||
| * Small fixes by @basfroman in https://github.com/opentensor/btwallet/pull/131 | ||
| * Update deps by @basfroman in https://github.com/opentensor/btwallet/pull/132 | ||
| **Full Changelog**: https://github.com/opentensor/btwallet/compare/v3.0.8...v3.0.9 | ||
| ## 3.0.8 /2025-04-09 | ||
@@ -4,0 +12,0 @@ |
+1
-2
| Metadata-Version: 2.4 | ||
| Name: bittensor-wallet | ||
| Version: 3.0.8 | ||
| Version: 3.0.9 | ||
| Classifier: Development Status :: 5 - Production/Stable | ||
@@ -19,3 +19,2 @@ Classifier: Intended Audience :: Developers | ||
| Classifier: Topic :: Software Development :: Libraries :: Python Modules | ||
| Requires-Dist: eth-utils<2.3.0 | ||
| Requires-Dist: password-strength | ||
@@ -22,0 +21,0 @@ Requires-Dist: cryptography~=43.0.1 |
+1
-2
| [project] | ||
| name = "bittensor-wallet" | ||
| version = "3.0.8" | ||
| version = "3.0.9" | ||
| description = "" | ||
@@ -10,3 +10,2 @@ readme = "README.md" | ||
| dependencies = [ | ||
| "eth-utils<2.3.0", | ||
| "password_strength", | ||
@@ -13,0 +12,0 @@ "cryptography~=43.0.1", |
| pytest==7.2.0 | ||
| pytest-asyncio==0.23.7 | ||
| pytest-mock==3.12.0 | ||
| pytest-split==0.8.0 | ||
| pytest-xdist==3.0.2 | ||
| pytest-rerunfailures==10.2 | ||
| coveralls==3.3.1 | ||
| pytest-cov==4.0.0 | ||
| ddt==1.6.0 | ||
| hypothesis==6.81.1 | ||
| flake8==7.0.0 | ||
| mypy==1.8.0 | ||
| types-retry==0.9.9.4 | ||
| freezegun==1.5.0 | ||
| httpx==0.27.0 | ||
| ruff==0.4.7 | ||
| aioresponses==0.7.6 | ||
| factory-boy==3.3.0 | ||
| maturin==1.7.0 | ||
| py-bip39-bindings==0.1.11 | ||
| ansible_vault~=2.1 |
| py-bip39-bindings==0.1.11 | ||
| eth-utils<2.3.0 | ||
| password_strength | ||
| cryptography~=43.0.1 |
Alert delta unavailable
Currently unable to show alert delta for PyPI packages.
1401
0.14%339566
-0.7%47
-4.08%