Skip to content

Commit

Permalink
Merge pull request #169 from ImperialCollegeLondon/drop-py-39
Browse files Browse the repository at this point in the history
Drop support for python 3.9 and add support for python 3.13
  • Loading branch information
dalonsoa authored Dec 19, 2024
2 parents 2f845c8 + 51272b7 commit cb148bf
Show file tree
Hide file tree
Showing 5 changed files with 1,747 additions and 8 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/ci_template.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ on:
type: string
python-version:
description: 'Python version'
default: '["3.9", "3.12"]'
default: '["3.10", "3.13"]'
type: string

jobs:
Expand Down Expand Up @@ -38,6 +38,6 @@ jobs:
run: poetry run pytest

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

4 changes: 2 additions & 2 deletions .github/workflows/publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ jobs:
uses: ./.github/workflows/ci_template.yml
with:
os: '["ubuntu-latest", "windows-latest", "macos-latest"]'
python-version: '["3.9", "3.10", "3.11", "3.12"]'
python-version: '["3.10", "3.11", "3.12", "3.13"]'

build-wheel:
needs: test
Expand All @@ -37,7 +37,7 @@ jobs:

- uses: actions/setup-python@v5
with:
python-version: 3.9
python-version: 3.10

- name: Install Poetry
uses: abatilo/[email protected]
Expand Down
2 changes: 1 addition & 1 deletion csvy/validators/registry.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
"""Registry of validators to run on the header."""

from typing import Callable
from collections.abc import Callable

from pydantic import BaseModel

Expand Down
Loading

0 comments on commit cb148bf

Please sign in to comment.