Skip to content

Commit 9b8b146

Browse files
authored
Add support for Python 3.13
* Upgrade pre-commit dependencies * Upgrade Python requirements
1 parent 90179ce commit 9b8b146

File tree

5 files changed

+13
-18
lines changed

5 files changed

+13
-18
lines changed

.github/workflows/test.yml

Lines changed: 6 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ on:
99
jobs:
1010
test:
1111
name: "Test Python ${{ matrix.python-version }}"
12-
runs-on: "ubuntu-22.04"
12+
runs-on: "ubuntu-24.04"
1313
strategy:
1414
fail-fast: false
1515
matrix:
@@ -18,6 +18,7 @@ jobs:
1818
"3.10",
1919
"3.11",
2020
"3.12",
21+
"3.13",
2122
]
2223
steps:
2324
- name: "Check out repository"
@@ -33,10 +34,10 @@ jobs:
3334
- name: "Install tox"
3435
run: |
3536
python -m pip install --upgrade pip
36-
pip install tox tox-gh-actions
37+
pip install tox
3738
- name: "Run tox"
3839
run: |
39-
tox -- --cov agentarchives --cov-report xml:coverage.xml
40+
tox -e py -- --cov agentarchives --cov-report xml:coverage.xml
4041
- name: "Upload coverage report"
4142
if: github.repository == 'artefactual-labs/agentarchives'
4243
uses: "codecov/codecov-action@v4"
@@ -48,14 +49,14 @@ jobs:
4849
CODECOV_TOKEN: ${{ secrets.CODECOV_TOKEN }}
4950
lint:
5051
name: "Lint"
51-
runs-on: "ubuntu-22.04"
52+
runs-on: "ubuntu-24.04"
5253
steps:
5354
- name: "Check out repository"
5455
uses: "actions/checkout@v4"
5556
- name: "Set up Python"
5657
uses: "actions/setup-python@v5"
5758
with:
58-
python-version: "3.12"
59+
python-version: "3.x"
5960
cache: "pip"
6061
cache-dependency-path: |
6162
requirements.txt

.pre-commit-config.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
repos:
22
- repo: https://github.com/astral-sh/ruff-pre-commit
3-
rev: v0.8.5
3+
rev: v0.9.1
44
hooks:
55
- id: ruff
66
args: [--fix, --exit-non-zero-on-fix]

pyproject.toml

Lines changed: 2 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -39,6 +39,7 @@ classifiers = [
3939
"Programming Language :: Python :: 3.10",
4040
"Programming Language :: Python :: 3.11",
4141
"Programming Language :: Python :: 3.12",
42+
"Programming Language :: Python :: 3.13",
4243
]
4344
authors = [
4445
{name = "Artefactual Systems Inc.", email = "[email protected]"}
@@ -108,14 +109,7 @@ omit = [
108109
[tool.tox]
109110
legacy_tox_ini = """
110111
[tox]
111-
envlist = py{39,310,311,312}, linting
112-
113-
[gh-actions]
114-
python =
115-
3.9: py39
116-
3.10: py310
117-
3.11: py311
118-
3.12: py312
112+
envlist = py, linting
119113
120114
[testenv]
121115
deps = -r {toxinidir}/requirements-dev.txt

requirements-dev.txt

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ importlib-metadata==8.5.0
2424
# via build
2525
iniconfig==2.0.0
2626
# via pytest
27-
mysqlclient==2.2.6
27+
mysqlclient==2.2.7
2828
# via agentarchives (pyproject.toml)
2929
packaging==24.2
3030
# via
@@ -49,7 +49,7 @@ pytest-mock==3.14.0
4949
# via agentarchives (pyproject.toml)
5050
requests==2.32.3
5151
# via agentarchives (pyproject.toml)
52-
ruff==0.8.5
52+
ruff==0.9.1
5353
# via agentarchives (pyproject.toml)
5454
tomli==2.2.1
5555
# via
@@ -67,5 +67,5 @@ zipp==3.21.0
6767
# The following packages are considered to be unsafe in a requirements file:
6868
pip==24.3.1
6969
# via pip-tools
70-
setuptools==75.6.0
70+
setuptools==75.8.0
7171
# via pip-tools

requirements.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ charset-normalizer==3.4.1
1010
# via requests
1111
idna==3.10
1212
# via requests
13-
mysqlclient==2.2.6
13+
mysqlclient==2.2.7
1414
# via agentarchives (pyproject.toml)
1515
requests==2.32.3
1616
# via agentarchives (pyproject.toml)

0 commit comments

Comments
 (0)