Skip to content

Commit c0632e5

Browse files
committed
chore(deps): 移除 optional-dependencies
1 parent f814237 commit c0632e5

File tree

4 files changed

+7
-16
lines changed

4 files changed

+7
-16
lines changed

.github/workflows/main.yml

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -21,9 +21,6 @@ jobs:
2121
with:
2222
enable-cache: true
2323

24-
- name: Sync dependencies
25-
run: uv sync --all-extras
26-
2724
- name: Run tests
2825
run: uv run poe test
2926

examples/store-test.yml

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -45,12 +45,11 @@ jobs:
4545

4646
- name: Test plugin
4747
if: ${{ !contains(fromJSON('["Bot", "Adapter", "Plugin"]'), github.event.client_payload.type) }}
48-
run: |
49-
uv run --no-dev --extra plugin python -m src.providers.store_test plugin-test --offset ${{ github.event.inputs.offset || 0 }} --limit ${{ github.event.inputs.limit || 50 }} ${{ github.event.inputs.args }}
48+
run: uv run --no-dev -m src.providers.store_test plugin-test --offset ${{ github.event.inputs.offset || 0 }} --limit ${{ github.event.inputs.limit || 50 }} ${{ github.event.inputs.args }}
5049

5150
- name: Update registry
5251
if: ${{ contains(fromJSON('["Bot", "Adapter", "Plugin"]'), github.event.client_payload.type) }}
53-
run: uv run --no-dev --extra plugin python -m src.providers.store_test registry-update
52+
run: uv run --no-dev -m src.providers.store_test registry-update
5453
env:
5554
REGISTRY_UPDATE_PAYLOAD: ${{ toJson(github.event.client_payload) }}
5655

pyproject.toml

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,7 @@ readme = "README.md"
77
license = { file = "LICENSE" }
88
requires-python = ">= 3.12"
99
dependencies = [
10+
"click>=8.1.7",
1011
"docker>=7.1.0",
1112
"githubkit>=0.11.14",
1213
"jinja2>=3.1.4",
@@ -15,6 +16,7 @@ dependencies = [
1516
"pre-commit>=4.0.1",
1617
"pydantic-extra-types>=2.10.0",
1718
"pyjson5>=1.6.7",
19+
"tzdata>=2024.2",
1820
]
1921

2022
[project.urls]
@@ -23,9 +25,6 @@ Repository = "https://github.com/nonebot/noneflow.git"
2325
Issues = "https://github.com/nonebot/noneflow/issues"
2426
Changelog = "https://github.com/nonebot/noneflow/blob/main/CHANGELOG.md"
2527

26-
[project.optional-dependencies]
27-
plugin = ["click>=8.1.7", "tzdata>=2024.2"]
28-
2928
[tool.uv]
3029
dev-dependencies = [
3130
"bump-my-version>=0.28.1",

uv.lock

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

0 commit comments

Comments
 (0)