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
2 changes: 1 addition & 1 deletion .github/workflows/tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ jobs:
fail-fast: false
matrix:
os: [ubuntu-latest, windows-latest, macos-latest]
python_version: ["3.10", "3.12", "3.13"]
python_version: ["3.10", "3.11", "3.12", "3.13", "3.14"]
Copy link
Contributor Author

@crusaderky crusaderky Nov 27, 2025

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.


runs-on: ${{ matrix.os }}

Expand Down
9 changes: 1 addition & 8 deletions confection/util.py
Original file line number Diff line number Diff line change
@@ -1,17 +1,10 @@
import functools
import sys
from copy import deepcopy
from typing import Any, Callable, Iterator, TypeVar
from typing import Any, Callable, Iterator, Protocol, TypeVar

from pydantic import GetCoreSchemaHandler
from pydantic_core import core_schema

if sys.version_info < (3, 8):
# Ignoring type for mypy to avoid "Incompatible import" error (https://github.com/python/mypy/issues/4427).
from typing_extensions import Protocol # type: ignore
else:
from typing import Protocol

_DIn = TypeVar("_DIn")


Expand Down
4 changes: 1 addition & 3 deletions requirements.txt
Original file line number Diff line number Diff line change
@@ -1,12 +1,10 @@
pydantic>=2.0,<3.0
typing_extensions>=3.7.4.1,<5.0.0; python_version < "3.8"
srsly>=2.4.0,<3.0.0
# Development requirements
catalogue>=2.0.3,<2.1.0
pathy>=0.3.5
pytest>=5.2.0,!=7.1.0
mypy>=1.7.0,<1.8.0; platform_machine != 'aarch64' and python_version >= '3.8'
types-dataclasses>=0.1.3; python_version < '3.7'
mypy>=1.7.0,<1.8.0; platform_machine != 'aarch64'
numpy>=1.15.0
black>=22.0,<23.0
flake8>=3.8.0,<6.0.0
Expand Down
9 changes: 3 additions & 6 deletions setup.cfg
Original file line number Diff line number Diff line change
Expand Up @@ -17,22 +17,19 @@ classifiers =
Operating System :: MacOS :: MacOS X
Operating System :: Microsoft :: Windows
Programming Language :: Python :: 3
Programming Language :: Python :: 3.6
Programming Language :: Python :: 3.7
Programming Language :: Python :: 3.8
Programming Language :: Python :: 3.9
Programming Language :: Python :: 3.10
Programming Language :: Python :: 3.11
Programming Language :: Python :: 3.12
Programming Language :: Python :: 3.13
Programming Language :: Python :: 3.14
Topic :: Scientific/Engineering

[options]
zip_safe = true
include_package_data = true
python_requires = >=3.9,<3.14
python_requires = >=3.10
install_requires =
pydantic>=2.0,<3.0
typing_extensions>=3.7.4.1,<5.0.0; python_version < "3.8"
srsly>=2.4.0,<3.0.0

[sdist]
Expand Down