Skip to content

Commit bd02d55

Browse files
author
liuxinwei
committed
ci(workflow): 更新 GitHub Actions 工作流和依赖配置
更新 pages.yml 工作流中的 pip 安装命令,移除重复的安装步骤并添加 dev 依赖 升级 pyproject.toml 中的 Python 版本要求和文档依赖项
1 parent 602e22d commit bd02d55

File tree

2 files changed

+4
-6
lines changed

2 files changed

+4
-6
lines changed

.github/workflows/pages.yml

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -45,10 +45,9 @@ jobs:
4545
sudo apt-get install graphviz
4646
apt-get update && sudo apt-get upgrade
4747
pip install --upgrade pip
48-
pip install -ve .[doc,flows] --upgrade
4948
git clone --recursive https://github.com/xinetzone/maple-font.git
5049
cd maple-font
51-
pip install -ve .
50+
pip install -ve .[doc,flows,dev]
5251
maple-font build --full
5352
conda install -c conda-forge pandoc compilers podman
5453
- name: 🔧 Build HTML

pyproject.toml

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,11 @@
11
[project]
22
name = "torch-book"
3-
version = "0.1.1"
3+
version = "0.1.2"
44
description = "道法自然"
55
authors = [
66
{name = "xinetzone", email = "735613050@qq.com"},
77
]
8-
requires-python = ">=3.10"
8+
requires-python = ">=3.12"
99
readme = "README.md"
1010
license = {file = "LICENSE"}
1111
maintainers = [
@@ -18,15 +18,14 @@ Home = "https://github.com/xinetzone/torch-book"
1818

1919
[project.optional-dependencies]
2020
doc = [
21-
"xyzstyle",
21+
"mystx",
2222
"sphinx",
2323
# "ablog",
2424
"ipywidgets",
2525
"folium",
2626
"numpy",
2727
"matplotlib",
2828
"sphinx-comments",
29-
"myst-nb",
3029
"nbclient",
3130
"pandas",
3231
"plotly",

0 commit comments

Comments
 (0)