Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions .github/workflows/continuous_integration.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -39,10 +39,10 @@ jobs:
strategy:
fail-fast: false
matrix:
python-version: [3.9, 3.13]
python-version: ["3.10", "3.14"]
include-extras: [true]
include:
- python-version: 3.9
- python-version: "3.10"
include-extras: false

steps:
Expand Down
2 changes: 1 addition & 1 deletion .python-version
Original file line number Diff line number Diff line change
@@ -1 +1 @@
3.9
3.10
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@ All notable changes to this project will be documented in this file.

## [0.8.0]
- 🆕 Used integration with toolit to make snappylapy commands available for AI coding assistants
- ❗Deprecated support for Python 3.9. Snappylapy now requires Python 3.10 or higher. Add python 3.14 to the test matrix.

## [0.7.0] - 2025-08-27
- 🆕 Added csv serializer for pandas dataframes for making the deserialization work on windows and make a more suitable and human readable format.
Expand Down
2 changes: 0 additions & 2 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,6 @@ classifiers = [
"Topic :: Software Development :: Testing",
"Operating System :: OS Independent",
"Programming Language :: Python",
"Programming Language :: Python :: 3.9",
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11",
"Programming Language :: Python :: 3.12",
Expand All @@ -37,7 +36,6 @@ dependencies = [
"pytest>=7.0",
"jsonpickle>=1.0",
"typer",
"typing-extensions ; python_full_version == '3.9.*'",
"levenshtein>=0.27.1",
"toolit>=0.5.0",
]
Expand Down
4 changes: 2 additions & 2 deletions ruff.toml
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,8 @@
line-length = 120
indent-width = 4

# Assume Python 3.9
target-version = "py39"
# Assume Python 3.10
target-version = "py310"
output-format = "concise"

[lint]
Expand Down
9 changes: 2 additions & 7 deletions snappylapy/expectation_classes/expect_dataframe.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,16 +2,11 @@

from __future__ import annotations

import sys
from .base_snapshot import BaseSnapshot
from collections.abc import Callable
from functools import wraps
from snappylapy.serialization import PandasCsvSerializer
from typing import TYPE_CHECKING, Any, Callable, TypeVar, cast

if sys.version_info >= (3, 10):
from typing import TypeAlias
else:
from typing_extensions import TypeAlias
from typing import TYPE_CHECKING, Any, TypeAlias, TypeVar, cast

if TYPE_CHECKING:
import pandas as pd
Expand Down
6 changes: 3 additions & 3 deletions tox.ini
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
; tox==3.28.0
; tox-conda==0.10.2
[tox]
envlist = py39-pytest{3x,4x,5x,6x,7x,8x},py39-jsonpickle{2x,3x,4x}
envlist = py310-pytest{3x,4x,5x,6x,7x,8x},py310-jsonpickle{2x,3x,4x}

[testenv]
description = run the tests with pytest
Expand All @@ -24,5 +24,5 @@ commands =
poetry run pytest
poetry run mypy snappylapy

[testenv:py39]
basepython = python3.9
[testenv:py310]
basepython = python3.10
2 changes: 0 additions & 2 deletions uv.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.