Skip to content

Commit 924b90d

Browse files
committed
Deprecation Warning leading to v.2.0.0 - revised
1 parent 8e2e717 commit 924b90d

File tree

1 file changed

+13
-13
lines changed

1 file changed

+13
-13
lines changed

ocsmesh/__init__.py

Lines changed: 13 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -8,22 +8,22 @@
88

99
# Major API Change Warning
1010
warnings.warn(
11-
"\n\n"
12-
"********************************************************************************\n"
13-
" MAJOR UPDATE ALERT - Upcoming OCSMesh 2.0.0 \n"
14-
"********************************************************************************\n"
15-
"OCSMesh is going through significant architectural changes:\n"
16-
"1. Mesh Engines (Jigsaw and Triangle) will become OPTIONAL dependencies.\n"
17-
" You must install them manually if needed.\n"
18-
"2. A new default mesh engine will be adopted to replace Jigsaw.\n"
19-
"3. 'jigsaw_msh_t' has been replaced by 'ocsmesh.internal.MeshData'.\n"
20-
"4. Functions operating on msh_t objects are deprecated and will be updated to support meshdata.\n"
21-
"Please check the release notes and update your workflows accordingly.\n"
22-
"********************************************************************************\n",
11+
"\n\n"
12+
"********************************************************************************\n"
13+
" MAJOR UPDATE ALERT - Upcoming OCSMesh 2.0.0 \n"
14+
"********************************************************************************\n"
15+
"OCSMesh is going through significant architectural changes.\n"
16+
"The current architecture will be depracated soon, among the upcoming changes we highlight:\n"
17+
"1. Mesh Engines (Jigsaw and Triangle) will become OPTIONAL dependencies.\n"
18+
" After version 2.0.0 you will have to install them manually.\n"
19+
"2. A new default mesh engine will be adopted to replace Jigsaw.\n"
20+
"3. 'jigsaw_msh_t' will be replaced by a new custom Python class called 'MeshData'.\n"
21+
"4. Functions operating on msh_t objects will be updated to support MeshData.\n"
22+
"This v1.7.0 is the last release version before OCSMesh 2.0.0.\n"
23+
"********************************************************************************\n",
2324
FutureWarning,
2425
stacklevel=2
2526
)
26-
2727
try:
2828
import jigsawpy # noqa: F401
2929
except OSError as e:

0 commit comments

Comments
 (0)