Skip to content

Commit 4350583

Browse files
committed
chore fix CI
1 parent 59aceb5 commit 4350583

File tree

2 files changed

+7
-3
lines changed

2 files changed

+7
-3
lines changed

.github/workflows/ci.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ jobs:
1212
runs-on: ubuntu-latest
1313
strategy:
1414
matrix:
15-
python-version: ["3.10", "3.11", "3.12", "3.13", "3.14"]
15+
python-version: ["3.10", "3.11", "3.12", "3.13"]
1616
node-version: ["22"]
1717
fail-fast: false
1818

README.md

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -128,7 +128,7 @@ async def test_asyncpg_works(pglite_tcp_manager):
128128
conn = await asyncpg.connect(
129129
host=config.tcp_host,
130130
port=config.tcp_port,
131-
user="postgres",
131+
user="postgres",
132132
password="postgres",
133133
database="postgres",
134134
ssl=False,
@@ -257,6 +257,7 @@ with SQLAlchemyPGliteManager(config) as manager:
257257
py-pglite supports both Unix domain sockets (default) and TCP sockets for different use cases:
258258

259259
### Unix Socket Mode (Default)
260+
260261
```python
261262
# Default configuration - uses Unix domain socket for best performance
262263
from py_pglite import PGliteManager
@@ -267,6 +268,7 @@ with PGliteManager() as db:
267268
```
268269

269270
### TCP Socket Mode
271+
270272
```python
271273
from py_pglite import PGliteConfig, PGliteManager
272274

@@ -285,13 +287,15 @@ with PGliteManager(config) as db:
285287
```
286288

287289
**When to use TCP mode:**
290+
288291
- Any TCP-only clients (doesn't support Unix sockets)
289292
- Cloud-native testing environments
290293
- Docker containers with network isolation
291294
- Testing network-based database tools
292295
- **Required for asyncpg**: asyncpg only works in TCP mode
293296

294297
**Important notes:**
298+
295299
- PGlite Socket supports only **one active connection** at a time
296300
- SSL is not supported - always use `sslmode=disable`
297301
- Unix sockets are faster for local testing (default)
@@ -324,7 +328,7 @@ with PGliteManager(config) as manager:
324328
host=config.tcp_host,
325329
port=config.tcp_port,
326330
user="postgres",
327-
password="postgres",
331+
password="postgres",
328332
database="postgres",
329333
ssl=False,
330334
server_settings={} # Required for PGlite compatibility

0 commit comments

Comments
 (0)