-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
4 changed files
with
36 additions
and
150 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,15 +1,39 @@ | ||
## Development | ||
# Development | ||
|
||
## Releasing the SDK | ||
|
||
(in the context of a new PR for this version) | ||
|
||
```sh | ||
make sync # sync codegen | ||
make sync-version # after updating version in scripts/sync_version | ||
``` | ||
|
||
(make sure CI passes, do some spot checking e.g. in examples/basic.py) | ||
|
||
```sh | ||
make clean # clean | ||
make dist # build | ||
make publish # publish | ||
``` | ||
|
||
(validate this version) | ||
|
||
```sh | ||
cd examples/notebooks | ||
make ensure # if you're here for the first time | ||
make update # upgrade to the latest substrate version | ||
make basic # run the basic notebook | ||
``` | ||
|
||
## Setting up local development | ||
|
||
```sh | ||
# install deps | ||
make develop | ||
|
||
# install lint pre-commit hook | ||
poetry run pre-commit install | ||
# sync codegen | ||
make sync | ||
# create a `.pypirc` in your home dir to publish (see `.pypirc.example`) | ||
make publish | ||
``` | ||
|
||
- create a `.pypirc` in your home dir to publish (see `.pypirc.example`) |
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -4,7 +4,7 @@ build-backend = "poetry.core.masonry.api" | |
|
||
[tool.poetry] | ||
name = "substrate" | ||
version = "120240430.0.0" | ||
version = "120240430.0.1" | ||
description = "Substrate Python SDK" | ||
readme = "README.md" | ||
authors = [ "vprtwn <[email protected]>", "liamgriffiths <[email protected]>",] | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters