Compare commits

..

6 commits

Author SHA1 Message Date
Simon Willison
bcf8b564ee Only run uv smoke test on Ubuntu
Refs https://github.com/simonw/sqlite-utils/pull/843#issuecomment-5287666426
2026-08-13 16:46:31 -07:00
Simon Willison
829aa1438c Remove from typing_extensions import Self, refs #842 2026-08-13 16:39:47 -07:00
Simon Willison
d7b39f7393 install uv first 2026-08-13 16:39:38 -07:00
Simon Willison
8541829c2d Revert "Remove from typing_extensions import Self, refs #842"
This reverts commit cf6a12568b.
2026-08-13 16:39:19 -07:00
Simon Willison
cf6a12568b Remove from typing_extensions import Self, refs #842 2026-08-13 16:38:58 -07:00
Simon Willison
c9d8a12a7e Test that should fail
Refs https://github.com/simonw/sqlite-utils/issues/842#issuecomment-5287583061
2026-08-13 16:37:06 -07:00
5 changed files with 6 additions and 17 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 update && sudo apt-get install -y libsqlite3-mod-spatialite run: sudo apt-get install 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,19 +10,18 @@ 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"] python-version: ["3.10", "3.11", "3.12", "3.13", "3.14", "3.15-dev"]
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@v7 uses: actions/setup-python@v6
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
@ -31,7 +30,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 update && sudo apt-get install -y libsqlite3-mod-spatialite run: sudo apt-get install 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: |-

View file

@ -2,12 +2,9 @@
@default: test lint @default: test lint
# Run pytest with supplied options # Run pytest with supplied options
@test *options: test-no-dev-dependencies @test *options:
uv run pytest {{options}} uv run pytest {{options}}
@test-no-dev-dependencies:
uv run --isolated --no-default-groups sqlite-utils --help > /dev/null
@run *options: @run *options:
uv run -- {{options}} uv run -- {{options}}

View file

@ -4,13 +4,6 @@
Changelog Changelog
=========== ===========
.. _v4_2_1:
4.2.1 (2026-08-13)
------------------
- Fix for ``No module named 'typing_extensions'`` crashing bug accidentally shipped in version 4.2. (:issue:`842`)
.. _v4_2: .. _v4_2:
4.2 (2026-08-13) 4.2 (2026-08-13)

View file

@ -1,6 +1,6 @@
[project] [project]
name = "sqlite-utils" name = "sqlite-utils"
version = "4.2.1" version = "4.2"
description = "CLI tool and Python library for manipulating SQLite databases" description = "CLI tool and Python library for manipulating SQLite databases"
readme = { file = "README.md", content-type = "text/markdown" } readme = { file = "README.md", content-type = "text/markdown" }
authors = [ authors = [