Skip to content

Commit 32e1eee

Browse files
authored
Merge pull request #19 from kengz/version
fix: relax python version requirement
2 parents ff8a47a + ff147a4 commit 32e1eee

File tree

5 files changed

+498
-15
lines changed

5 files changed

+498
-15
lines changed

.github/workflows/publish.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ on:
33
push:
44
branches: [main]
55
jobs:
6-
test:
6+
publish:
77
runs-on: ubuntu-latest
88
steps:
99
- uses: actions/checkout@v4
@@ -17,4 +17,4 @@ jobs:
1717
UV_PUBLISH_TOKEN: ${{ secrets.PYPI_API_TOKEN }}
1818
run: |
1919
uv build
20-
uv publish
20+
uv publish || true

.github/workflows/ruff.yml

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,8 @@
11
name: ruff
2-
on: [pull_request]
2+
on:
3+
push:
4+
branches: [main]
5+
pull_request:
36
jobs:
47
ruff:
58
runs-on: ubuntu-latest

.github/workflows/test.yml

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,8 @@
11
name: test
2-
on: [pull_request]
2+
on:
3+
push:
4+
branches: [main]
5+
pull_request:
36
jobs:
47
test:
58
runs-on: ubuntu-latest

pyproject.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ name = "torcharc"
33
version = "2.1.2"
44
description = "Build PyTorch models by specifying architectures."
55
readme = "README.md"
6-
requires-python = ">=3.12"
6+
requires-python = ">=3.10"
77
dependencies = [
88
"pydantic>=2.10.4",
99
"pyyaml>=6.0.2",

0 commit comments

Comments
 (0)