Skip to content

Commit f4ea991

Browse files
authored
Merge pull request #365 from opentensor/fix/update-release-for-pyproject
Update release script w.r.t pyproject.toml
2 parents dea9335 + ea498da commit f4ea991

File tree

3 files changed

+21
-4
lines changed

3 files changed

+21
-4
lines changed

.github/workflows/release.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -23,14 +23,14 @@ jobs:
2323
- name: Install dependencies
2424
run: |
2525
python -m pip install --upgrade pip
26-
pip install build wheel twine
26+
pip install setuptools wheel twine build toml
2727
2828
- name: Build package
29-
run: python setup.py sdist bdist_wheel
29+
run: python -m build --sdist --wheel --outdir dist/
3030

3131
- name: Check if package version already exists
3232
run: |
33-
PACKAGE_NAME=$(python setup.py --name)
33+
PACKAGE_NAME=$(python -c "import toml; print(toml.load('pyproject.toml')['project']['name'])")
3434
PACKAGE_VERSION=${{ github.event.inputs.version }}
3535
if twine check dist/*; then
3636
if pip install $PACKAGE_NAME==$PACKAGE_VERSION; then

CHANGELOG.md

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,22 @@
11
# Changelog
22

3+
## 9.1.1 /2025-03-06
4+
5+
## What's Changed
6+
* fix: int() argument must be a string, a bytes-like object or a real n… by @0xxfu in https://github.com/opentensor/btcli/pull/352
7+
* Change to pyproject toml by @thewhaleking in https://github.com/opentensor/btcli/pull/357
8+
* Feat: Dashboard improvements by @ibraheem-opentensor in https://github.com/opentensor/btcli/pull/350
9+
* Improves stake transfer, adds interactive selection of delegates by @ibraheem-opentensor in https://github.com/opentensor/btcli/pull/358
10+
* Removes hidden flags for unstaking all by @ibraheem-opentensor in https://github.com/opentensor/btcli/pull/359
11+
* Removes `typer.Exit` exceptions in commands by @thewhaleking in https://github.com/opentensor/btcli/pull/353
12+
* Add transaction fee check inter-subnet movement by @ibraheem-opentensor in https://github.com/opentensor/btcli/pull/361
13+
* Backmerge main to staging 910 by @ibraheem-opentensor in https://github.com/opentensor/btcli/pull/362
14+
15+
## New Contributors
16+
* @0xxfu made their first contribution in https://github.com/opentensor/btcli/pull/352
17+
18+
**Full Changelog**: https://github.com/opentensor/btcli/compare/v9.1.0...v9.1.1
19+
320
## 9.1.0 /2025-03-01
421

522
## What's Changed

bittensor_cli/version.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,5 +15,5 @@ def version_as_int(version):
1515
__new_signature_version__ = 360
1616
return __version_as_int__
1717

18-
__version__ = "9.1.0"
18+
__version__ = "9.1.1"
1919
__version_as_int__ = version_as_int(__version__)

0 commit comments

Comments
 (0)