6.0.0: Major release! See the changelog for details

master 6.0.0
SporeStack 8 months ago
parent 278c121afd
commit 94ecfccb99
  1. 10
      .pre-commit-config.yaml
  2. 12
      CHANGELOG.md
  3. 2
      README.md
  4. 2
      setup.cfg
  5. 1
      src/sporestack/cli.py

@ -3,11 +3,11 @@
repos:
- repo: https://github.com/pre-commit/pre-commit-hooks
rev: 8fe62d14e0b4d7d845a7022c5c2c3ae41bdd3f26 # frozen: v4.1.0
rev: db7346d375eda68a0174f2c057dd97f2fbffe030 # frozen: v4.2.0
hooks:
- id: trailing-whitespace
- repo: https://github.com/psf/black
rev: fc0be6eb1e2a96091e6f64009ee5e9081bf8b6c6 # frozen: 22.1.0
rev: ae2c0758c9e61a385df9700dc9c231bf54887041 # frozen: 22.3.0
hooks:
- id: black
- repo: https://github.com/PyCQA/isort
@ -19,16 +19,16 @@ repos:
hooks:
- id: autoflake
- repo: https://github.com/asottile/pyupgrade
rev: e695ecd365119ab4e5463f6e49bea5f4b7ca786b # frozen: v2.31.0
rev: 256bd84aa5a17edbd3dcfaaa4f30f870168d2838 # frozen: v2.32.0
hooks:
- id: pyupgrade
args: [--py37-plus]
- repo: https://github.com/asottile/setup-cfg-fmt
rev: 58b14248db425913ea7502c0b1af9d6653403e07 # frozen: v1.20.0
rev: ce506f9063be3e882d391cdf7b6a3d5f8359add8 # frozen: v1.20.1
hooks:
- id: setup-cfg-fmt
- repo: https://github.com/jackdewinter/pymarkdown
rev: cf71b3c9cb0c361c4a17eacb80ed52432b57b420 # frozen: 0.9.4
rev: be56696256d5491e8a907b72e5a3852034546adb # frozen: v0.9.5
hooks:
- id: pymarkdown
args: [--disable-rules=MD013, --set=plugins.md024.siblings_only=$!True, scan]

@ -7,6 +7,18 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
## [Unreleased]
## [6.0.0 - 2022-04-14]
### Fixed
- Use specified API endpoint for `sporestack server list` command.
## [6.0.0a3 - 2022-04-05]
### Removed
- Get rid of deprecated TokenEnable usage.
## [6.0.0a2 - 2022-04-01]
### Added

@ -1,5 +1,7 @@
# Python 3 library and CLI for [SporeStack](https://sporestack.com) [.onion](http://spore64i5sofqlfz5gq2ju4msgzojjwifls7rok2cti624zyq3fcelad.onion)
[Changelog](CHANGELOG.md)
## Requirements
* Python 3.7-3.10 (or maybe newer)

@ -1,6 +1,6 @@
[metadata]
name = sporestack
version = 6.0.0a3
version = 6.0.0
description = SporeStack.com library and client. Launch servers with Monero or Bitcoin.
long_description = file: README.md
long_description_content_type = text/markdown

@ -332,6 +332,7 @@ def server_list() -> None:
try:
upstream_vm_info = api_client.info(
machine_id=saved_vm_info["machine_id"],
api_endpoint=get_api_endpoint(),
)
saved_vm_info["expiration"] = upstream_vm_info.expiration
saved_vm_info["running"] = upstream_vm_info.running

Loading…
Cancel
Save