Skip to content

Commit e92ad88

Browse files
committed
🔖 Version 1.0.7
1 parent 3ba1f7e commit e92ad88

File tree

7 files changed

+50
-44
lines changed

7 files changed

+50
-44
lines changed

.github/workflows/test.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -105,7 +105,7 @@ jobs:
105105
shell: bash
106106
run: |
107107
source .venv/bin/activate || source .venv/Scripts/activate
108-
python -m pytest tests/ -k "not e2e" -v --tb=short \
108+
python -m pytest tests/ -k "not e2e" -ra -v --tb=short \
109109
--cov=akagi_ng \
110110
--cov-report=xml \
111111
--cov-report=term \

akagi_backend/pyproject.toml

Lines changed: 15 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,11 @@
11
[build-system]
2-
requires = ["setuptools>=68", "wheel"]
2+
requires = ["setuptools>=81", "wheel"]
33
build-backend = "setuptools.build_meta"
44

55
[project]
66
name = "akagi-ng"
7-
version = "1.0.6"
7+
version = "1.0.7"
88
description = "Akagi-NG is a next-generation rewrite inspired by Akagi and MajsoulHelper, focusing on modern architecture and UI."
9-
readme = "README.md"
109
requires-python = ">=3.12"
1110
license = "AGPL-3.0-only"
1211
authors = [{ name = "Akagi-NG Contributors" }]
@@ -18,36 +17,30 @@ classifiers = [
1817
"Programming Language :: Python :: 3.12",
1918
"Topic :: Games/Entertainment :: Board Games",
2019
]
21-
dynamic = []
2220
dependencies = [
2321
# Basic
2422
"loguru~=0.7.3",
2523
"requests~=2.33.0",
2624
"jsonschema~=4.26.0",
2725
# Majsoul
28-
"protobuf~=7.34.0",
26+
"protobuf~=7.34.1",
2927
# PyTorch
3028
"torch~=2.11.0",
31-
"numpy~=2.4.3",
29+
"numpy~=2.4.4",
3230
# MITM
3331
"mitmproxy~=12.2.1",
3432
# DataServer
35-
"aiohttp~=3.13.3",
33+
"aiohttp~=3.13.4",
3634
]
3735

3836
[project.optional-dependencies]
3937
dev = [
40-
"ruff>=0.15.7",
38+
"ruff>=0.15.8",
4139
"pytest>=9.0.2",
4240
"pytest-asyncio>=1.3.0",
43-
"pytest-cov>=7.0.0",
41+
"pytest-cov>=7.1.0",
4442
]
4543

46-
[project.urls]
47-
Homepage = "https://github.com/Xe-Persistent/Akagi-NG"
48-
"Bug Tracker" = "https://github.com/Xe-Persistent/Akagi-NG/issues"
49-
"Source Code" = "https://github.com/Xe-Persistent/Akagi-NG"
50-
5144
[project.scripts]
5245
akagi-ng = "akagi_ng.__main__:main"
5346

@@ -93,9 +86,6 @@ where = ["."]
9386
include = ["akagi_ng*"]
9487
exclude = ["frontend*", "logs*", "playwright_data*", ".venv*"]
9588

96-
[tool.setuptools.package-data]
97-
"akagi_ng" = []
98-
9989
[tool.pytest.ini_options]
10090
testpaths = ["tests"]
10191
python_files = ["test_*.py"]
@@ -140,13 +130,21 @@ markers = [
140130

141131
[tool.coverage.run]
142132
branch = true
133+
relative_files = true
143134
source = ["akagi_ng"]
144135
omit = [
145136
"tests/*",
146137
"**/__init__.py",
147138
"**/__main__.py",
148139
]
149140

141+
[tool.coverage.paths]
142+
source = [
143+
"akagi_ng",
144+
"*/akagi_backend/akagi_ng",
145+
"*\\akagi_backend\\akagi_ng",
146+
]
147+
150148
[tool.coverage.report]
151149
exclude_lines = [
152150
"pragma: no cover",

akagi_frontend/package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
22
"name": "akagi-frontend",
33
"private": true,
4-
"version": "1.0.6",
4+
"version": "1.0.7",
55
"description": "Akagi-NG React Frontend",
66
"author": "Akagi-NG Contributors",
77
"license": "AGPL-3.0",
@@ -19,7 +19,7 @@
1919
"@tailwindcss/vite": "^4.2.2",
2020
"class-variance-authority": "^0.7.1",
2121
"clsx": "^2.1.1",
22-
"i18next": "^26.0.1",
22+
"i18next": "^26.0.2",
2323
"lucide-react": "^1.7.0",
2424
"react": "^19.2.4",
2525
"react-dom": "^19.2.4",
Lines changed: 16 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,7 @@
1-
# Codecov Configuration
2-
# Docs: https://docs.codecov.com/docs/codecov-yaml
1+
codecov:
2+
require_ci_to_pass: true
3+
notify:
4+
wait_for_ci: true
35

46
coverage:
57
precision: 2
@@ -21,25 +23,31 @@ coverage:
2123
if_ci_failed: error
2224
informational: false
2325

26+
flags:
27+
backend:
28+
paths:
29+
- akagi_backend/akagi_ng/
30+
31+
fixes:
32+
- 'akagi_ng/::akagi_backend/akagi_ng/'
33+
2434
comment:
2535
layout: diff,flags,files,footer
2636
behavior: default
2737
require_changes: false
2838
require_base: false
2939
require_head: true
30-
# 防止多个 job 上传时重复评论
31-
after_n_builds: 1
3240

3341
ignore:
34-
- 'scripts/'
35-
- 'tests/'
42+
- scripts/
43+
- tests/
3644
- '**/test_*.py'
3745
- '**/__init__.py'
3846
- '**/__main__.py'
3947
- '.venv/'
4048
- '*.egg-info/'
41-
- 'build/'
42-
- 'dist/'
49+
- build/
50+
- dist/
4351

4452
github_checks:
4553
annotations: true

electron/package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
22
"name": "akagi-ng-desktop",
33
"private": true,
4-
"version": "1.0.6",
4+
"version": "1.0.7",
55
"description": "Akagi-NG Electron Desktop App",
66
"author": "Akagi-NG Contributors",
77
"license": "AGPL-3.0",
@@ -13,7 +13,7 @@
1313
"package": "electron-builder --publish never"
1414
},
1515
"devDependencies": {
16-
"electron": "~40.8.5",
16+
"electron": "40.8.5",
1717
"electron-builder": "^26.8.1",
1818
"wait-on": "^9.0.4"
1919
},

package-lock.json

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

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
22
"name": "akagi-ng-root",
33
"private": true,
4-
"version": "1.0.6",
4+
"version": "1.0.7",
55
"description": "Akagi-NG is a next-generation rewrite inspired by Akagi and MajsoulHelper, focusing on modern architecture and UI.",
66
"author": "Akagi-NG Contributors",
77
"license": "AGPL-3.0",

0 commit comments

Comments
 (0)