Skip to content

Commit bd9fd81

Browse files
committed
version: bump version number
1 parent 33803e8 commit bd9fd81

File tree

4 files changed

+76
-31
lines changed

4 files changed

+76
-31
lines changed

.pre-commit-config.yaml

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,14 @@
11
ci:
22
skip:
3-
- unittest
3+
- poetry-lock
4+
- pytest
45
repos:
6+
- repo: https://github.com/python-poetry/poetry
7+
rev: 2.0.1
8+
hooks:
9+
- id: poetry-check
10+
- id: poetry-lock
11+
- id: poetry-install
512
- repo: https://github.com/pre-commit/pre-commit-hooks
613
rev: v5.0.0
714
hooks:

poetry.lock

Lines changed: 12 additions & 12 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

pyasic/__init__.py

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,8 @@
1313
# See the License for the specific language governing permissions and -
1414
# limitations under the License. -
1515
# ------------------------------------------------------------------------------
16+
import importlib.metadata
17+
1618
from pyasic import settings
1719
from pyasic.config import MinerConfig
1820
from pyasic.data import MinerData
@@ -22,3 +24,5 @@
2224
from pyasic.rpc import *
2325
from pyasic.ssh import *
2426
from pyasic.web import *
27+
28+
__version__ = importlib.metadata.version("pyasic")

pyproject.toml

Lines changed: 52 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -1,23 +1,57 @@
1-
[tool.poetry]
1+
[project]
22
name = "pyasic"
3-
version = "0.69.2"
3+
version = "0.70.0"
4+
45
description = "A simplified and standardized interface for Bitcoin ASICs."
5-
authors = ["UpstreamData <brett@upstreamdata.ca>"]
6+
authors = [{name = "UpstreamData", email = "brett@upstreamdata.ca"}]
67
repository = "https://github.com/UpstreamData/pyasic"
7-
documentation = "https://pyasic.readthedocs.io/en/latest/"
8-
readme = "README.md"
9-
10-
[tool.poetry.dependencies]
11-
python = "^3.9"
12-
httpx = ">=0.26.0"
13-
asyncssh = ">=2.17.0"
14-
passlib = ">=1.7.4"
15-
pyaml = ">=23.12.0"
16-
tomli = { version = ">=2.0.1", python = "<3.11" }
17-
tomli-w = "^1.0.0"
18-
aiofiles = ">=23.2.1"
19-
betterproto = "2.0.0b7"
20-
pydantic = "^2.9.2"
8+
9+
homepage = "https://docs.pyasic.org"
10+
source = "https://github.com/UpstreamData/pyasic"
11+
documentation = "https://docs.pyasic.org"
12+
issues = "https://github.com/UpstreamData/pyasic/issues"
13+
readme = {file = "README.md", content-type = "text/markdown"}
14+
license = "Apache 2.0"
15+
license-files = ["LICEN[CS]E.*"]
16+
17+
keywords = [
18+
"python",
19+
"asic",
20+
"bitcoin",
21+
"whatsminer",
22+
"antminer",
23+
"braiins-os",
24+
"vnish",
25+
"luxos"
26+
]
27+
classifiers = [
28+
"Development Status :: 4 - Beta",
29+
30+
"Intended Audience :: Developers",
31+
32+
"License :: OSI Approved :: Apache Software License",
33+
34+
"Programming Language :: Python",
35+
"Programming Language :: Python :: 3",
36+
"Programming Language :: Python :: 3.9",
37+
"Programming Language :: Python :: 3.10",
38+
"Programming Language :: Python :: 3.11",
39+
"Programming Language :: Python :: 3.12",
40+
"Programming Language :: Python :: 3.13",
41+
]
42+
43+
requires-python = "^3.9"
44+
dependencies = [
45+
"httpx>=0.26.0",
46+
"asyncssh>=2.17.0",
47+
"passlib>=1.7.4",
48+
"pyaml>=23.12.0",
49+
"tomli (>=2.2.1,<3.0.0) ; python_version < '3.11'",
50+
"tomli-w>=1.0.0",
51+
"aiofiles>=23.2.1",
52+
"betterproto==2.0.0b7",
53+
"pydantic>=2.9.2",
54+
]
2155

2256
[tool.poetry.group.dev]
2357
optional = true
@@ -36,7 +70,7 @@ mkdocs-material = "^9.5.39"
3670

3771

3872
[build-system]
39-
requires = ["poetry-core>=1.0.0"]
73+
requires = ["poetry-core>=2.0.0"]
4074
build-backend = "poetry.core.masonry.api"
4175

4276
[tool.isort]

0 commit comments

Comments
 (0)