Skip to content

Commit 4713ded

Browse files
committed
feat: Update Python version requirements and refactor dependency handling
- Changed the minimum required Python version from 3.7 to 3.9 in pyproject.toml. - Updated classifiers to include support for Python 3.11, 3.12, and 3.13. - Refactored the handling of development dependencies in the hook.py file to use the new [dependency-groups] format. - Updated test project configuration to reflect the new Python version requirement and changed dev-dependencies to [dependency-groups]. Signed-off-by: Frost Ming <[email protected]>
1 parent 1a0016e commit 4713ded

File tree

6 files changed

+356
-337
lines changed

6 files changed

+356
-337
lines changed

.github/workflows/ci.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -11,13 +11,13 @@ jobs:
1111
runs-on: ${{ matrix.os }}
1212
strategy:
1313
matrix:
14-
python-version: [3.7, 3.8, 3.9, "3.10"]
14+
python-version: [3.9, "3.10", 3.11, 3.12, 3.13]
1515
os: [ubuntu-latest, macOS-latest, windows-latest]
1616

1717
steps:
18-
- uses: actions/checkout@v3
18+
- uses: actions/checkout@v5
1919
- name: Set up Python ${{ matrix.python-version }}
20-
uses: pdm-project/setup-pdm@v2
20+
uses: pdm-project/setup-pdm@v4
2121
with:
2222
python-version: ${{ matrix.python-version }}
2323
- name: Install Dependencies

.github/workflows/release.yml

Lines changed: 4 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -11,13 +11,13 @@ jobs:
1111
runs-on: ubuntu-latest
1212

1313
steps:
14-
- uses: actions/checkout@v3
14+
- uses: actions/checkout@v5
1515
with:
1616
fetch-depth: 0
1717

18-
- uses: actions/setup-node@v3
18+
- uses: actions/setup-node@v5
1919
with:
20-
node-version: 16.x
20+
node-version: lts/*
2121

2222
- run: npx changelogithub
2323
env:
@@ -29,8 +29,7 @@ jobs:
2929

3030
- name: Build artifacts
3131
run: |
32-
python -m pip install build
33-
python -m build
32+
pipx run build
3433
3534
- name: Upload to Pypi
3635
run: |

0 commit comments

Comments
 (0)