Commit graph

28 commits

Author SHA1 Message Date
Simon Willison
f12f6cc2ab
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:28:41 -08:00
Simon Willison
ce4b0794b2
Ported setup.py to pyproject.toml (#2555)
* Ported setup.py to pyproject.toml, refs #2553

* Make fixtures tests less flaky

The in-memory fixtures table was being shared between different
instances of the test client, leading to occasional errors when
running the full test suite.
2025-10-30 10:41:41 -07:00
Simon Willison
85da8474d4
Python 3.14, drop Python 3.9
Closes #2506
2025-10-08 13:11:32 -07:00
Simon Willison
72f8ac680a CI against Python 3.13 2024-11-28 17:15:54 -08:00
Simon Willison
81629dbeff Upgrade GitHub Actions, including PyPI publishing 2024-02-17 21:03:41 -08:00
Simon Willison
2fd871a906 Drop support for Python 3.7, refs #2097 2023-07-08 11:40:19 -07:00
Simon Willison
50a6355c08 Workaround to get sphinx-build working again, refs 1153 2023-07-08 11:22:21 -07:00
Simon Willison
4880638f13
setup-gcloud 318.0.0
Refs https://til.simonwillison.net/googlecloud/gcloud-error-workaround
2023-01-09 16:02:02 -08:00
Simon Willison
a27c0a0124 Deploy docs on publish using Python 3.9
A workaround for gcloud setup, see:

https://til.simonwillison.net/googlecloud/gcloud-error-workaround

Refs #1963
2022-12-17 19:24:48 -08:00
Simon Willison
4ddd77e512
No need for pkginfo pin any more
The upstream issue was fixed. Refs #1913
2022-11-29 21:25:40 -08:00
Simon Willison
4a0bd960e9 Pin pkginfo==1.8.3 as workaround for #1913 2022-11-29 11:57:54 -08:00
Simon Willison
e135da8efe
Python 3.11 in CI 2022-10-25 07:13:43 -07:00
Naveen
2e9751672d
chore: Set permissions for GitHub actions (#1740)
Restrict the GitHub token permissions only to the required ones; this way, even if the attackers will succeed in compromising your workflow, they won’t be able to do much.

- Included permissions for the action. https://github.com/ossf/scorecard/blob/main/docs/checks.md#token-permissions

https://docs.github.com/en/actions/using-workflows/workflow-syntax-for-github-actions#permissions

https://docs.github.com/en/actions/using-jobs/assigning-permissions-to-jobs

[Keeping your GitHub Actions and workflows secure Part 1: Preventing pwn requests](https://securitylab.github.com/research/github-actions-preventing-pwn-requests/)

Signed-off-by: naveen <172697+naveensrinivasan@users.noreply.github.com>
2022-05-31 12:28:40 -07:00
Simon Willison
c4c9dbd038
google-github-actions/setup-gcloud@v0 2022-03-22 09:49:26 -07:00
Simon Willison
fae3983c51 Drop support for Python 3.6, closes #1577
Refs #1606
2022-01-19 20:31:22 -08:00
Simon Willison
3a2ed6300d Run tests on 3.10 during publish, refs #1482 2021-10-24 15:37:43 -07:00
Simon Willison
721a8d3cd4 Hopeful fix for publish problem in #1396 2021-07-14 18:51:36 -07:00
Simon Willison
953a64467d
Only publish stable docs on non-preview release
Refs https://github.com/simonw/datasette.io/issues/67
2021-06-24 09:42:02 -07:00
Simon Willison
7bc85b26d6 Deploy stable-docs.datasette.io on publish
Refs https://github.com/simonw/datasette.io/issues/67
2021-06-23 12:30:03 -07:00
Simon Willison
0486303b60 Explicitly push version tag, refs #1281 2021-03-28 18:42:42 -07:00
Simon Willison
13fd9bdf01
docker push --all-tags, refs #1281 2021-03-28 18:07:49 -07:00
Simon Willison
5fd0289065 Build Dockerfile with SpatiaLite 5, refs #1249 2021-03-26 21:27:40 -07:00
Simon Willison
6e091b14b6
Run tests against Python 3.9 2020-10-09 09:22:49 -07:00
Simon Willison
cb515a9d75
Don't push preleases to Docker Hub, refs #940 2020-09-14 15:09:03 -07:00
Simon Willison
30b98e4d29
Single, not double quotes - refs #940 2020-09-13 19:47:21 -07:00
Simon Willison
44cf424a94
Remove double colon, refs #956 2020-08-28 18:33:05 -07:00
Simon Willison
c36e287d71
Don't deploy alpha/betas to Docker Hub
Refs #956
2020-08-28 18:18:52 -07:00
Simon Willison
5e0b72247e
Run CI on GitHub Actions, not Travis
* Run CI on GitHub Actions, not Travis - refs #940
* Update documentation refs to Travis
* Release action now runs parallel tests, then pushes to PyPI, then Docker Hub
2020-08-17 22:09:34 -07:00