Skip to content

Commit 5686590

Browse files
committed
Release 0.0.1a13
Refs simonw/datasette#2516
1 parent 5e457a0 commit 5686590

File tree

3 files changed

+33
-31
lines changed

3 files changed

+33
-31
lines changed

.github/workflows/publish.yml

Lines changed: 16 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -12,40 +12,41 @@ jobs:
1212
runs-on: ubuntu-latest
1313
strategy:
1414
matrix:
15-
python-version: ["3.8", "3.9", "3.10", "3.11"]
15+
python-version: ["3.10", "3.11", "3.12", "3.13", "3.14"]
1616
steps:
17-
- uses: actions/checkout@v3
17+
- uses: actions/checkout@v5
1818
- name: Set up Python ${{ matrix.python-version }}
19-
uses: actions/setup-python@v4
19+
uses: actions/setup-python@v6
2020
with:
2121
python-version: ${{ matrix.python-version }}
2222
cache: pip
23-
cache-dependency-path: setup.py
23+
cache-dependency-path: pyproject.toml
2424
- name: Install dependencies
2525
run: |
2626
pip install '.[test]'
2727
- name: Run tests
2828
run: |
29-
pytest
29+
python -m pytest
3030
deploy:
3131
runs-on: ubuntu-latest
3232
needs: [test]
33+
environment: release
34+
permissions:
35+
id-token: write
3336
steps:
34-
- uses: actions/checkout@v3
37+
- uses: actions/checkout@v5
3538
- name: Set up Python
36-
uses: actions/setup-python@v4
39+
uses: actions/setup-python@v6
3740
with:
38-
python-version: "3.11"
41+
python-version: "3.12"
3942
cache: pip
40-
cache-dependency-path: setup.py
43+
cache-dependency-path: pyproject.toml
4144
- name: Install dependencies
4245
run: |
43-
pip install setuptools wheel twine build
44-
- name: Publish
45-
env:
46-
TWINE_USERNAME: __token__
47-
TWINE_PASSWORD: ${{ secrets.PYPI_TOKEN }}
46+
pip install setuptools wheel build
47+
- name: Build
4848
run: |
4949
python -m build
50-
twine upload dist/*
50+
- name: Publish
51+
uses: pypa/gh-action-pypi-publish@release/v1
5152

.github/workflows/test.yml

Lines changed: 15 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -10,18 +10,19 @@ jobs:
1010
runs-on: ubuntu-latest
1111
strategy:
1212
matrix:
13-
python-version: ["3.9", "3.10", "3.11"]
13+
python-version: ["3.10", "3.11", "3.12", "3.13", "3.14"]
1414
steps:
15-
- uses: actions/checkout@v3
16-
- name: Set up Python ${{ matrix.python-version }}
17-
uses: actions/setup-python@v4
18-
with:
19-
python-version: ${{ matrix.python-version }}
20-
cache: pip
21-
cache-dependency-path: setup.py
22-
- name: Install dependencies
23-
run: |
24-
pip install '.[test]'
25-
- name: Run tests
26-
run: |
27-
pytest
15+
- uses: actions/checkout@v5
16+
- name: Set up Python ${{ matrix.python-version }}
17+
uses: actions/setup-python@v6
18+
with:
19+
python-version: ${{ matrix.python-version }}
20+
cache: pip
21+
cache-dependency-path: pyproject.toml
22+
- name: Install dependencies
23+
run: |
24+
pip install '.[test]'
25+
- name: Run tests
26+
run: |
27+
python -m pytest
28+

pyproject.toml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[project]
22
name = "datasette-write-ui"
3-
version = "0.0.1a12"
3+
version = "0.0.1a13"
44
description = "Datasette UI plugin for editing and inserting rows"
55
readme = "README.md"
66
authors = [{name = "Alex Garcia"}]
@@ -10,7 +10,7 @@ classifiers=[
1010
]
1111
requires-python = ">=3.9"
1212
dependencies = [
13-
"datasette>=1.0a19",
13+
"datasette==1.0a19",
1414
"sqlite-utils>=3.38",
1515
]
1616

0 commit comments

Comments
 (0)