Skip to content

Commit 0c65756

Browse files
author
Roman
committed
Merge branch 'staging' into feat/roman/add-new-crv3-logic
2 parents 7ee70b0 + bd3f57b commit 0c65756

File tree

3 files changed

+19
-3
lines changed

3 files changed

+19
-3
lines changed

README.md

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -94,6 +94,14 @@ python3 -m pip install --upgrade bittensor
9494

9595
## Install on macOS and Linux
9696

97+
### Note for macOS users
98+
The macOS preinstalled CPython installation is compiled with LibreSSL instead of OpenSSL. There are a number
99+
of issues with LibreSSL, and as such is not fully supported by the libraries used by bittensor. Thus we highly recommend, if
100+
you are using a Mac, to first install Python from [Homebrew](https://brew.sh/). Additionally, the Rust FFI bindings
101+
[if installing from precompiled wheels (default)] require the Homebrew-installed OpenSSL pacakge. If you choose to use
102+
the preinstalled Python version from macOS, things may not work completely.
103+
104+
### Installation
97105
You can install Bittensor SDK on your local machine in either of the following ways. **Make sure you verify your installation after you install**:
98106
- [Install using a Bash command](#install-using-a-bash-command).
99107
- [Install using `pip3 install`](#install-using-pip3-install)
@@ -158,6 +166,13 @@ You can install using any of the below options:
158166
1. Install `cubit` first. See the [Install](https://github.com/opentensor/cubit?tab=readme-ov-file#install) section. **Only Python 3.9 and 3.10 versions are supported**.
159167
2. Then install SDK with `pip install bittensor`.
160168

169+
170+
### Troubleshooting
171+
#### SSL: CERTIFICATE_VERIFY_FAILED
172+
173+
If you are encountering a `[SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed: unable to get local issuer certificate`
174+
error, use the command `python -m bittensor certifi` which will update your local SSL certificates.
175+
161176
---
162177

163178
## Install on Windows

contrib/RELEASE_GUIDELINES.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@ Since you need to use a secret when releasing bittensor (github personal access
4444

4545
So you can have:
4646
```
47-
GITHUB_ACCESS_TOKEN=$(pass github/your_personal_token_with_permisions)
47+
GITHUB_ACCESS_TOKEN=$(pass github/your_personal_token_with_permissions)
4848
```
4949

5050
or

tests/e2e_tests/utils/e2e_test_utils.py

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -274,13 +274,14 @@ async def async_wait_to_start_call(
274274
if await subtensor.is_fast_blocks() is False:
275275
in_blocks = 5
276276

277+
current_block = await subtensor.block
278+
277279
bittensor.logging.console.info(
278280
f"Waiting for [blue]{in_blocks}[/blue] blocks before [red]start call[/red]. "
279-
f"Current block: [blue]{subtensor.block}[/blue]."
281+
f"Current block: [blue]{current_block}[/blue]."
280282
)
281283

282284
# make sure we passed start_call limit
283-
current_block = await subtensor.block
284285
await subtensor.wait_for_block(current_block + in_blocks + 1)
285286
status, message = await subtensor.start_call(
286287
wallet=subnet_owner_wallet,

0 commit comments

Comments
 (0)