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
5 changes: 1 addition & 4 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -28,14 +28,11 @@ jobs:
strategy:
fail-fast: false
matrix:
python-version: ["3.10", "3.12", "3.14", "3.15"]
python-version: ["3.11", "3.12", "3.14", "3.15"]
os: [ubuntu-latest, macos-latest, windows-latest]
compile: ["1", "0"]
qt: [""]
include:
- os: ubuntu-latest

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

Do you know why it would be dropping this include?

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Because python-version 3.10 was changed to 3.11 so it will be a duplicate.

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

Ah of course! Thanks:)

python-version: "3.11"
compile: "1"
- os: ubuntu-latest
python-version: "3.13"
compile: "1"
Expand Down
13 changes: 5 additions & 8 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -8,15 +8,14 @@ build-backend = "hatchling.build"
name = "psygnal"
description = "Fast python callback/event system modeled after Qt Signals"
readme = "README.md"
requires-python = ">=3.10"
requires-python = ">=3.11"
license = { text = "BSD 3-Clause License" }
authors = [{ name = "Talley Lambert", email = "talley.lambert@gmail.com" }]
classifiers = [
"Development Status :: 5 - Production/Stable",
"License :: OSI Approved :: BSD License",
"Natural Language :: English",
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11",
"Programming Language :: Python :: 3.12",
"Programming Language :: Python :: 3.13",
Expand Down Expand Up @@ -51,7 +50,7 @@ test = [
"anyio",
"trio",
]
test-typing = [{ include-group = "test-min" }, "pytest-mypy-plugins<4; python_version < '3.14'"]
test-typing = [{ include-group = "test-min" }, "pytest-mypy-plugins<4"]
testqt = [{ include-group = "test" }, "pytest-qt", "qtpy"]
test-codspeed = [{ include-group = "test" }, "pytest-codspeed"]
docs = [
Expand Down Expand Up @@ -137,12 +136,10 @@ exclude = [
[tool.cibuildwheel]
# Skip 32-bit builds & PyPy wheels on all platforms
skip = ["*-manylinux_i686", "*-musllinux_i686", "*-win32", "pp*"]
build = ["cp310-*", "cp311-*", "cp312-*", "cp313-*", "cp314-*", "cp315-*"]
build = ["cp311-*", "cp312-*", "cp313-*", "cp314-*", "cp315-*"]
test-groups = ["test"]
test-command = "pytest {project}/tests -v"
# cp315: pydantic-core has no cp315 wheels before pydantic 2.14, and manylinux has no
# Rust to build it. 3.15 is still covered by the test.yml matrix. Drop once 2.14 is out.
test-skip = ["*-musllinux*", "cp312-win*", "*-macosx_arm64", "cp315-*"]
test-skip = ["*-musllinux*", "cp312-win*", "*-macosx_arm64"]
build-frontend = "build[uv]"

[[tool.cibuildwheel.overrides]]
Expand All @@ -159,7 +156,7 @@ ignore = ["W004"]
# https://docs.astral.sh/ruff/
[tool.ruff]
line-length = 88
target-version = "py310"
target-version = "py311"
src = ["src", "tests"]

[tool.ruff.lint]
Expand Down
3 changes: 2 additions & 1 deletion src/psygnal/containers/_evented_dict.py
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,9 @@
from typing import TYPE_CHECKING, Any, ClassVar, TypeAlias, TypeVar, get_args

if TYPE_CHECKING:
from typing import Self

from pydantic import GetCoreSchemaHandler, SerializationInfo
from typing_extensions import Self

from psygnal._group import EmissionInfo, PathStep, SignalGroup
from psygnal._signal import Signal, SignalInstance
Expand Down
3 changes: 2 additions & 1 deletion src/psygnal/containers/_evented_list.py
Original file line number Diff line number Diff line change
Expand Up @@ -47,8 +47,9 @@
from psygnal.utils import iter_signal_instances

if TYPE_CHECKING:
from typing import Self

from pydantic import GetCoreSchemaHandler, SerializationInfo
from typing_extensions import Self

_T = TypeVar("_T")
Index: TypeAlias = int | slice
Expand Down
3 changes: 2 additions & 1 deletion src/psygnal/containers/_evented_set.py
Original file line number Diff line number Diff line change
Expand Up @@ -15,8 +15,9 @@
from psygnal import Signal, SignalGroup

if TYPE_CHECKING:
from typing import Self

from pydantic import GetCoreSchemaHandler, SerializationInfo
from typing_extensions import Self


_T = TypeVar("_T")
Expand Down
4 changes: 2 additions & 2 deletions src/psygnal/testing.py
Original file line number Diff line number Diff line change
Expand Up @@ -12,9 +12,9 @@
if TYPE_CHECKING:
from collections.abc import Iterator
from threading import Thread
from typing import Any, Literal
from typing import Any, Literal, Self

from typing_extensions import Self, TypedDict
from typing_extensions import TypedDict

class ConnectKwargs(TypedDict, total=False):
"""Kwargs for SignalInstance.connect."""
Expand Down
Loading