rsqlx 0.9.1__tar.gz
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- rsqlx-0.9.1/.github/workflows/build.yml +271 -0
- rsqlx-0.9.1/.github/workflows/tests.yml +147 -0
- rsqlx-0.9.1/.gitignore +12 -0
- rsqlx-0.9.1/Cargo.lock +2298 -0
- rsqlx-0.9.1/Cargo.toml +40 -0
- rsqlx-0.9.1/DEVELOPMENT.md +1055 -0
- rsqlx-0.9.1/LICENSE-APACHE +202 -0
- rsqlx-0.9.1/LICENSE-MIT +8 -0
- rsqlx-0.9.1/PKG-INFO +452 -0
- rsqlx-0.9.1/README.md +428 -0
- rsqlx-0.9.1/README_CN.md +467 -0
- rsqlx-0.9.1/pyproject.toml +33 -0
- rsqlx-0.9.1/src/backend.rs +1103 -0
- rsqlx-0.9.1/src/error.rs +44 -0
- rsqlx-0.9.1/src/lib.rs +81 -0
- rsqlx-0.9.1/src/params.rs +246 -0
- rsqlx-0.9.1/src/pool.rs +370 -0
- rsqlx-0.9.1/src/runtime.rs +68 -0
- rsqlx-0.9.1/src/transaction.rs +159 -0
- rsqlx-0.9.1/tests/bench_pg_overhead.py +319 -0
- rsqlx-0.9.1/tests/bench_pymysql_vs_rsqlx.py +455 -0
- rsqlx-0.9.1/tests/test_api_friendly.py +620 -0
- rsqlx-0.9.1/tests/test_sqlite.py +364 -0
- rsqlx-0.9.1/tests/verify_mysql.py +383 -0
- rsqlx-0.9.1/tests/verify_pg.py +405 -0
- rsqlx-0.9.1/uv.lock +8 -0
|
@@ -0,0 +1,271 @@
|
|
|
1
|
+
name: Build
|
|
2
|
+
|
|
3
|
+
on:
|
|
4
|
+
push:
|
|
5
|
+
branches: [main, master]
|
|
6
|
+
tags: ["v*"]
|
|
7
|
+
pull_request:
|
|
8
|
+
branches: [main, master]
|
|
9
|
+
workflow_dispatch:
|
|
10
|
+
|
|
11
|
+
jobs:
|
|
12
|
+
# ----- build wheels for Windows / macOS / Linux ---------------------------
|
|
13
|
+
build-wheels:
|
|
14
|
+
name: Build ${{ matrix.os }} / CPython ${{ matrix.python }} / ${{ matrix.target }}
|
|
15
|
+
runs-on: ${{ matrix.os }}
|
|
16
|
+
container: ${{ matrix.container }}
|
|
17
|
+
strategy:
|
|
18
|
+
fail-fast: false
|
|
19
|
+
matrix:
|
|
20
|
+
include:
|
|
21
|
+
# ── Linux x86_64 glibc (native in manylinux_2_28 container) ──
|
|
22
|
+
- os: ubuntu-22.04
|
|
23
|
+
container: quay.io/pypa/manylinux_2_28_x86_64
|
|
24
|
+
python: "3.9"
|
|
25
|
+
target: x86_64-unknown-linux-gnu
|
|
26
|
+
- os: ubuntu-22.04
|
|
27
|
+
container: quay.io/pypa/manylinux_2_28_x86_64
|
|
28
|
+
python: "3.10"
|
|
29
|
+
target: x86_64-unknown-linux-gnu
|
|
30
|
+
- os: ubuntu-22.04
|
|
31
|
+
container: quay.io/pypa/manylinux_2_28_x86_64
|
|
32
|
+
python: "3.11"
|
|
33
|
+
target: x86_64-unknown-linux-gnu
|
|
34
|
+
- os: ubuntu-22.04
|
|
35
|
+
container: quay.io/pypa/manylinux_2_28_x86_64
|
|
36
|
+
python: "3.12"
|
|
37
|
+
target: x86_64-unknown-linux-gnu
|
|
38
|
+
- os: ubuntu-22.04
|
|
39
|
+
container: quay.io/pypa/manylinux_2_28_x86_64
|
|
40
|
+
python: "3.13"
|
|
41
|
+
target: x86_64-unknown-linux-gnu
|
|
42
|
+
# ── Linux aarch64 glibc (native arm64 runner + aarch64 manylinux container) ──
|
|
43
|
+
- os: ubuntu-24.04-arm
|
|
44
|
+
container: quay.io/pypa/manylinux_2_28_aarch64
|
|
45
|
+
python: "3.9"
|
|
46
|
+
target: aarch64-unknown-linux-gnu
|
|
47
|
+
- os: ubuntu-24.04-arm
|
|
48
|
+
container: quay.io/pypa/manylinux_2_28_aarch64
|
|
49
|
+
python: "3.10"
|
|
50
|
+
target: aarch64-unknown-linux-gnu
|
|
51
|
+
- os: ubuntu-24.04-arm
|
|
52
|
+
container: quay.io/pypa/manylinux_2_28_aarch64
|
|
53
|
+
python: "3.11"
|
|
54
|
+
target: aarch64-unknown-linux-gnu
|
|
55
|
+
- os: ubuntu-24.04-arm
|
|
56
|
+
container: quay.io/pypa/manylinux_2_28_aarch64
|
|
57
|
+
python: "3.12"
|
|
58
|
+
target: aarch64-unknown-linux-gnu
|
|
59
|
+
- os: ubuntu-24.04-arm
|
|
60
|
+
container: quay.io/pypa/manylinux_2_28_aarch64
|
|
61
|
+
python: "3.13"
|
|
62
|
+
target: aarch64-unknown-linux-gnu
|
|
63
|
+
# ── Linux x86_64 musllinux (Alpine-compatible, musl libc) ──
|
|
64
|
+
- os: ubuntu-22.04
|
|
65
|
+
container: quay.io/pypa/musllinux_1_2_x86_64
|
|
66
|
+
python: "3.9"
|
|
67
|
+
target: x86_64-unknown-linux-musl
|
|
68
|
+
- os: ubuntu-22.04
|
|
69
|
+
container: quay.io/pypa/musllinux_1_2_x86_64
|
|
70
|
+
python: "3.10"
|
|
71
|
+
target: x86_64-unknown-linux-musl
|
|
72
|
+
- os: ubuntu-22.04
|
|
73
|
+
container: quay.io/pypa/musllinux_1_2_x86_64
|
|
74
|
+
python: "3.11"
|
|
75
|
+
target: x86_64-unknown-linux-musl
|
|
76
|
+
- os: ubuntu-22.04
|
|
77
|
+
container: quay.io/pypa/musllinux_1_2_x86_64
|
|
78
|
+
python: "3.12"
|
|
79
|
+
target: x86_64-unknown-linux-musl
|
|
80
|
+
- os: ubuntu-22.04
|
|
81
|
+
container: quay.io/pypa/musllinux_1_2_x86_64
|
|
82
|
+
python: "3.13"
|
|
83
|
+
target: x86_64-unknown-linux-musl
|
|
84
|
+
# ── Linux aarch64 musllinux (native arm64 runner, built with zig) ──
|
|
85
|
+
# No Alpine container here: GH Actions JS steps (checkout/setup-python/
|
|
86
|
+
# upload-artifact) cannot run inside an Alpine container on arm64 runners.
|
|
87
|
+
# maturin --zig links against musl natively on the arm64 runner instead.
|
|
88
|
+
- os: ubuntu-24.04-arm
|
|
89
|
+
python: "3.9"
|
|
90
|
+
target: aarch64-unknown-linux-musl
|
|
91
|
+
- os: ubuntu-24.04-arm
|
|
92
|
+
python: "3.10"
|
|
93
|
+
target: aarch64-unknown-linux-musl
|
|
94
|
+
- os: ubuntu-24.04-arm
|
|
95
|
+
python: "3.11"
|
|
96
|
+
target: aarch64-unknown-linux-musl
|
|
97
|
+
- os: ubuntu-24.04-arm
|
|
98
|
+
python: "3.12"
|
|
99
|
+
target: aarch64-unknown-linux-musl
|
|
100
|
+
- os: ubuntu-24.04-arm
|
|
101
|
+
python: "3.13"
|
|
102
|
+
target: aarch64-unknown-linux-musl
|
|
103
|
+
# ── Windows x86_64 (no container) ──
|
|
104
|
+
- os: windows-latest
|
|
105
|
+
python: "3.9"
|
|
106
|
+
target: x86_64-pc-windows-msvc
|
|
107
|
+
- os: windows-latest
|
|
108
|
+
python: "3.10"
|
|
109
|
+
target: x86_64-pc-windows-msvc
|
|
110
|
+
- os: windows-latest
|
|
111
|
+
python: "3.11"
|
|
112
|
+
target: x86_64-pc-windows-msvc
|
|
113
|
+
- os: windows-latest
|
|
114
|
+
python: "3.12"
|
|
115
|
+
target: x86_64-pc-windows-msvc
|
|
116
|
+
- os: windows-latest
|
|
117
|
+
python: "3.13"
|
|
118
|
+
target: x86_64-pc-windows-msvc
|
|
119
|
+
# ── macOS x86_64 Intel (no container) ──
|
|
120
|
+
# - os: macos-13
|
|
121
|
+
# python: "3.9"
|
|
122
|
+
# target: x86_64-apple-darwin
|
|
123
|
+
# - os: macos-13
|
|
124
|
+
# python: "3.10"
|
|
125
|
+
# target: x86_64-apple-darwin
|
|
126
|
+
# - os: macos-13
|
|
127
|
+
# python: "3.11"
|
|
128
|
+
# target: x86_64-apple-darwin
|
|
129
|
+
# - os: macos-13
|
|
130
|
+
# python: "3.12"
|
|
131
|
+
# target: x86_64-apple-darwin
|
|
132
|
+
# - os: macos-13
|
|
133
|
+
# python: "3.13"
|
|
134
|
+
# target: x86_64-apple-darwin
|
|
135
|
+
# ── macOS aarch64 Apple Silicon (no container) ──
|
|
136
|
+
- os: macos-14
|
|
137
|
+
python: "3.9"
|
|
138
|
+
target: aarch64-apple-darwin
|
|
139
|
+
- os: macos-14
|
|
140
|
+
python: "3.10"
|
|
141
|
+
target: aarch64-apple-darwin
|
|
142
|
+
- os: macos-14
|
|
143
|
+
python: "3.11"
|
|
144
|
+
target: aarch64-apple-darwin
|
|
145
|
+
- os: macos-14
|
|
146
|
+
python: "3.12"
|
|
147
|
+
target: aarch64-apple-darwin
|
|
148
|
+
- os: macos-14
|
|
149
|
+
python: "3.13"
|
|
150
|
+
target: aarch64-apple-darwin
|
|
151
|
+
|
|
152
|
+
steps:
|
|
153
|
+
- uses: actions/checkout@v4
|
|
154
|
+
|
|
155
|
+
- uses: dtolnay/rust-toolchain@stable
|
|
156
|
+
|
|
157
|
+
- name: Install Rust target
|
|
158
|
+
run: rustup target add ${{ matrix.target }}
|
|
159
|
+
|
|
160
|
+
# Container rows (manylinux + x86_64 musllinux): use the pre-installed
|
|
161
|
+
# Python inside the image. No-container rows (Windows/macOS/aarch64 musllinux):
|
|
162
|
+
# use the setup-python action.
|
|
163
|
+
- name: Set up Python (Linux container)
|
|
164
|
+
if: ${{ matrix.container }}
|
|
165
|
+
shell: bash
|
|
166
|
+
run: |
|
|
167
|
+
PY_VER="${{ matrix.python }}"
|
|
168
|
+
PY_NODOT="${PY_VER//.}"
|
|
169
|
+
echo "PYTHON=/opt/python/cp${PY_NODOT}-cp${PY_NODOT}/bin/python" >> "$GITHUB_ENV"
|
|
170
|
+
|
|
171
|
+
- uses: actions/setup-python@v5
|
|
172
|
+
if: ${{ !matrix.container }}
|
|
173
|
+
with:
|
|
174
|
+
python-version: ${{ matrix.python }}
|
|
175
|
+
|
|
176
|
+
- name: Install maturin
|
|
177
|
+
shell: bash
|
|
178
|
+
run: |
|
|
179
|
+
# maturin[zig] provides the `zig` helper maturin needs for `--zig` musl builds.
|
|
180
|
+
if [ -n "${PYTHON:-}" ]; then
|
|
181
|
+
$PYTHON -m pip install --upgrade pip
|
|
182
|
+
$PYTHON -m pip install "maturin[zig]"
|
|
183
|
+
else
|
|
184
|
+
python -m pip install --upgrade pip
|
|
185
|
+
python -m pip install "maturin[zig]"
|
|
186
|
+
fi
|
|
187
|
+
|
|
188
|
+
- name: Build wheel
|
|
189
|
+
shell: bash
|
|
190
|
+
run: |
|
|
191
|
+
BASE_ARGS="--release --target ${{ matrix.target }} --out dist --strip"
|
|
192
|
+
# Containers: invoke maturin via the image Python (its bin dir is NOT on PATH).
|
|
193
|
+
# No-container rows: invoke via `python -m maturin` (setup-python python, reliable).
|
|
194
|
+
if [ -n "${PYTHON:-}" ]; then
|
|
195
|
+
BASE_ARGS="$BASE_ARGS -i $PYTHON"
|
|
196
|
+
MATURIN="$PYTHON -m maturin"
|
|
197
|
+
else
|
|
198
|
+
MATURIN="python -m maturin"
|
|
199
|
+
fi
|
|
200
|
+
# manylinux glibc containers: native build, tag with the SAME manylinux
|
|
201
|
+
# version as the container (auditwheel rejects re-tagging to an OLDER glibc).
|
|
202
|
+
# musllinux: x86_64 builds inside the Alpine container on x64; aarch64 builds
|
|
203
|
+
# natively on the arm64 runner via `maturin --zig` (no Alpine container, since
|
|
204
|
+
# GH Actions JS steps can't run in an Alpine container on arm64).
|
|
205
|
+
# Windows / macOS: native build, no compatibility flag needed.
|
|
206
|
+
case "${{ matrix.target }}" in
|
|
207
|
+
*linux-gnu)
|
|
208
|
+
$MATURIN build $BASE_ARGS --compatibility manylinux_2_28
|
|
209
|
+
;;
|
|
210
|
+
*linux-musl)
|
|
211
|
+
if [ -n "${PYTHON:-}" ]; then
|
|
212
|
+
$MATURIN build $BASE_ARGS --compatibility musllinux_1_2
|
|
213
|
+
else
|
|
214
|
+
# No-container musl build (aarch64 on arm64 runner): maturin's
|
|
215
|
+
# interpreter auto-discovery fails here, so pin the setup-python
|
|
216
|
+
# interpreter explicitly with -i. maturin needs a VERSIONED name
|
|
217
|
+
# (python3.13) to infer the ABI — the bare 'python' it skips.
|
|
218
|
+
PY_BIN="$(python -c 'import sys; print(sys.executable)')"
|
|
219
|
+
PY_DIR="$(dirname "$PY_BIN")"
|
|
220
|
+
VER_INT="python${{ matrix.python }}"
|
|
221
|
+
if [ ! -x "$PY_DIR/$VER_INT" ]; then
|
|
222
|
+
ln -sf "$PY_BIN" "$PY_DIR/$VER_INT"
|
|
223
|
+
fi
|
|
224
|
+
$MATURIN build $BASE_ARGS -i "$PY_DIR/$VER_INT" --zig --compatibility musllinux_1_2
|
|
225
|
+
fi
|
|
226
|
+
;;
|
|
227
|
+
*)
|
|
228
|
+
$MATURIN build $BASE_ARGS
|
|
229
|
+
;;
|
|
230
|
+
esac
|
|
231
|
+
|
|
232
|
+
- name: Upload wheel
|
|
233
|
+
uses: actions/upload-artifact@v4
|
|
234
|
+
with:
|
|
235
|
+
name: wheel-${{ matrix.os }}-${{ matrix.python }}-${{ matrix.target }}
|
|
236
|
+
path: dist/*.whl
|
|
237
|
+
|
|
238
|
+
# ----- sdist ----------------------------------------------------------------
|
|
239
|
+
build-sdist:
|
|
240
|
+
name: Build sdist
|
|
241
|
+
runs-on: ubuntu-22.04
|
|
242
|
+
container: quay.io/pypa/manylinux_2_28_x86_64
|
|
243
|
+
steps:
|
|
244
|
+
- uses: actions/checkout@v4
|
|
245
|
+
- uses: dtolnay/rust-toolchain@stable
|
|
246
|
+
- name: Build sdist
|
|
247
|
+
shell: bash
|
|
248
|
+
run: |
|
|
249
|
+
/opt/python/cp313-cp313/bin/python -m pip install --upgrade pip
|
|
250
|
+
/opt/python/cp313-cp313/bin/python -m pip install maturin
|
|
251
|
+
/opt/python/cp313-cp313/bin/python -m maturin sdist --out dist
|
|
252
|
+
- uses: actions/upload-artifact@v4
|
|
253
|
+
with:
|
|
254
|
+
name: sdist
|
|
255
|
+
path: dist/*
|
|
256
|
+
|
|
257
|
+
# ----- publish on tag -------------------------------------------------------
|
|
258
|
+
publish:
|
|
259
|
+
name: Publish to PyPI
|
|
260
|
+
needs: [build-wheels, build-sdist]
|
|
261
|
+
if: startsWith(github.ref, 'refs/tags/v')
|
|
262
|
+
runs-on: ubuntu-22.04
|
|
263
|
+
environment: pypi
|
|
264
|
+
permissions:
|
|
265
|
+
id-token: write
|
|
266
|
+
steps:
|
|
267
|
+
- uses: actions/download-artifact@v4
|
|
268
|
+
with:
|
|
269
|
+
path: dist
|
|
270
|
+
merge-multiple: true
|
|
271
|
+
- uses: pypa/gh-action-pypi-publish@release/v1
|
|
@@ -0,0 +1,147 @@
|
|
|
1
|
+
name: Tests
|
|
2
|
+
|
|
3
|
+
on:
|
|
4
|
+
push:
|
|
5
|
+
branches: [main, master]
|
|
6
|
+
pull_request:
|
|
7
|
+
branches: [main, master]
|
|
8
|
+
|
|
9
|
+
jobs:
|
|
10
|
+
# ----- Linux: full test suite (SQLite + PostgreSQL + MySQL via Docker) ------
|
|
11
|
+
test-linux:
|
|
12
|
+
name: Test Linux / CPython ${{ matrix.python }}
|
|
13
|
+
runs-on: ubuntu-22.04
|
|
14
|
+
strategy:
|
|
15
|
+
fail-fast: false
|
|
16
|
+
matrix:
|
|
17
|
+
python: ["3.9", "3.11", "3.13"]
|
|
18
|
+
|
|
19
|
+
services:
|
|
20
|
+
postgres:
|
|
21
|
+
image: postgres:18
|
|
22
|
+
env:
|
|
23
|
+
POSTGRES_USER: postgres
|
|
24
|
+
POSTGRES_DB: postgres
|
|
25
|
+
POSTGRES_HOST_AUTH_METHOD: trust
|
|
26
|
+
ports:
|
|
27
|
+
- 5432:5432
|
|
28
|
+
options: >-
|
|
29
|
+
--health-cmd "pg_isready -U postgres"
|
|
30
|
+
--health-interval 5s
|
|
31
|
+
--health-timeout 5s
|
|
32
|
+
--health-retries 5
|
|
33
|
+
|
|
34
|
+
mysql:
|
|
35
|
+
image: mysql:8
|
|
36
|
+
env:
|
|
37
|
+
MYSQL_ROOT_PASSWORD: root
|
|
38
|
+
MYSQL_DATABASE: testdb
|
|
39
|
+
ports:
|
|
40
|
+
- 3306:3306
|
|
41
|
+
options: >-
|
|
42
|
+
--health-cmd "mysqladmin ping -h 127.0.0.1 --silent"
|
|
43
|
+
--health-interval 5s
|
|
44
|
+
--health-timeout 5s
|
|
45
|
+
--health-retries 10
|
|
46
|
+
|
|
47
|
+
steps:
|
|
48
|
+
- uses: actions/checkout@v4
|
|
49
|
+
|
|
50
|
+
- uses: dtolnay/rust-toolchain@stable
|
|
51
|
+
|
|
52
|
+
- uses: actions/setup-python@v5
|
|
53
|
+
with:
|
|
54
|
+
python-version: ${{ matrix.python }}
|
|
55
|
+
|
|
56
|
+
- name: Create venv & install deps
|
|
57
|
+
run: |
|
|
58
|
+
python -m venv .venv
|
|
59
|
+
source .venv/bin/activate
|
|
60
|
+
python -m pip install --upgrade pip
|
|
61
|
+
pip install maturin pytest psycopg2-binary pymysql
|
|
62
|
+
|
|
63
|
+
- name: Build and install rsqlx (debug for speed)
|
|
64
|
+
run: |
|
|
65
|
+
source .venv/bin/activate
|
|
66
|
+
maturin develop
|
|
67
|
+
|
|
68
|
+
- name: Run SQLite tests
|
|
69
|
+
run: |
|
|
70
|
+
source .venv/bin/activate
|
|
71
|
+
python -m pytest tests/test_sqlite.py -v
|
|
72
|
+
|
|
73
|
+
- name: Run PostgreSQL cross-validation
|
|
74
|
+
env:
|
|
75
|
+
RSQLX_TEST_PG_URL: postgres://postgres@127.0.0.1:5432/postgres
|
|
76
|
+
run: |
|
|
77
|
+
source .venv/bin/activate
|
|
78
|
+
python tests/verify_pg.py
|
|
79
|
+
|
|
80
|
+
- name: Run MySQL cross-validation
|
|
81
|
+
env:
|
|
82
|
+
RSQLX_TEST_MYSQL_URL: mysql://root:root@127.0.0.1:3306/testdb
|
|
83
|
+
run: |
|
|
84
|
+
source .venv/bin/activate
|
|
85
|
+
python tests/verify_mysql.py
|
|
86
|
+
|
|
87
|
+
# ----- Windows / macOS: SQLite-only (no Docker support) ----------------------
|
|
88
|
+
test-other:
|
|
89
|
+
name: Test ${{ matrix.os }} / CPython ${{ matrix.python }}
|
|
90
|
+
runs-on: ${{ matrix.os }}
|
|
91
|
+
strategy:
|
|
92
|
+
fail-fast: false
|
|
93
|
+
matrix:
|
|
94
|
+
include:
|
|
95
|
+
- os: windows-latest
|
|
96
|
+
python: "3.9"
|
|
97
|
+
- os: windows-latest
|
|
98
|
+
python: "3.11"
|
|
99
|
+
- os: windows-latest
|
|
100
|
+
python: "3.13"
|
|
101
|
+
- os: macos-14
|
|
102
|
+
python: "3.9"
|
|
103
|
+
- os: macos-14
|
|
104
|
+
python: "3.11"
|
|
105
|
+
- os: macos-14
|
|
106
|
+
python: "3.13"
|
|
107
|
+
|
|
108
|
+
steps:
|
|
109
|
+
- uses: actions/checkout@v4
|
|
110
|
+
|
|
111
|
+
- uses: dtolnay/rust-toolchain@stable
|
|
112
|
+
|
|
113
|
+
- uses: actions/setup-python@v5
|
|
114
|
+
with:
|
|
115
|
+
python-version: ${{ matrix.python }}
|
|
116
|
+
|
|
117
|
+
- name: Create venv & install deps
|
|
118
|
+
shell: bash
|
|
119
|
+
run: |
|
|
120
|
+
python -m venv .venv
|
|
121
|
+
if [ "$RUNNER_OS" = "Windows" ]; then
|
|
122
|
+
source .venv/Scripts/activate
|
|
123
|
+
else
|
|
124
|
+
source .venv/bin/activate
|
|
125
|
+
fi
|
|
126
|
+
python -m pip install --upgrade pip
|
|
127
|
+
pip install maturin pytest
|
|
128
|
+
|
|
129
|
+
- name: Build and install rsqlx (debug for speed)
|
|
130
|
+
shell: bash
|
|
131
|
+
run: |
|
|
132
|
+
if [ "$RUNNER_OS" = "Windows" ]; then
|
|
133
|
+
source .venv/Scripts/activate
|
|
134
|
+
else
|
|
135
|
+
source .venv/bin/activate
|
|
136
|
+
fi
|
|
137
|
+
maturin develop
|
|
138
|
+
|
|
139
|
+
- name: Run SQLite tests
|
|
140
|
+
shell: bash
|
|
141
|
+
run: |
|
|
142
|
+
if [ "$RUNNER_OS" = "Windows" ]; then
|
|
143
|
+
source .venv/Scripts/activate
|
|
144
|
+
else
|
|
145
|
+
source .venv/bin/activate
|
|
146
|
+
fi
|
|
147
|
+
python -m pytest tests/test_sqlite.py -v
|