Skip to content

Commit 9592a62

Browse files
Merge branch 'main' into use-master-bottle
2 parents 3ee8c2d + e12ad04 commit 9592a62

File tree

3 files changed

+405
-486
lines changed

3 files changed

+405
-486
lines changed

.github/workflows/pypi-publish.yml

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,8 +3,8 @@ name: Publish distributions to PyPI or TestPyPI
33
# TestPyPI upload is scheduled in each weekday.
44
# PyPI upload is only activated if the release is published.
55
on:
6-
# schedule:
7-
# - cron: '0 15 * * SUN-THU'
6+
schedule:
7+
- cron: '0 15 * * SUN-THU'
88
release:
99
types:
1010
- published
@@ -31,6 +31,9 @@ jobs:
3131
with:
3232
version: "latest"
3333

34+
- name: Setup venv
35+
run: uv venv
36+
3437
- name: Install twine
3538
run: |
3639
uv pip install twine wheel build

pyproject.toml

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -58,6 +58,16 @@ include = ["optuna_mcp*"]
5858
"py.typed",
5959
]
6060

61+
[[tool.uv.index]]
62+
name = "pytorch-cpu"
63+
url = "https://download.pytorch.org/whl/cpu"
64+
explicit = true
65+
66+
[tool.uv.sources]
67+
torch = [
68+
{ index = "pytorch-cpu" },
69+
]
70+
6171
[tool.ruff]
6272
line-length = 99
6373
target-version = "py312"

0 commit comments

Comments
 (0)