Skip to content

Commit d86e307

Browse files
committed
Python 3.13 minimum
1 parent b6093a8 commit d86e307

File tree

32 files changed

+61
-207
lines changed

32 files changed

+61
-207
lines changed

.github/workflows/test.yml

Lines changed: 30 additions & 30 deletions
Original file line numberDiff line numberDiff line change
@@ -36,42 +36,42 @@ jobs:
3636
--health-retries=5
3737
strategy:
3838
matrix:
39-
python-version: ["3.11", "3.12", "3.13"]
39+
python-version: ["3.13", "3.14"]
4040

4141
steps:
42-
- uses: actions/checkout@v4
43-
- name: Install uv
44-
uses: astral-sh/setup-uv@v2
45-
- name: Set up Python
46-
run: uv python install ${{ matrix.python-version }}
47-
- name: Install system libraries for MySQL client build
48-
run: |
49-
sudo apt-get update -y
50-
sudo apt-get install -y default-libmysqlclient-dev build-essential pkg-config
42+
- uses: actions/checkout@v4
43+
- name: Install uv
44+
uses: astral-sh/setup-uv@v2
45+
- name: Set up Python
46+
run: uv python install ${{ matrix.python-version }}
47+
- name: Install system libraries for MySQL client build
48+
run: |
49+
sudo apt-get update -y
50+
sudo apt-get install -y default-libmysqlclient-dev build-essential pkg-config
5151
52-
- name: Test (SQLite)
53-
run: ./scripts/test
54-
env:
55-
DATABASE_URL: "sqlite://:memory:"
52+
- name: Test (SQLite)
53+
run: ./scripts/test
54+
env:
55+
DATABASE_URL: "sqlite://:memory:"
5656

57-
- name: Test (PostgreSQL)
58-
run: ./scripts/test
59-
env:
60-
DATABASE_URL: postgres://postgres:postgres@localhost:5432/plain
57+
- name: Test (PostgreSQL)
58+
run: ./scripts/test
59+
env:
60+
DATABASE_URL: postgres://postgres:postgres@localhost:5432/plain
6161

62-
- name: Test (MySQL)
63-
run: ./scripts/test
64-
env:
65-
DATABASE_URL: mysql://root:mysql@127.0.0.1:3306/plain
62+
- name: Test (MySQL)
63+
run: ./scripts/test
64+
env:
65+
DATABASE_URL: mysql://root:mysql@127.0.0.1:3306/plain
6666

6767
lint:
6868
runs-on: ubuntu-latest
6969
steps:
70-
- uses: actions/checkout@v4
71-
- name: Install uv
72-
uses: astral-sh/setup-uv@v2
73-
- name: Set up Python
74-
run: uv python install
75-
- working-directory: plain-code
76-
run: uv sync
77-
- run: uv run --package plain-code --isolated plain-code check .
70+
- uses: actions/checkout@v4
71+
- name: Install uv
72+
uses: astral-sh/setup-uv@v2
73+
- name: Set up Python
74+
run: uv python install
75+
- working-directory: plain-code
76+
run: uv sync
77+
- run: uv run --package plain-code --isolated plain-code check .

demos/full/pyproject.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
[project]
22
name = "plain-demo-full"
33
version = "0.0.0"
4-
requires-python = ">=3.11"
4+
requires-python = ">=3.13"
55
dependencies = [
66
# All of the Plain packages (from the workspace)
77
"plain",

plain-admin/pyproject.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ description = "Manage your app with a backend interface."
55
authors = [{name = "Dave Gaeddert", email = "dave.gaeddert@dropseed.dev"}]
66
license = "BSD-3-Clause"
77
readme = "README.md"
8-
requires-python = ">=3.11"
8+
requires-python = ">=3.13"
99
dependencies = [
1010
"plain<1.0.0",
1111
"plain.auth<1.0.0",

plain-api/pyproject.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ version = "0.13.0"
44
description = "Build APIs using class-based views."
55
authors = [{name = "Dave Gaeddert", email = "dave.gaeddert@dropseed.dev"}]
66
readme = "README.md"
7-
requires-python = ">=3.11"
7+
requires-python = ">=3.13"
88
dependencies = [
99
"plain<1.0.0",
1010
]

plain-auth/pyproject.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ version = "0.16.0"
44
description = "Add users to your app and decide what they can access."
55
authors = [{name = "Dave Gaeddert", email = "dave.gaeddert@dropseed.dev"}]
66
readme = "README.md"
7-
requires-python = ">=3.11"
7+
requires-python = ">=3.13"
88
dependencies = [
99
"plain<1.0.0",
1010
"plain.models<1.0.0",

plain-cache/pyproject.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ version = "0.17.2"
77
description = "A simple database-backed cache for storing JSON-serializable values with optional expiration."
88
authors = [{name = "Dave Gaeddert", email = "dave.gaeddert@dropseed.dev"}]
99
readme = "README.md"
10-
requires-python = ">=3.11"
10+
requires-python = ">=3.13"
1111
dependencies = [
1212
"plain<1.0.0",
1313
]

plain-code/pyproject.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ version = "0.9.2"
44
description = "Preconfigured code formatting and linting."
55
authors = [{name = "Dave Gaeddert", email = "dave.gaeddert@dropseed.dev"}]
66
readme = "README.md"
7-
requires-python = ">=3.11"
7+
requires-python = ">=3.13"
88
dependencies = [
99
"plain<1.0.0",
1010
"ruff>=0.1.0",

plain-dev/pyproject.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ description = "A single command that runs everything you need for local developm
55
authors = [{name = "Dave Gaeddert", email = "dave.gaeddert@dropseed.dev"}]
66
license = "BSD-3-Clause"
77
readme = "README.md"
8-
requires-python = ">=3.11"
8+
requires-python = ">=3.13"
99
dependencies = [
1010
"plain<1.0.0",
1111
"click>=8.0.0",

plain-elements/pyproject.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ version = "0.9.0"
44
description = "Use HTML tags to include HTML template components."
55
authors = [{name = "Dave Gaeddert", email = "dave.gaeddert@dropseed.dev"}]
66
readme = "README.md"
7-
requires-python = ">=3.11"
7+
requires-python = ">=3.13"
88
dependencies = [
99
"plain<1.0.0",
1010
]

plain-email/pyproject.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ description = "Everything you need to send email in Plain."
55
authors = [{name = "Dave Gaeddert", email = "dave.gaeddert@dropseed.dev"}]
66
license = "BSD-3-Clause"
77
readme = "README.md"
8-
requires-python = ">=3.11"
8+
requires-python = ">=3.13"
99
dependencies = [
1010
"plain<1.0.0",
1111
]

0 commit comments

Comments
 (0)