Skip to content

Commit d998217

Browse files
author
cav71
authored
minor cleaups, switch to package namespace, reduce dependencies (#44)
* reduce dependencies to the minimum * report has information in the short version (7 chars) * Update README.md * adds the new updatecheck command to the api.json * adds 3.13 support * update test
1 parent ebb4235 commit d998217

File tree

6 files changed

+8
-4
lines changed

6 files changed

+8
-4
lines changed

.github/workflows/pull-python-luxos.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ jobs:
1515
strategy:
1616
matrix:
1717
os: [ubuntu-latest, macos-latest, windows-latest]
18-
python-version: ["3.9", "3.10", "3.11", "3.12"]
18+
python-version: ["3.9", "3.10", "3.11", "3.12", "3.13"]
1919
runs-on: ${{ matrix.os }}
2020

2121
steps:

.github/workflows/push-main.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ jobs:
2121
strategy:
2222
matrix:
2323
os: [ubuntu-latest, macos-latest, windows-latest]
24-
python-version: ["3.9", "3.10", "3.11", "3.12"]
24+
python-version: ["3.9", "3.10", "3.11", "3.12", "3.13"]
2525
runs-on: ${{ matrix.os }}
2626

2727
steps:

Makefile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ lint: ## Runs the linter (mypy) and report errors.
3232

3333

3434
.PHONY: test
35-
test: ## Run test suite
35+
test: ## Run test suite (make test MINER=IP.ADDRESS will run against a miner)
3636
@pytest -vvs \
3737
--cov-report=html:build/coverage --cov-report=xml:build/coverage.xml \
3838
--junitxml=build/junit.xml --html=build/junit.html --self-contained-html \

pyproject.toml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,7 @@ classifiers = [
2424
"Programming Language :: Python :: 3.10",
2525
"Programming Language :: Python :: 3.11",
2626
"Programming Language :: Python :: 3.12",
27+
"Programming Language :: Python :: 3.13",
2728
]
2829

2930
dependencies = [

src/luxos/api.json

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -200,6 +200,9 @@
200200
"uninstallluxos": {
201201
"logon_required": true
202202
},
203+
"updatecheck" : {
204+
"logon_required": false
205+
},
203206
"updaterun": {
204207
"logon_required": true
205208
},

tests/test_luxos.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ def test_import():
99
assert (Path(api.__file__).parent / "api.json").exists()
1010

1111
### number of API tests hardcoded here
12-
assert len(api.COMMANDS) == 72
12+
assert len(api.COMMANDS) == 73
1313

1414

1515
def test_logon_required():

0 commit comments

Comments
 (0)