Skip to content

Commit 0a41ea1

Browse files
Merge pull request #439 from robbievanleeuwen/feature/cytriangle
Update dependencies to swap in cytriangle
2 parents 5cd875a + 1e739d5 commit 0a41ea1

File tree

4 files changed

+67
-75
lines changed

4 files changed

+67
-75
lines changed

.github/workflows/tests.yml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -29,6 +29,10 @@ jobs:
2929
- { python: "3.11", os: "windows-latest", session: "tests" }
3030
- { python: "3.10", os: "windows-latest", session: "tests" }
3131
- { python: "3.9", os: "windows-latest", session: "tests" }
32+
- { python: "3.12", os: "macos-latest", session: "tests" }
33+
- { python: "3.11", os: "macos-latest", session: "tests" }
34+
- { python: "3.10", os: "macos-latest", session: "tests" }
35+
- { python: "3.9", os: "macos-latest", session: "tests" }
3236
- { python: "3.12", os: "macos-13", session: "tests" }
3337
- { python: "3.11", os: "macos-13", session: "tests" }
3438
- { python: "3.10", os: "macos-13", session: "tests" }

poetry.lock

Lines changed: 59 additions & 71 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

pyproject.toml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -53,14 +53,14 @@ numpy = "^1.26.4"
5353
scipy = "^1.12.0"
5454
matplotlib = "^3.8.3"
5555
shapely = "^2.0.3"
56-
triangle = "^20230923"
56+
cytriangle = "^1.0.1"
5757
rich = "^13.7.1"
5858
click = "^8.1.7"
5959
more-itertools = "^10.2.0"
6060
numba = { version = "^0.59.0", optional = true }
6161
cad-to-shapely = { version = "^0.3.1", optional = true }
6262
rhino-shapley-interop = { version = "^0.0.4", optional = true }
63-
rhino3dm = { version = "==8.6.0", optional = true }
63+
rhino3dm = { version = "==8.6.1", optional = true }
6464
pypardiso = { version = "^0.4.5", optional = true }
6565
intel-openmp = { version = "==2023.2.0", optional = true }
6666
mkl = { version = "==2023.2.0", optional = true }
@@ -139,7 +139,7 @@ module = [
139139
"rhino_shapely_interop.*",
140140
"scipy.*",
141141
"shapely.*",
142-
"triangle.*",
142+
"cytriangle.*",
143143
]
144144
ignore_missing_imports = true
145145

src/sectionproperties/pre/pre.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
from dataclasses import dataclass
66
from typing import Any
77

8-
import triangle
8+
import cytriangle as triangle
99

1010

1111
@dataclass(eq=True, frozen=True)

0 commit comments

Comments
 (0)