Compare commits

...

3 commits

Author SHA1 Message Date
Simon Willison
085f3835ea Same fix for test-coverage.yml
Refs https://github.com/simonw/sqlite-utils/pull/852/changes/ef50b31a21104351445c4856ff3a80b81b52e847
2026-09-01 21:39:41 -07:00
Simon Willison
ef50b31a21
Fix for SpatialLite installation failure
Fable 5.1 explains:

> apt on the runner image has stale package lists. It tried to download libminizip1t64_1.3.dfsg-3.1ubuntu2.1 from security.ubuntu.com and got a 404, because Ubuntu has since published a newer build of that package and pulled the old .deb from the mirror.
2026-09-01 21:35:28 -07:00
Simon Willison
ca5a8be45d Test against 3.15 RCs
See https://simonwillison.net/2026/Sep/1/python-315-rc-2/
2026-09-01 13:42:27 -07:00
2 changed files with 5 additions and 4 deletions

View file

@ -20,7 +20,7 @@ jobs:
cache: pip cache: pip
cache-dependency-path: pyproject.toml cache-dependency-path: pyproject.toml
- name: Install SpatiaLite - name: Install SpatiaLite
run: sudo apt-get install libsqlite3-mod-spatialite run: sudo apt-get update && sudo apt-get install -y libsqlite3-mod-spatialite
- name: Install Python dependencies - name: Install Python dependencies
run: | run: |
python -m pip install --upgrade pip python -m pip install --upgrade pip

View file

@ -10,18 +10,19 @@ jobs:
runs-on: ${{ matrix.os }} runs-on: ${{ matrix.os }}
strategy: strategy:
matrix: matrix:
python-version: ["3.10", "3.11", "3.12", "3.13", "3.14", "3.15-dev"] python-version: ["3.10", "3.11", "3.12", "3.13", "3.14", "3.15"]
numpy: [0, 1] numpy: [0, 1]
os: [ubuntu-latest, macos-latest, windows-latest, macos-14] os: [ubuntu-latest, macos-latest, windows-latest, macos-14]
steps: steps:
- uses: actions/checkout@v7 - uses: actions/checkout@v7
- name: Set up Python ${{ matrix.python-version }} - name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v6 uses: actions/setup-python@v7
with: with:
python-version: ${{ matrix.python-version }} python-version: ${{ matrix.python-version }}
allow-prereleases: true allow-prereleases: true
cache: pip cache: pip
cache-dependency-path: pyproject.toml cache-dependency-path: pyproject.toml
check-latest: true
- name: Install dependencies - name: Install dependencies
run: | run: |
pip install . --group dev pip install . --group dev
@ -30,7 +31,7 @@ jobs:
run: pip install numpy run: pip install numpy
- name: Install SpatiaLite - name: Install SpatiaLite
if: matrix.os == 'ubuntu-latest' if: matrix.os == 'ubuntu-latest'
run: sudo apt-get install libsqlite3-mod-spatialite run: sudo apt-get update && sudo apt-get install -y libsqlite3-mod-spatialite
- name: Build extension for --load-extension test - name: Build extension for --load-extension test
if: matrix.os == 'ubuntu-latest' if: matrix.os == 'ubuntu-latest'
run: |- run: |-