Skip to content

Commit 273068a

Browse files
fix: end support of python 3.7 (#279)
1 parent 11cf9b1 commit 273068a

File tree

3 files changed

+21
-22
lines changed

3 files changed

+21
-22
lines changed

.github/workflows/ci.yml

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -3,17 +3,16 @@ name: Python CI
33
on:
44
push:
55
branches:
6-
- 'main'
6+
- "main"
77
pull_request:
88
types: [opened, synchronize, reopened]
99

1010
jobs:
1111
build:
12-
1312
runs-on: ubuntu-latest
1413
strategy:
1514
matrix:
16-
python-version: ["3.7", "3.8", "3.9", "3.10", "3.11"]
15+
python-version: ["3.9", "3.10", "3.11", "3.12", "3.13"]
1716

1817
steps:
1918
- uses: actions/checkout@v3

.github/workflows/pypi-push.yml

Lines changed: 17 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ jobs:
1010
runs-on: ubuntu-latest
1111
strategy:
1212
matrix:
13-
python-version: ["3.7", "3.8", "3.9", "3.10", "3.11"]
13+
python-version: ["3.9", "3.10", "3.11", "3.12", "3.13"]
1414

1515
steps:
1616
- uses: actions/checkout@v3
@@ -31,19 +31,19 @@ jobs:
3131
needs: build
3232
runs-on: ubuntu-latest
3333
steps:
34-
- uses: actions/checkout@v3
35-
- name: Set up Python
36-
uses: actions/setup-python@v3
37-
with:
38-
python-version: '3.7'
39-
- name: Install dependencies
40-
run: |
41-
python -m pip install --upgrade pip
42-
pip install build
43-
- name: Build package
44-
run: python -m build
45-
- name: Publish package
46-
uses: pypa/gh-action-pypi-publish@27b31702a0e7fc50959f5ad993c78deac1bdfc29
47-
with:
48-
user: __token__
49-
password: ${{ secrets.PYPI_API_TOKEN }}
34+
- uses: actions/checkout@v3
35+
- name: Set up Python
36+
uses: actions/setup-python@v3
37+
with:
38+
python-version: "3.13"
39+
- name: Install dependencies
40+
run: |
41+
python -m pip install --upgrade pip
42+
pip install build
43+
- name: Build package
44+
run: python -m build
45+
- name: Publish package
46+
uses: pypa/gh-action-pypi-publish@27b31702a0e7fc50959f5ad993c78deac1bdfc29
47+
with:
48+
user: __token__
49+
password: ${{ secrets.PYPI_API_TOKEN }}

.github/workflows/ruff.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ jobs:
88
- name: Set up Python 3.11
99
uses: actions/setup-python@v3
1010
with:
11-
python-version: 3.11
11+
python-version: 3.13
1212
- name: Install dependencies
1313
run: |
1414
python -m pip install .[test]
@@ -17,4 +17,4 @@ jobs:
1717
- name: Validate formatting with Ruff
1818
uses: chartboost/ruff-action@v1
1919
with:
20-
args: 'format --check'
20+
args: "format --check"

0 commit comments

Comments
 (0)