Skip to content

Commit 330d7f5

Browse files
feat: remove pyvista hard dependency (#774)
Co-authored-by: pyansys-ci-bot <[email protected]>
1 parent dd4cfe7 commit 330d7f5

File tree

2 files changed

+22
-13
lines changed

2 files changed

+22
-13
lines changed

doc/changelog/774.fixed.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
feat: remove pyvista hard dependency

pyproject.toml

Lines changed: 21 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -25,22 +25,33 @@ classifiers = [
2525
"Programming Language :: Python :: 3.13",
2626
]
2727

28-
dependencies = ["ansys-dpf-core>=0.7.2",
29-
"ansys-api-dyna==0.4.2",
30-
"ansys-tools-path>=0.6.0",
31-
"pyvista>=0.43.4",
32-
"hollerith>=0.6.0",
33-
"numpy>=1",
34-
"pandas>=2.0",
35-
"appdirs>=1.4.4",
36-
"transformations==2025.1.1",
37-
"chardet==5.2.0",
28+
dependencies = [
29+
"ansys-dpf-core>=0.7.2",
30+
"ansys-api-dyna==0.4.2",
31+
"ansys-tools-path>=0.6.0",
32+
"hollerith>=0.6.0",
33+
"numpy>=1",
34+
"pandas>=2.0",
35+
"appdirs>=1.4.4",
36+
"transformations==2025.1.1",
37+
"chardet==5.2.0",
3838
]
3939

4040
[project.optional-dependencies]
41+
all = [
42+
"ansys-platform-instancemanagement~=1.0",
43+
"pyvista>=0.43.4",
44+
"Jinja2",
45+
]
46+
graphics = [
47+
"pyvista>=0.43.4",
48+
]
4149
pim = [
4250
"ansys-platform-instancemanagement~=1.0",
4351
]
52+
codegen = [
53+
"Jinja2"
54+
]
4455
tests = [
4556
"matplotlib==3.10.1",
4657
"numpy==2.2.3",
@@ -54,9 +65,6 @@ tests = [
5465
"ipython==8.32.0",
5566
"pyvista==0.44.2",
5667
]
57-
codegen = [
58-
"Jinja2"
59-
]
6068
doc = [
6169
"recommonmark==0.7.1",
6270
"matplotlib==3.10.1",

0 commit comments

Comments
 (0)