Skip to content

Commit 51272b7

Browse files
committed
⬆️ Drop support for Python 3.9 and add for Python 3.13
1 parent 3a69368 commit 51272b7

File tree

5 files changed

+1747
-8
lines changed

5 files changed

+1747
-8
lines changed

.github/workflows/ci_template.yml

+2-2
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ on:
99
type: string
1010
python-version:
1111
description: 'Python version'
12-
default: '["3.9", "3.12"]'
12+
default: '["3.10", "3.13"]'
1313
type: string
1414

1515
jobs:
@@ -38,6 +38,6 @@ jobs:
3838
run: poetry run pytest
3939

4040
- name: Upload coverage to Codecov
41-
if: success() && (matrix.os == 'ubuntu-latest' && matrix.python-version == 3.9)
41+
if: success() && (matrix.os == 'ubuntu-latest' && matrix.python-version == 3.10)
4242
uses: codecov/codecov-action@v5
4343

.github/workflows/publish.yml

+2-2
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ jobs:
1212
uses: ./.github/workflows/ci_template.yml
1313
with:
1414
os: '["ubuntu-latest", "windows-latest", "macos-latest"]'
15-
python-version: '["3.9", "3.10", "3.11", "3.12"]'
15+
python-version: '["3.10", "3.11", "3.12", "3.13"]'
1616

1717
build-wheel:
1818
needs: test
@@ -37,7 +37,7 @@ jobs:
3737

3838
- uses: actions/setup-python@v5
3939
with:
40-
python-version: 3.9
40+
python-version: 3.10
4141

4242
- name: Install Poetry
4343
uses: abatilo/[email protected]

csvy/validators/registry.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
"""Registry of validators to run on the header."""
22

3-
from typing import Callable
3+
from collections.abc import Callable
44

55
from pydantic import BaseModel
66

0 commit comments

Comments
 (0)