Commit graph

2,202 commits

Author SHA1 Message Date
Simon Willison
1d68d86e04 Removed broken refs to Glitch, closes #2503 2025-11-05 12:26:43 -08:00
Simon Willison
0b687051de Replace Glitch with Codespaces, closes #2488 2025-11-05 12:26:35 -08:00
Simon Willison
6a141467f9 Release 0.65.2 0.65.2
Refs #2429, #2511

Closes #2579
2025-11-05 10:19:03 -08:00
Simon Willison
c434ce03f9 Switch from pkg_resources to importlib.metadata
Refs #2057, refs 852f5014
2025-11-05 09:50:52 -08:00
Simon Willison
7d28ca1445 Fix datetime.utcnow deprecation warning
Refs 261fc8d8
2025-11-05 09:50:21 -08:00
Simon Willison
f626983fdb Fix BeautifulSoup deprecation warnings in tests
Fixes findNext → find_next and nextSibling → next_sibling

Refs 9becb04e
2025-11-05 09:49:10 -08:00
Simon Willison
9becb04e1b Fix for BeautifulSoup findAll warnings 2025-11-05 09:39:49 -08:00
Simon Willison
13c338c8f1 Get publish cloudrun working with latest Cloud Run (#2581)
Refs:
- #2511

Filter out bad services, refs:
- https://github.com/simonw/datasette/pull/2581#issuecomment-3492243400
2025-11-05 09:33:47 -08:00
Simon Willison
98d4037d03 Add 3.14 to metadata 2025-11-04 18:49:26 -08:00
Simon Willison
e1520913f3 Don't run CI against Python 3.9
The tests are failing and I don't want to spend time figuring out whay.

I tried running Datasette itself with python3.9 locally and it loaded
OK, so I think 3.9 should still work even if the tests do not pass.
2025-11-04 18:48:39 -08:00
Simon Willison
764b460adf Run readthedocs on 3.11 2025-11-04 18:45:49 -08:00
Simon Willison
d90bdf7ed7 Fixed a couple of spelling errors 2025-11-04 18:42:29 -08:00
Simon Willison
c2781328c8 python_requires=">=3.9"
I would go for 3.10 but this is going to be a security fix so I would
prefer to keep it working for older Python if possible.
2025-11-04 17:59:02 -08:00
Simon Willison
808540e702 Upgrade GitHub Actions workflows 2025-11-04 17:58:31 -08:00
Simon Willison
ef8e75db78 Backported CliRunner fix from e3eb356a
Removed obsolete mix_stderr=False arguments from CliRunner() calls
which are not supported in Click 8.3.0.
2025-11-04 17:41:25 -08:00
Simon Willison
0e2d9ccd99 Backported Python 3.14 asyncio fix from dee0b942
Python 3.14 deprecated asyncio.get_event_loop() when there is no running
event loop. This backports the run_sync() helper function and its usage
from main branch to fix compatibility.

Refs #2506
2025-11-04 17:36:16 -08:00
Simon Willison
0403a04da6 Move open redirect fix to asgi_send_redirect, refs #2429
See https://github.com/simonw/datasette/pull/2500#issuecomment-3488632278
2025-11-04 17:10:25 -08:00
James Jefferies
c1dd2c1dfb Fix for open redirect - identified in Issue 2429 (#2500)
* Issue 2429 indicates the possiblity of an open redirect

The 404 processing ends up redirecting a request with multiple path
slashes to that site, i.e.

https://my-site//shedcode.co.uk will redirect to https://shedcode.co.uk

This commit uses a regular expression to remove the multiple leading
slashes before redirecting.
2025-11-04 17:10:19 -08:00
Simon Willison
b9bcd6b6ae Release 0.65.1 0.65.1
Refs #2443
2024-11-28 17:11:46 -08:00
Simon Willison
496463bd4c Back to httpx>=0.20, refs #2443 2024-11-28 17:03:44 -08:00
Simon Willison
bd818aef62 Backport new DatasetteClient implementation, refs #2443 2024-11-28 17:01:57 -08:00
Simon Willison
2eba9a6630 httpx>=0.28.0, refs #2443 2024-11-28 17:00:15 -08:00
Simon Willison
753ddc9028 Release 0.65 0.65
Refs #2434
2024-10-07 10:33:20 -07:00
Simon Willison
dbed80826f Upgrade Furo
Refs https://github.com/simonw/datasette/issues/2434#issuecomment-2397501988
2024-10-07 10:30:21 -07:00
Simon Willison
c07e9946e5 Vendor Pint, support Python 3.13, drop 3.8
Refs #2434
2024-10-07 10:22:07 -07:00
Simon Willison
5cac74c4ac Apply blacken-docs 0.64.8 2024-06-21 16:39:42 -07:00
Simon Willison
868d34d7b9 Test 0.64.x against Python 3.12
And drop 3.7 tests because it is not compatible with the new Black version
2024-06-21 16:36:04 -07:00
Simon Willison
0006a45b58 Bump Black dependency to latest for 0.64.x branch 2024-06-21 16:33:46 -07:00
Simon Willison
0af9a89460 Release 0.64.8
Refs #2353, #2359
2024-06-21 16:31:32 -07:00
Simon Willison
10dae61213 Applied latest Black 2024-06-21 16:28:25 -07:00
Simon Willison
2e62282170 Backport derive_named_parameters fix to 0.64.x
Refs #2354
2024-06-21 16:24:48 -07:00
Simon Willison
7aa4bf9506 Backport of #2359 for 0.64.x 2024-06-21 16:18:38 -07:00
Simon Willison
6c941e30c5 More deploy workflow wrangling 0.64.7 2024-06-12 16:04:17 -07:00
Simon Willison
c302357dc3 Publish using gh-action-pypi-publish@release/v1 2024-06-12 15:57:37 -07:00
Simon Willison
ead2882f01 Fix for pyodide test failure, refs #2351 2024-06-12 15:46:55 -07:00
Simon Willison
a0a9b8023d Update ignore-words 2024-06-12 15:46:37 -07:00
Simon Willison
b7c44de56d Release 0.64.7
Refs #2353
2024-06-12 15:45:40 -07:00
Simon Willison
47333e43c6 Workaround for #2353 2024-06-12 15:39:11 -07:00
Simon Willison
4e3e8a0124 Fix typo in plugin docs 0.64.6 2023-12-22 15:16:28 -08:00
Simon Willison
c4571c4f17 Release 0.64.6
Refs #2214
2023-12-22 15:14:50 -08:00
Simon Willison
324090919d Backport of CSV labels fix from #2214 2023-12-22 15:12:50 -08:00
Simon Willison
5800eaeb5b Release 0.64.5 0.64.5
Refs #2197
2023-10-08 09:03:37 -07:00
Simon Willison
5e932f3e27 Drop click-default-group-wheel, refs #2197 2023-10-08 09:00:59 -07:00
Simon Willison
2b44d6a3fc Fixed typo in docs 0.64.4 2023-09-21 12:28:45 -07:00
Simon Willison
d61687cbeb Release 0.64.4
Refs #2189
2023-09-21 12:25:52 -07:00
Simon Willison
4b01cec374 Applied latest Black 2023-09-21 12:23:48 -07:00
Simon Willison
c0d58a71b9 Stop running queries in parallel, refs #2189 2023-09-21 12:23:17 -07:00
Simon Willison
c0227ac7c7 Fix for flaky test_hidden_sqlite_stat1_table, refs #2179 2023-09-21 12:21:24 -07:00
Simon Willison
917272c864 Fix for Python httpx test failure, refs #2066 0.64.3 2023-04-27 07:55:25 -07:00
Simon Willison
0746e785fc Release 0.64.3
Refs #2065
2023-04-27 07:53:33 -07:00