Skip to content

Commit

Permalink
fix: fix for pydantic 2.10 (#203)
Browse files Browse the repository at this point in the history
* fix: fix for pydantic 2.10

* ci: use pyqt6
  • Loading branch information
tlambert03 authored Nov 20, 2024
1 parent f61cad9 commit 569c207
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 3 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,7 @@ jobs:
matrix:
include:
- repo: pymmcore-plus/pymmcore-plus
qt: "pyside6"
qt: "pyqt6"
- repo: pymmcore-plus/pymmcore-widgets
qt: "pyqt6"
# - repo: pymmcore-plus/napari-micromanager
Expand Down
3 changes: 1 addition & 2 deletions src/useq/_grid.py
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,7 @@
import numpy as np
from annotated_types import Ge, Gt
from pydantic import Field, field_validator, model_validator
from typing_extensions import Annotated, Self, TypeAlias

from useq._point_visiting import OrderMode, TraversalOrder
from useq._position import (
Expand All @@ -29,8 +30,6 @@
)

if TYPE_CHECKING:
from typing_extensions import Annotated, Self, TypeAlias

PointGenerator: TypeAlias = Callable[
[np.random.RandomState, int, float, float], Iterable[tuple[float, float]]
]
Expand Down

0 comments on commit 569c207

Please sign in to comment.