From 1d2214efd9fcc6c2c588afd160002a95b6a1bd83 Mon Sep 17 00:00:00 2001 From: Dion Moult Date: Mon, 10 Feb 2025 17:26:03 +1100 Subject: [PATCH] Fix IfcOpenShell-Python on Python 3.10 Elipsis is not allowed for generic typing --- src/ifcopenshell-python/ifcopenshell/util/shape_builder.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/ifcopenshell-python/ifcopenshell/util/shape_builder.py b/src/ifcopenshell-python/ifcopenshell/util/shape_builder.py index 4f33b243fd..5e56282195 100644 --- a/src/ifcopenshell-python/ifcopenshell/util/shape_builder.py +++ b/src/ifcopenshell-python/ifcopenshell/util/shape_builder.py @@ -44,7 +44,7 @@ if TYPE_CHECKING: VectorType = Union[Sequence[float], Vector, np.ndarray] else: # Ensure it's exportable, so other modules can reuse it for typing. - VectorType = ... + VectorType = Any SequenceOfVectors = Union[Sequence[VectorType], np.ndarray]