Skip to content

Commit 6e8547e

Browse files
committed
Update Actions, Python >=3.10, refs #688
1 parent fe3a60d commit 6e8547e

File tree

5 files changed

+14
-46
lines changed

5 files changed

+14
-46
lines changed

.github/workflows/publish.yml

Lines changed: 5 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -9,21 +9,16 @@ jobs:
99
runs-on: ${{ matrix.os }}
1010
strategy:
1111
matrix:
12-
python-version: ["3.8", "3.9", "3.10", "3.11", "3.12"]
12+
python-version: ["3.10", "3.11", "3.12", "3.13", "3.14"]
1313
os: [ubuntu-latest, windows-latest, macos-latest]
1414
steps:
1515
- uses: actions/checkout@v4
1616
- name: Set up Python ${{ matrix.python-version }}
1717
uses: actions/setup-python@v5
1818
with:
1919
python-version: ${{ matrix.python-version }}
20-
- uses: actions/cache@v4
21-
name: Configure pip caching
22-
with:
23-
path: ~/.cache/pip
24-
key: ${{ runner.os }}-pip-${{ hashFiles('**/setup.py') }}
25-
restore-keys: |
26-
${{ runner.os }}-pip-
20+
cache: pip
21+
cache-dependency-path: setup.py
2722
- name: Install dependencies
2823
run: |
2924
pip install -e '.[test]'
@@ -39,13 +34,8 @@ jobs:
3934
uses: actions/setup-python@v5
4035
with:
4136
python-version: '3.12'
42-
- uses: actions/cache@v4
43-
name: Configure pip caching
44-
with:
45-
path: ~/.cache/pip
46-
key: ${{ runner.os }}-publish-pip-${{ hashFiles('**/setup.py') }}
47-
restore-keys: |
48-
${{ runner.os }}-publish-pip-
37+
cache: pip
38+
cache-dependency-path: setup.py
4939
- name: Install dependencies
5040
run: |
5141
pip install setuptools wheel twine

.github/workflows/spellcheck.yml

Lines changed: 2 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -11,13 +11,8 @@ jobs:
1111
uses: actions/setup-python@v5
1212
with:
1313
python-version: "3.12"
14-
- uses: actions/cache@v4
15-
name: Configure pip caching
16-
with:
17-
path: ~/.cache/pip
18-
key: ${{ runner.os }}-pip-${{ hashFiles('**/setup.py') }}
19-
restore-keys: |
20-
${{ runner.os }}-pip-
14+
cache: pip
15+
cache-dependency-path: setup.py
2116
- name: Install dependencies
2217
run: |
2318
pip install -e '.[docs]'

.github/workflows/test-coverage.yml

Lines changed: 2 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -17,13 +17,8 @@ jobs:
1717
uses: actions/setup-python@v5
1818
with:
1919
python-version: "3.11"
20-
- uses: actions/cache@v4
21-
name: Configure pip caching
22-
with:
23-
path: ~/.cache/pip
24-
key: ${{ runner.os }}-pip-${{ hashFiles('**/setup.py') }}
25-
restore-keys: |
26-
${{ runner.os }}-pip-
20+
cache: pip
21+
cache-dependency-path: setup.py
2722
- name: Install SpatiaLite
2823
run: sudo apt-get install libsqlite3-mod-spatialite
2924
- name: Install Python dependencies

.github/workflows/test.yml

Lines changed: 3 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -10,15 +10,10 @@ jobs:
1010
runs-on: ${{ matrix.os }}
1111
strategy:
1212
matrix:
13-
python-version: ["3.8", "3.9", "3.10", "3.11", "3.12", "3.13"]
13+
python-version: ["3.10", "3.11", "3.12", "3.13", "3.14"]
1414
numpy: [0, 1]
1515
os: [ubuntu-latest, macos-latest, windows-latest, macos-14]
16-
# Skip 3.8 and 3.9 on macos-14 - it only has 3.10+
1716
exclude:
18-
- python-version: "3.8"
19-
os: macos-14
20-
- python-version: "3.9"
21-
os: macos-14
2217
- python-version: "3.13"
2318
numpy: 1
2419
steps:
@@ -28,13 +23,8 @@ jobs:
2823
with:
2924
python-version: ${{ matrix.python-version }}
3025
allow-prereleases: true
31-
- uses: actions/cache@v4
32-
name: Configure pip caching
33-
with:
34-
path: ~/.cache/pip
35-
key: ${{ runner.os }}-pip-${{ hashFiles('**/setup.py') }}
36-
restore-keys: |
37-
${{ runner.os }}-pip-
26+
cache: pip
27+
cache-dependency-path: setup.py
3828
- name: Install dependencies
3929
run: |
4030
pip install -e '.[test,mypy,flake8]'

setup.py

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -65,20 +65,18 @@ def get_long_description():
6565
"Issues": "https://github.com/simonw/sqlite-utils/issues",
6666
"CI": "https://github.com/simonw/sqlite-utils/actions",
6767
},
68-
python_requires=">=3.8",
68+
python_requires=">=3.10",
6969
classifiers=[
7070
"Development Status :: 5 - Production/Stable",
7171
"Intended Audience :: Developers",
7272
"Intended Audience :: Science/Research",
7373
"Intended Audience :: End Users/Desktop",
7474
"Topic :: Database",
75-
"License :: OSI Approved :: Apache Software License",
76-
"Programming Language :: Python :: 3.8",
77-
"Programming Language :: Python :: 3.9",
7875
"Programming Language :: Python :: 3.10",
7976
"Programming Language :: Python :: 3.11",
8077
"Programming Language :: Python :: 3.12",
8178
"Programming Language :: Python :: 3.13",
79+
"Programming Language :: Python :: 3.14",
8280
],
8381
# Needed to bundle py.typed so mypy can see it:
8482
zip_safe=False,

0 commit comments

Comments
 (0)