Skip to content

Commit 9ceb266

Browse files
authored
drop support for Python 3.8 and add Python 3.13 (#449)
* drop support for Python 3.8 and add Python 3.13 * update dependencies
1 parent 097279c commit 9ceb266

File tree

6 files changed

+21
-21
lines changed

6 files changed

+21
-21
lines changed

.github/workflows/tests.yaml

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -12,9 +12,9 @@ jobs:
1212
steps:
1313
- uses: actions/checkout@v4
1414
- name: Set up Python
15-
uses: actions/setup-python@v4
15+
uses: actions/setup-python@v5
1616
with:
17-
python-version: 3.12
17+
python-version: 3.13
1818
- name: Install dependencies
1919
run: |
2020
python -m pip install --upgrade pip
@@ -29,9 +29,9 @@ jobs:
2929
steps:
3030
- uses: actions/checkout@v4
3131
- name: Set up Python
32-
uses: actions/setup-python@v4
32+
uses: actions/setup-python@v5
3333
with:
34-
python-version: 3.12
34+
python-version: 3.13
3535
- name: Install dependencies
3636
run: |
3737
python -m pip install --upgrade pip
@@ -43,7 +43,7 @@ jobs:
4343
runs-on: ubuntu-latest
4444
strategy:
4545
matrix:
46-
python-version: ["3.8", "3.9", "3.10", "3.11", "3.12"]
46+
python-version: ["3.9", "3.10", "3.11", "3.12", "3.13"]
4747

4848
steps:
4949
- uses: actions/checkout@v4

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ Some of it's standout features:
3232

3333
## Local Demo
3434

35-
To run a demo locally, using Python 3.8 or above:
35+
To run a demo locally, using Python 3.9 or above:
3636

3737
```bash
3838
pip install piccolo_admin

piccolo_admin/endpoints.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -832,7 +832,7 @@ def __init__(
832832
admin_only=True,
833833
increase_expiry=increase_expiry,
834834
),
835-
on_error=handle_auth_exception,
835+
on_error=handle_auth_exception, # type: ignore
836836
)
837837

838838
self.mount(path="/api", app=auth_middleware(private_app))

requirements/dev-requirements.txt

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
1-
black==24.8.0
2-
isort==5.13.2
3-
twine==5.0.0
4-
mypy==1.8.0
1+
black==25.1.0
2+
isort==6.0.1
3+
twine==6.1.0
4+
mypy==1.16.0
55
pip-upgrader==1.4.15
6-
wheel==0.42.0
7-
python-dotenv==1.0.1
8-
setuptools==75.1.0
6+
wheel==0.46.1
7+
python-dotenv==1.1.0
8+
setuptools==80.9.0

requirements/test-requirements.txt

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
1-
pytest==8.0.1
2-
pytest-cov==4.1.0
3-
flake8==7.0.0
1+
pytest==8.4.0
2+
pytest-cov==6.1.1
3+
flake8==7.2.0
44
piccolo[postgres,sqlite]>=1.16.0
5-
playwright==1.41.2
6-
pytest-playwright==0.4.4
5+
playwright==1.52.0
6+
pytest-playwright==0.7.0
77
httpx==0.28.1
88
fastapi==0.115.6

setup.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -68,7 +68,7 @@ def get_version():
6868
long_description_content_type="text/markdown",
6969
author="Daniel Townsend",
7070
author_email="[email protected]",
71-
python_requires=">=3.8.0",
71+
python_requires=">=3.9.0",
7272
url="https://github.com/piccolo-orm/piccolo_admin",
7373
packages=find_packages(exclude=("tests",)),
7474
install_requires=REQUIREMENTS,
@@ -82,11 +82,11 @@ def get_version():
8282
"License :: OSI Approved :: MIT License",
8383
"Programming Language :: Python",
8484
"Programming Language :: Python :: 3",
85-
"Programming Language :: Python :: 3.8",
8685
"Programming Language :: Python :: 3.9",
8786
"Programming Language :: Python :: 3.10",
8887
"Programming Language :: Python :: 3.11",
8988
"Programming Language :: Python :: 3.12",
89+
"Programming Language :: Python :: 3.13",
9090
"Programming Language :: Python :: Implementation :: CPython",
9191
"Topic :: Database :: Front-Ends",
9292
"Topic :: Internet :: WWW/HTTP :: Dynamic Content :: Content Management System", # noqa: E501

0 commit comments

Comments
 (0)